RSS Feed
15
October
2003

Restarting a webapp via RMIAdapter: why doesn't it work for me?

Posted by woeye | Comments: 0

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?

15
October
2003

Tips 'n' Tricks: How to keep JSP compilation results with JBoss/Jetty

Posted by woeye | Comments: 2

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] jsp org.apache.jasper.servlet.JspServlet scratchdir /tmp/jetty 0 [/code]

15
October
2003

Nice article about Jakarta commons

Posted by woeye | Comments: 0

There's a nice article about Jakarta commons over at ONJava.com.

« 1 2 3 ...  28 29 30