File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Shutdown JBoss! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Shutdown JBoss!" Watch "Shutdown JBoss!" New topic
Author

Shutdown JBoss!

Brian Smith
Ranch Hand

Joined: Oct 26, 2002
Posts: 232
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

Joined: Oct 18, 2000
Posts: 4120

A few questions:
  • What platform are you running on?
  • What errors (if any) does shutdown.bat report?


  • -Nate
    Write once, run anywhere, because there's nowhere to hide! - /. A.C.
    Brian Smith
    Ranch Hand

    Joined: Oct 26, 2002
    Posts: 232
    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

    Joined: Jul 21, 2003
    Posts: 364
    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)


    [<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
    Martijn Dashorst
    Greenhorn

    Joined: Jun 25, 2004
    Posts: 1
    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.
     
    IntelliJ Java IDE
     
    subject: Shutdown JBoss!
     
    Threads others viewed
    start and shutdown of remote JBoss
    Eclipse console input?
    jboss-5.0.1.GA shutting down automatically by itself
    Delete Logfiles generated using log4j when jboss is running
    Jboss shutdown with CTRL-C
    developer file tools