-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
stop.jar will do it for you as well. David Green On Wed, 21 Nov 2001, Adam Heath wrote: > On Tue, 20 Nov 2001, Juergen Fiedler wrote: > > > OK, this one _must_ be more trivial than it seems to me. I am starting > > JBoss (under Linux) by calling 'run.sh &' in the bin/ directory of > > JBoss. After that, I have about 50 threads that seem to be doing the > > same thing: run org.jboss.Main. > > Everything works quite fine. The only problem is: I don't know how to > > shut the server down. Right now, I just do a 'killall java'. This only > > works because JBoss is the only piece of Java based software on my > > machine. > > But there has to be a more elegant way to stop JBoss. Could anybody > > please help me to figure out how to do it the right way? > > > > Thanks in advance, > > Juergen > > cd bin > ./run.sh 1>stdout.log 2>stderr.log & > echo $! > pid > # do something here > kill `cat pid` > > The above is fairly standard shell programming. > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7++EXCi6CzkbyeRQRAiW6AJ9M0/LlG6SX8Oh0R07YySBlgofaXgCeMfaw jPtm+jTKROOL4YoRnF2RqaQ= =1tvL -----END PGP SIGNATURE----- _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user