I am running Jboss 4.2.3.GA instance on port 18080 and Jboss 4.0.2 instance on port 8080 on same linux box. They both work fine for now.
But whenever I try to shut down Jboss 4.2.3.GA it always shuts Jboss 4.0.2 instance and can see on console that its running 4.0.2 tomcat undeployer. I have to explicitly kill process for 4.2.3.GA instance
following command were used to start and stopm server from respective JBoss folders
to start -------- ./run.sh &
to stop -------- ./shutdown.sh -S
you can shutdown the jboss 4.2.3 instance by specifying the port:
shutdown.sh -s ip:port
where port is the jndi port which can be determined by the jboss:service=Naming object in the jmx-console of the jboss 4.2.3 instance