Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Weblogic WLSTException:执行连接时出错:获取初始上下文时出错。没有正在运行的服务器_Weblogic - Fatal编程技术网

Weblogic WLSTException:执行连接时出错:获取初始上下文时出错。没有正在运行的服务器

Weblogic WLSTException:执行连接时出错:获取初始上下文时出错。没有正在运行的服务器,weblogic,Weblogic,Hii连接到weblogic服务器时遇到问题。我用来连接到它的命令如下: java -Dweblogic.security.SSL.ignoreHostnameVerification=true - Djava.security.egd=file:/dev/./urandom -DUseSunHttpHandler=true - Djava.net.preferIPv4Stack=true -Djava.awt.headless=true - Dsun.jnu.encoding=ISO-8859

Hii连接到weblogic服务器时遇到问题。我用来连接到它的命令如下:

java -Dweblogic.security.SSL.ignoreHostnameVerification=true -
Djava.security.egd=file:/dev/./urandom -DUseSunHttpHandler=true -
Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -
Dsun.jnu.encoding=ISO-8859-1 -Dfile.encoding=ISO-8859-1 weblogic.WLST 
<path>/weblogic_configuration_domain_update.py <path>/weblogic-
domain.properties
java-Dweblogic.security.SSL.ignoreHostnameVerification=true-
Djava.security.egd=file:/dev//uradom-duseUnttphandler=true-
Djava.net.preferIPv4Stack=true-Djava.awt.headless=true-
Dsun.jnu.encoding=ISO-8859-1-Dfile.encoding=ISO-8859-1 weblogic.WLST
/weblogic\u配置\u域\u更新.py/weblogic-
域属性
它给出了以下错误:

javax.naming.CommunicationException [Root exception is 
java.net.ConnectException: t3://<IP>:<port>: Destination 
unreachable; nested exception is: java.net.ConnectException: Connection 
refused; No available router to destination]
Problem invoking WLST - Traceback (innermost last):
File "/<path>/weblogic_configuration_domain_update.py", line 134, 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 t3://<IP>:<port>
javax.naming.CommunicationException[根异常为
java.net.ConnectException:t3://::Destination
无法访问;嵌套异常为:java.net.ConnectException:Connection
拒绝;没有到目标的可用路由器]
调用WLST-回溯(最里面的最后一个)时出现问题:
文件“//weblogic\u configuration\u domain\u update.py”,第134行,在?
文件“”,第22行,在connect中
raiseWLSTException中的文件“”,第648行
WLSTException:执行连接时出错:获取
初始上下文。t3://:上没有运行的服务器:

请让我知道有没有办法解决这个问题。提前感谢。

您必须在脚本中插入正确的值:weblogic\u configuration\u domain\u update.py

例如:connect(t3://theListingAddressofHost.network.com:TheListingPortofAdminServer)

确保您使用的是t3或t3s协议


打开终端并添加下面提到的变量
JVM\u ARGS

[oracle@node1bin]$set JVM_ARGS=“-Dprod.props.file='${WL_HOME}/.product.properties${WLST_properties}${JVM_D64}${UTILS_MEM_ARGS}${COMMON_JVM_ARGS}${CONFIG_JVM JVM_ARGS}-Dweblogic.security.TrustKeyStore=demorust”
[oracle@node1bin]$wlst.sh
正在初始化WebLogic脚本工具(WLST)。。。
欢迎使用WebLogic服务器管理脚本Shell
键入help()以获取有关可用命令的帮助
wls:/offline>

您能分享您的phyton代码吗?错误表示weblogic托管实例未运行。您确定管理控制台已启动并正在运行吗?@Suneha您能解决此问题吗?我也犯了同样的错误,现在还没有运气。