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:
Please let me know if there is a solution to the problem.
Installing Glassfish toolsOpen Eclipse Marketplace from Help-> Eclipse Marketplace menu. Type Glassfish in the search box to filter Glassfish plugins. In the search result, find Glassfish tools , click the Install button to install it. After it is installed, restart Eclipse IDE to apply the plugin.
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
In the "Servers" view, right-click on the glassfish server and choose "Open"
Within the section "Application Server", ensure that "Use Anonymous Connection for Administrator Commands" is NOT checked off.
Application Server
You can edit some runtime properties fro the Application Server(GlassFish or Sun)
Domain Directory
Admin Name
Admin Password
Admin Server Port Number
^
If checked, eclipse plugin does not use your login credentials (admin/adminadmin) .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With