Unable to start WLS using startServer on remote server
I have 2 server (server-1 and server-2) sharing the common storage /home/releases
My script looks like this
WL_URL = 't3://<server>:<port>'
try:
startServer(username='myusername', password='mypasswd', domainDir='/home/weblogic/mydomain', url=WL_URL)
connect('myusername', 'mypasswd', WL_URL)
shutdown()
exit(exitcode=0)
except WLSTException, e:
print e
exit(exitcode=1)
I am on server-1, running this script
java weblogic.WLST myscript.py
If my WL_URL is t3://localhost:7010, everything work fine
If my WL_URL is t3://server-2:7010, it fails
However, if I ssh into server-2, cd /home/weblogic/mydomain, and call ./startWeblogicServer.sh --> WL starts up ok