Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Admin conosle is not coming after starting the sever using wlst

 
sri bal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running the following command from .sh file which will invoke .py file

java weblogic.WLST /opt/test/py/WLS_SetDataSources.py /opt/test_Home test_domain test_server jdbcracle:thin:@localhost:1521:TEST null test_user ... $ADMINHOST $ADMINUSER $ADMINPASS $ASPORT

the .py file will create data sources in weblogic server and stop and start the server using wlst as follows

connect(ADMIN_SERVER_USERNAME, ADMIN_SERVER_PASSWORD, ADMIN_SERVER_URL)
shutdown(block="true")
startServer(ADMIN_SERVER_NAME, DOMAIN_NAME, ADMIN_SERVER_URL, ADMIN_SERVER_USERNAME, ADMIN_SERVER_PASSWORD, DOMAIN_HOME)

BUT after starting the server like this, I am not able to access admin console. Does it mean wlst is not staring the server properly but in console it is showing server started successfully....

NOTE: The same server if I run using startWeblogic.sh (without wlst) then everything is fine.

Please suggest.
thanks in advance.



 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the WLST startServer command to start the Administration Server.

startServer([adminServerName], [domainName], , [username], [password],[domainDir], [block], [timeout], [serverLog], [systemProperties], [jvmArgs] [spaceAsJvmArgsDelimiter])

For example,

wlsffline/>startServer('AdminServer','mydomain','t3://localhost:7001','weblogic','weblogic','c:/bea/user_projects/domains/mydomain','true','60000','false')

For detailed information about startServer command arguments, see [url=http://docs.oracle.com/cd/E12840_01/wls/docs103/config_scripting/reference.html#wp1060229]startServer

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic