File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Admin conosle is not coming after starting the sever using wlst Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Admin conosle is not coming after starting the sever using wlst" Watch "Admin conosle is not coming after starting the sever using wlst" New topic
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 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

Joined: Aug 23, 2008
Posts: 247

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


Regards, Ricky
Oracle Weblogic 10g Certified Expert
TechPaste.Com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Admin conosle is not coming after starting the sever using wlst
 
Similar Threads
AD User Authentication in Webogic 8.1
Start of Admin server remotely
Trouble running a WLST snippet
It is likely that the remote side declared peer gone on this JVM Issue
Weblogic : Creating JDBC Datasources