我使用eclipse 3.5 oepe和weblogic 10获得了win7 x64。 当我试图停止服务器时,eclipse似乎不明白服务器已停止。我可以在控制台上看到该消息:
"C:/bea/jrockit_160_05/bin/java -classpath C:/bea/wlserver_10.3/server/lib/weblogic.jar weblogic.Admin -url t3://localhost:80 -username admin -password admin FORCESHUTDOWN AdminServer
Server "AdminServer" was force shutdown successfully ..."
所以,服务器已停止,但eclipse不明白这一点,进度条显示:“关闭服务器(%95)”并在5分钟后达到超时并且无法停止。
此后,服务器启动按钮被禁用。
唯一的解决方案是关闭并重新启动eclipse并终止所有java进程。
有什么建议吗?
P.S。
这是一些额外的日志
<22:29:22 IDT 21/08/2011> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by admin>
<22:29:22 IDT 21/08/2011> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING>
<22:29:22 IDT 21/08/2011> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<22:29:22 IDT 21/08/2011> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "DefaultSecure[5]" listening on 0:0:0:0:0:0:0:1:443 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "DefaultSecure[3]" listening on fe80:0:0:0:8498:267d:c80c:802:443 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "Default[3]" listening on fe80:0:0:0:8498:267d:c80c:802:80 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "Default[1]" listening on fe80:0:0:0:0:5efe:c0a8:49:80 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "Default[5]" listening on 0:0:0:0:0:0:0:1:80 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "DefaultSecure" listening on 192.168.0.73:443 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 192.168.0.73:80 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "DefaultSecure[1]" listening on fe80:0:0:0:0:5efe:c0a8:49:443 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "DefaultSecure[2]" listening on fe80:0:0:0:810d:e511:28d2:27cc:443 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "Default[2]" listening on fe80:0:0:0:810d:e511:28d2:27cc:80 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "Default[4]" listening on 127.0.0.1:80 was shutdown.>
<22:29:22 IDT 21/08/2011> <Notice> <Server> <BEA-002607> <Channel "DefaultSecure[4]" listening on 127.0.0.1:443 was shutdown.>
答案 0 :(得分:0)
我遇到了同样的问题。当我将eclipse
文件夹移动到C:
驱动器上的root时,它开始工作。当eclipse位于C:\Program Files
或C:\Apps\ide
时,它就无效了。
答案 1 :(得分:0)
杀死 java.exe 进程应强制关闭Weblogic服务器。
答案 2 :(得分:-1)
我遇到了同样的问题,解决方法是使用java命令启动Eclipse(在我的例子中,Weblogic作为java.exe运行,但Eclipse作为javaw.exe运行)。还要检查是否使用相同版本的JDK来运行Weblogic和Eclipse。