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

Shutdown JBoss!

 
Brian Smith
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
how do i shutdown the running JBoss?
I tried running shutdown.bat but nothing seems to be happening. can you please help me with it?
thanks.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A few questions:
  • What platform are you running on?
  • What errors (if any) does shutdown.bat report?

  •  
    Brian Smith
    Ranch Hand
    Posts: 232
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    i have installed it on Win2k platform. when i execute shutdown.bat, nothing happens.
    could you please figure it out what happened?
    thanks.
     
    norman richards
    Author
    Ranch Hand
    Posts: 367
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Are you using 3.0.6? I recall the windows guys in the office having problems with shutdown in 3.0.6. (or maybe I'm thinking of 3.0.4) Off the top of my head, I think you need to specify a username and password.
    shutdown -u user -p pass
    Don't worry about what username/password to use.

    Some other ways to shutdown:
    * go to the jmx-console and go to the "type=Server" mbean and invoke the exit()
    method
    * hit ctrl-c in the window you started JBoss in (if you started from the command line)
     
    Martijn Dashorst
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by Namaste Sathi:
    hi folks,
    how do i shutdown the running JBoss?
    I tried running shutdown.bat but nothing seems to be happening. can you please help me with it?
    thanks.


    I had the same problem. The shutdown -S script just hangs on Windows.

    Press ESC in the run.bat window where you have jboss started. Probably you have a selection active in that window.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic