Hi All,
I am using jboss3.0.3 and tomcat4.1.12.
In the tomcat41service.xml, if I add
reloadable="true" to the DefaultContext. Then if a class is newer than the original one in the server,
following errors occur:
14:27:11,479 INFO [Engine] StandardContext[/hot]: Reloading this Context has started
14:27:11,499 ERROR [STDERR] java.lang.NullPointerException
14:27:11,499 ERROR [STDERR] at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2469)
14:27:11,499 ERROR [STDERR] at org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(WebappLoader.java:1382)
14:27:11,499 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)
I tried it in Jboss3.2.0 and Tomcat 4.1.24, it does not work either, same errors will occur.
But if I test in tomcat only, it works, the new class will be reloaded.
Can anyone help me?
Thanks.
Kammau
Hi,
I touch (modify) normally web.xml (or application.xml if web applications are located under ear directory). This forces jboss to redeploy
Valerij