Python 如何使用WLST(而不是管理服务器)连接到特定的托管服务器

Python 如何使用WLST(而不是管理服务器)连接到特定的托管服务器,python,weblogic,wlst,Python,Weblogic,Wlst,当wlst python脚本需要为操作特定连接到托管服务器时,connect命令始终连接到管理服务器: /{INSTALL_PATH}/oracle_common/common/bin/wlst.sh {MY_PY_SCRIPT}.py connect(username,password,t3://{MY_MANAGEDSERVER_IP_ADRESS}:{T3PORT}) #or connect(username,password,t3://{MY_MANAGEDSERVER_LISTEN

当wlst python脚本需要为操作特定连接到托管服务器时,connect命令始终连接到管理服务器:

/{INSTALL_PATH}/oracle_common/common/bin/wlst.sh {MY_PY_SCRIPT}.py 

connect(username,password,t3://{MY_MANAGEDSERVER_IP_ADRESS}:{T3PORT})
#or connect(username,password,t3://{MY_MANAGEDSERVER_LISTEN_ADDRESS}:{T3PORT})

Connecting to t3://{MY_MANAGEDSERVER_IP_ADRESS}:51001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'Domain'.

如何强制connect wlst命令连接到托管服务器而不是管理服务器?

在connect语句中使用托管主机和端口,而不是管理主机和端口。它会很有魅力的

检查您的IP地址和端口是否确实指向托管服务器。端口出错,是管理端口,而不是托管端口!谢谢你