无法从 eclipse 关闭 weblogic

发布于 2024-11-30 19:49:19 字数 3108 浏览 0 评论 0原文

我有 win7 x64 和 eclipse 3.5 oepe 和 weblogic 10。 当我尝试停止服务器时,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 进程。

有什么建议吗?

附注
这是一些额外的日志

<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.>

I have win7 x64 with eclipse 3.5 oepe and weblogic 10.
When I try to stop the server, eclipse seems to not understand that the server was stopped. I can see the message on Console:

"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 ..."

So, the server was stopped but eclipse did not understand this and the progress bar shows: "Shutting down server (%95)" and after 5 minutes it reaches timeout and can't stop.

After this the server start button became disabled.

The only solution is to close and restart the eclipse and kill all the java processes.

Any suggestion?

P.S.
Here are some additional logs

<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.>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

蛮可爱 2024-12-07 19:49:19

终止 java.exe 进程应强制关闭 Weblogic 服务器。

Killing java.exe process should force shutdown the Weblogic server.

偏闹i 2024-12-07 19:49:19

我有同样的问题。当我将 eclipse 文件夹移动到 C: 驱动器上的根目录时,它开始工作。当 eclipse 位于 C:\Program FilesC:\Apps\ide 时,它不起作用。

I had the very same issue. It started working when I moved the eclipse folder to root on C: drive. When eclipse was located in C:\Program Files or in C:\Apps\ide then it didn't work.

长途伴 2024-12-07 19:49:19

我遇到了同样的问题,解决方案是使用 java 命令启动 Eclipse(在我的例子中,Weblogic 作为 java.exe 运行,但 Eclipse 作为 javaw.exe 运行)。还要检查是否使用相同版本的 JDK 来运行 Weblogic 和 Eclipse。

I've had the same problem and solution was to start Eclipse with java command (in my case Weblogic was running as java.exe, but Eclipse as javaw.exe). Also check if the same version of JDK is used for running both Weblogic and Eclipse.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文