By msreddy on Dec 05, 2007
GlassFish V2/Sun Java System Application Server 9.x provides the default JSR77 implementation. Based on this, after deploying an application it is possible to start/stop the application using its runtime management mBean. However if the application is deployed in disabled state then no mBean is created for its runtime management.
A version of application server is being developed for Sailfin based on the GlassFish V2 source. Sailfin applications are deployed using extended archive version of 'SAR' and the implementation requires that even if the application is disabled, its runtime management mBean need to be available to perform start/stop operations. Accordingly the code has been added to provide this feature. Now it is possible to manage Sailfin application like a standard Java EE application, more importantly, start/stop the applications even if they are disabled. The start/stop operations can be performed using any standard jmx console, for ex. jconsole which comes with jdk 6.0 or any JMX compatible Console. One can use the connection parameters from the Application Server log. The jmx connector URL is printed in the server.log when the Application Server is started.