简体   繁体   English

无法从eclipse关闭weblogic

[英]can't shutdown weblogic from eclipse

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. 我有带有eclipse 3.5 oepe和weblogic 10的win7 x64。当我尝试停止服务器时,eclipse似乎不明白该服务器已停止。 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. 因此,服务器已停止,但是eclipse无法理解,进度条显示:“正在关闭服务器(%95)”,并且5分钟后,它达到超时并且无法停止。

After this the server start button became disabled. 此后,服务器启动按钮被禁用。

The only solution is to close and restart the eclipse and kill all the java processes. 唯一的解决方案是关闭并重新启动Eclipse,并杀死所有Java进程。

Any suggestion? 有什么建议吗?

PS 聚苯乙烯
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.>

杀死java.exe进程应强制关闭Weblogic服务器。

I had the very same issue. 我有同样的问题。 It started working when I moved the eclipse folder to root on C: drive. 当我将eclipse文件夹移到C:驱动器的根目录时,它开始工作。 When eclipse was located in C:\\Program Files or in C:\\Apps\\ide then it didn't work. 当eclipse位于C:\\Program FilesC:\\Apps\\ide它不起作用。

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). 我遇到了同样的问题,解决方案是使用java命令启动Eclipse(在我的情况下,Weblogic以java.exe的身份运行,但Eclipse以javaw.exe的身份运行)。 Also check if the same version of JDK is used for running both Weblogic and Eclipse. 还要检查是否使用相同版本的JDK来同时运行Weblogic和Eclipse。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Eclipse WebLogic插件问题-无法启动WebLogic服务器 - Eclipse WebLogic Plugin problem - can't start WebLogic server 无法将 weblogic 12.2.1.4 服务器添加到 eclipse - Can't add weblogic 12.2.1.4 server to eclipse Eclipse无法关闭BEA WebLogic服务器 - Eclipse cannot shutdown BEA WebLogic server 安装了两个Weblogic实例的Eclipse无法登录到另一个 - Eclipse, installed two Weblogic instances, can't login to another 无法使用eclipse和weblogic 8.1进行调试(weblogic 10正常运行) - Can't debug using eclipse and weblogic 8.1 ( weblogic 10 works fine) 我无法在Eclipse中启动Weblogic服务器-服务器观察程序报告了未知状态 - I can't start the weblogic server in Eclipse - The server watcher reported an unknown state 从Eclipse部署到Weblogic 10.3.6-“没有可以从服务器添加或删除的资源。” - Deploying to Weblogic 10.3.6 from Eclipse — “There are no resources that can be added or removed from the server.” 从Eclipse部署WebLogic应用程序时的NoClassDefFoundError - NoClassDefFoundError when deploying WebLogic application from Eclipse 无法从Eclipse启动Weblogic Server - Cannot start Weblogic Server from Eclipse .war文件在12.1.3之后无法在带有WebLogic 10.3.6的Eclipse上运行-无法基于错误日志确定 - .war file not working on Eclipse w/ WebLogic 10.3.6 after working on 12.1.3 - can't figure out based on error log
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM