I have a JBoss server (version 4.3, running on linux) with 4 instances.
My application is deployed on my fourth instance (called jboss4).
During the initilisation of this application, I would like to be able to enable or disable the start of this applicaiton uppon a condition.
The java code would looks like this :
public void init(ServletConfig config) throws ServletException
//Shutdown the JBoss instance.
//Start the application.
I would like to know if it is possible to shutdown only the instance where the application is deployed, and how to do it whitin the java init method.
Retrieving data ...