I am running an application on JBoss 5.1. I want to run the server separate from the application, so if I shut down the application, the server is not impacted by it. How do I do this?
Thanks!
My environment: Windows 7, Java 1.6, JBoss 1.5, Eclipse Helios.
Hi Greg. Thanks for your answer. So, it would also be safe to assume, stopping the application should have no impact to the server, correct? If my application is in the /default/deploy directory, does it make sense for my server to reside in the default directory too? I'm not too familiar with the in/outs of JBoss, so I appreciate your feedback.
It's been a while since I used JBoss 5, but I believe the /server/default/deploy directory is where JBoss looks for wars or ears to hot deploy. So if you put the wars there, they will deploy automatically (even if JBoss is already running) and if you remove the wars, they will undeploy. If you put them anywhere else, you have to issues commands to JBoss to deploy or undeploy them. The hot deploy feature is configurable, but I think the default configuration has hot deploy turned on, and scanning for changes in the /server/default/deploy directory every 10 seconds or so for any changes.