| Author |
Admin conosle is not coming after starting the sever using wlst
|
sri bal
Greenhorn
Joined: Nov 05, 2010
Posts: 3
|
|
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 jdbc racle: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
Joined: Aug 23, 2008
Posts: 235
|
|
Use the WLST startServer command to start the Administration Server.
startServer([adminServerName], [domainName], , [username], [password],[domainDir], [block], [timeout], [serverLog], [systemProperties], [jvmArgs] [spaceAsJvmArgsDelimiter])
For example,
wls ffline/>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
|
Regards, Ricky
Oracle Weblogic 10g Certified Expert
TechBlog
|
 |
 |
|
|
subject: Admin conosle is not coming after starting the sever using wlst
|
|
|