开发者

Weird problem - Glassfish 3.1.1 Server and Eclipse Indigo

I have installed Glassfish 3.1.1. Open Source Ed. Server for my development purpose and Eclipse Indigo as my IDE. The add-on(s) i have installed in eclipse are Glassfish Server Tools and Spring 3 Tools from elipse market place. Now the problem i am facing is like when i try to start the glassfish from elipse i got credential error. But if i test the server from browser like http://local开发者_运维百科host:8080/ it works fine. But funny thing is that when i unplug my pc from internet and try to start the GF server from eclipse it works fine!!! i could not figure out what's happening.

My OS is Windows 7 Enterprise Ed and JDK is 1.7.0

Things i tried to solve the problem

  1. Shut down MS SQL Reporting Server(2008)
  2. Disable Firewall
  3. Turn off Anti-virus
  4. Netstat -noa | findstr 0.0.8080 to find process and kill it
  5. Stop IIS sever


Finally I have solved the problem. It was due to the proxy setting. I added "127.0.0.1 localhost"(without quote) in /etc/hosts file and connected my pc to internet, then tried to start the GF server from eclipse . BANG ... it worked !!! (although i did it from my home, i will update this post after testing from my office network).

BTW: @vineet, i tried that too but didn't work. i forgot to mention in the first place. thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜