The Eclipse plugin cannot communicate with the GlassFish server, status is :CREDENTIAL_ERROR

user999280 picture user999280 · Oct 17, 2011 · Viewed 30.2k times · Source

I am able to start Glassfish through command line. However, when I try to start the server through Eclipse I encounter the following error:

The Eclipse plugin cannot communicate with the GlassFish server, status is :CREDENTIAL_ERROR

I have checked my login credentials (admin/adminadmin) and they are correct (I'm able to login into the admin console on port 4848 with the same user/pass). Here is my system info:

  • OS: OS X 10.6.7
  • Eclipse: Indigo Service Release 1
  • Glassfish V3.0.1
  • Glassfish Plugin: GlassFish Server Open Source Edition 3 (Java EE 6)
  • GlassFish user/pass: admin/adminadmin

Please let me know if there is a solution to the problem.

Answer

rovski picture rovski · Oct 28, 2011

Here is what worked for me - after some googling I saw a post saying the error message is misleading and it might be a port conflict. In my Eclipse I have a proxy server entry which uses port 8080 (same as GF). So I changed port to 9090 in domain.xml and GF started no problem. My system is Win7x64, Eclipse 3.7.1, GF 3.1.1