相关疑难解决方法(0)

Glassfish 3.1 Eclipse中的CREDENTIAL_ERROR

我无法使用Windows 7上的"Oracle Glassfish服务器工具"插件在Eclipse Indigo上启动Glassfish 3.1.安装插件后,我在服务器视图中选择了"新建" - >"服务器"并单击了GlassFish 3.1并下载了通过Eclipse安装.

每次我尝试启动它时,我都会收到以下消息:

The Eclipse plugin cannot communicate with the GlassFish server, 
status is :CREDENTIAL_ERROR
Run Code Online (Sandbox Code Playgroud)

我发现初始密码是'changeit',我在命令行上将其更改为我自己的密码:

bin/asadmin change-master-password  domain1
Enter the current master password>
Enter the new master password>
Enter the new master password again>
Command change-master-password executed successfully.
Run Code Online (Sandbox Code Playgroud)

我已经在Eclipse的GlasshFish 3.1配置屏幕中相应地在Application Server(管理员密码)部分对其进行了更改.

列出的端口(8080,4488)似乎与domain.xml配置兼容:

<network-listeners>
    <network-listener port="8080" protocol="http-listener-1" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>
    <network-listener port="8181" protocol="http-listener-2" transport="tcp" name="http-listener-2" thread-pool="http-thread-pool"></network-listener>
    <network-listener port="4848" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="admin-thread-pool"></network-listener>
</network-listeners>
Run Code Online (Sandbox Code Playgroud)

但是,在我的.log中,我发现以下内容:

!ENTRY oracle.eclipse.tools.glassfish 4 1 2011-08-04 11:38:43.925
!MESSAGE GlassFish: error 
!STACK …
Run Code Online (Sandbox Code Playgroud)

java eclipse glassfish-3

8
推荐指数
2
解决办法
2万
查看次数

标签 统计

eclipse ×1

glassfish-3 ×1

java ×1