Restarting a webapp via RMIAdapter: why doesn't it work for me?
Restarting a webapp via HTMLAdapter (jmx-console) works fine. Restarting a webapp via RMIAdapter, however, produces a lot of errors, mostly javax.management.InstanceAlreadyExistsException. Reading through the sources I could not find any serious differences between the way the HTMLAdapter invokes an operation on the MBean and the way RMIAdaptor does. The provided Ant task (jbossjmx-ant.jar) doesn't work either. Perhaps someone has a good hint or tip for me?
Tips 'n' Tricks: How to keep JSP compilation results with JBoss/Jetty
If you want to keep your JSP compilation results between server restarts you have to tell Jetty where to put the results. Otherwise Jetty will use a different directory on each restart. The simplest way is to add an init-parameter in webdefault.xml:
[code]
Nice article about Jakarta commons
There's a nice article about Jakarta commons over at ONJava.com.