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
- Shut down MS SQL Reporting Server(2008)
- Disable Firewall
- Turn off Anti-virus
- Netstat -noa | findstr 0.0.8080 to find process and kill it
- 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.
精彩评论