This has always worked for me. Which pid are you trying to kill? Under 
linux, you have to be careful about the ps output - each thread shows up 
as a separate process - I do a 'ps axf', look for the 'java' process 
that is the parent for all the other java processes and kill that. Of 
course, ^C in the terminal you run JBoss from should always work (unless 
the JBoss process is in the background, of course)

hth,
danch

Jonathan Cowherd wrote:
> It seems after an application gets deployed under Jboss, neither ^C or kill
> <pid> will kill Jboss 2.4.4 on linux with Sun's JDK-1.3, or start the
> undeploy processes.
> 
> There must be a better way (or cleaner way) to shutdown jboss.  Currently I
> try to just do kill <pid> but I usually must kill -9 <pid>.
> 
> The log file shows that the shutdown hooks are added, so I think Jboss is
> starting and setting up correctly. 
> 
> Any help would be appreciated.
> 
> Jonathan Paul Cowherd
> Linux and Java Administrator
> Genscape, Inc.
> Email:  [EMAIL PROTECTED]
> Office: (502) 583-3730
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> PC Mods, Computing goodies, cases & more
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



-- 

=========================================================================
Disclaimer:
All statements are my own, personal opinions and have nothing to do
with the opinions of employer, wife, or cat. They may not have anything
to do with objective reality, as a matter of fact. Your Mileage May
Vary, Excludes Delivery Charges, etc.
=========================================================================



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to