• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Admin conosle is not coming after starting the sever using wlst

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,

wls:offline/>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

reply
    Bookmark Topic Watch Topic
  • New Topic