Can I just add some more information: I have managed to reduce the number of max active sessions to zero using twiddle. Here is the syntax:
C:\jboss-4.0.3\bin>twiddle set "jboss.web:host=localhost,path=/tsp,type=Manager" maxActiveSessions=0 (in this example my webapp is call tsp). Although this prevents additional HTTP sessions being created it does not stop any existing session. I have also tried invoking the stop with twiddle: C:\jboss-4.0.3\bin>twiddle invoke "jboss.web:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/tsp" stop This works fine and stops the webapp called tsp. I then iinvoke the init method which does not error. But when I invoke the start method using: C:\jboss-4.0.3\bin>twiddle invoke "jboss.web:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/tsp" start I get the following null pointer exception: ERROR BaseModelMBean invoke - Exception invoking method start java.lang.NullPointerException I would hope that someone has solved this problem and has an example I could use or could point me in the right direction. I am sure it is just my lack of mbean knowledge and the Jboss Microkernel. Apologies View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901962#3901962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901962 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
