Eclipse插件无法与GlassFish服务器通信,状态为:CREDENTIAL_ERROR [英] The Eclipse plugin cannot communicate with the GlassFish server, status is :CREDENTIAL_ERROR
问题描述
我能够通过命令行启动Glassfish.但是,当我尝试通过Eclipse启动服务器时,遇到以下错误:
I am able to start Glassfish through command line. However, when I try to start the server through Eclipse I encounter the following error:
Eclipse插件无法与GlassFish服务器通信,状态为:CREDENTIAL_ERROR
The Eclipse plugin cannot communicate with the GlassFish server, status is :CREDENTIAL_ERROR
我已经检查了我的登录凭据(admin
/adminadmin
),并且它们是正确的(我能够使用相同的用户/密码登录到端口4848上的管理控制台).这是我的系统信息:
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 X 10.6.7
- Eclipse:Indigo Service Release 1
- 玻璃鱼V3.0.1
- Glassfish插件:GlassFish Server开源版本3(Java EE 6)
- GlassFish用户/密码:admin/adminadmin
请让我知道是否有解决问题的方法.
Please let me know if there is a solution to the problem.
推荐答案
这是对我有用的-经过一番谷歌搜索后,我看到一则帖子,指出错误消息具有误导性,并且可能是端口冲突.在我的Eclipse中,我有一个使用8080端口(与GF相同)的代理服务器条目.所以我在domain.xml中将端口更改为9090,而GF开始没有问题.我的系统是Win7x64,Eclipse 3.7.1,GF 3.1.1
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
这篇关于Eclipse插件无法与GlassFish服务器通信,状态为:CREDENTIAL_ERROR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!