我通过管理控制台激活域管理员端口(在我的情况下是9042),不需要重新启动。 然后,我改变停止脚本:如何在使用域管理端口时停止Weblogic?
ADMIN_URL="t3s://localhost:9042"
我也改变setDomainEnv.sh:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.security.TrustKeyStore=DemoTrust"
但是当我运行stopWeblogic.sh我得到:
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://localhost:9042: Destination unreachable; nested exception is:
java.io.IOException: Stream closed.; No available router to destination]
Problem invoking WLST - Traceback (innermost last):
File "/home/pi/Programs/Oracle/Middleware/sand_box/domains/prod_basic/shutdown.py", line 3, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3s://localhost:9042
Use dumpStack() to view the full stacktrace
什么是正确的这样做的方式?
P.D.我也试图与其他的AdminServer端口7001和7002,但当然它说(因为它应该):
WLSTException: Error occured while performing connect : User 'principals=[weblogic, Administrators]' has administration role. All tasks by adminstrators must go through an Administration Port.
9042是你的“本地管理端口覆盖”? – 2013-05-06 19:13:44
是的,当从wlst提示符尝试时,会发生什么事情。 – 2013-05-07 02:32:27
我遇到过这种情况,当我的服务器出现其他问题时(它引发了大量其他错误),所以关闭它的连接超时。您也可以尝试使用IP而不是主机名。 – 2013-08-20 17:04:18