[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error in shutdown using jboss_init_redhat.sh
do-not-reply at jboss.com
Fri Jul 18 11:51:54 EDT 2008
OK, so you want to shut down a local app server not a remote app server. "local" and "remote" does not refer to your physical location, but rather where the command line is being executed. Since you connected to the server using putty, any commands entered in are local. In that case you can use either the command you posted or the command I posted (use localhost for hostname) to shut down the app server.
This assumes that the app server is using port 1099 for JNDI.
Or are you still trying to shut down the hung app server that got an out-of-memory error? As Dimitri pointed out, if the app server ran out of memory, you will not be able to shut down the app server this way. You will have to kill it. To kill it, you will first have to find its process id:
ps -ef | grep java
Scan through the results of that command, looking for a java process that uses org.jboss.Main as its class. Use the kill command to end it:
kill -9 xxx
where xxx is the process id of the java process.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165379#4165379
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165379
More information about the jboss-user