• 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

startup and shutdown WebLogic

 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm just getting into WebLogic, downloaded WLS 7.0.
The startup scripts seem nice enough, but there's no shutdown script.
Does everybody use the admin console, which seems to require browsing thro' about 6 links before you get to the control page.
Or do people roll their own scripts?
I'm used to stopping the appserver, running a compile + deploy with ant and then starting it again, from the command line. Would be nice to be able to do the same with WLS.
Adam
 
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Put this command in a script file and execute it to shutdown the server
java weblogic.Admin [-url URL] -username username -password password SHUTDOWN [targetserver]
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, thanks - I played around with it for a while and found that:
- you also need to specify the class path
- it won't use the boot.properties boot identity file that the startup command uses
- it won't even prompt you if you leave out the user & password
I had to put my password in there in clear text to make it work. That's fine for development purposes but seems to be a bit of an oversight by BEA.
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
just ignore my ignorance...
what happens if i just close the weblogic dos window which shows the server running etc.
does it shutdown the server too?
thanx
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try it! I don't know but if you do that to tomcat, tomcat dies.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by faiza athar:
just ignore my ignorance...
what happens if i just close the weblogic dos window which shows the server running etc.
does it shutdown the server too?
thanx


Yes.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic