JBOSS - starting and stopping individual application on linux
Hi,
I was going through some documents on web for starting and stopping JBOSS application on linux. I am deploying a war file on JBOSS server in the path $JBOSS_HOME/jboss-as-web/server/$PROFILE/deploy I am using the following command for starting and stopping the server ./run.sh and ./shutdown.sh –S but this will start and stop the whole server. How to stop/start individual application using JBOSS on linux?? |
it is quite easy to do with jboss-cli.sh; also it is even more easy to write a wrapper shell script if needed
|
I will be starting and stopping server or individual for different IP (Machine). So I cant write a wrapper for each machine, this stop/start activity is performed from Admin server by logging into the JBOSS server.
JBOSS server may not be same everytime. I need a generic command for starting and stopping individual application in linux. |
to start the application JBOSS uses a lot of information from its own config, how do you expect a «generic linux way» to work with it?
|
Yes generic linux way, I will be starting and stopping individual applications in different Machine where JBOSS is running.
|
starting/stopping JBOSS applications with jboss-cli.sh is the best choice; «kill» is enough to stop them though
|
All times are GMT -5. The time now is 05:06 PM. |