Oracle Weblogic Server (MOSC)

MOSC Banner

Unable to start WLS using startServer on remote server

edited Apr 21, 2020 1:48AM in Oracle Weblogic Server (MOSC) 7 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center