Assuming JBoss 3.2.x - in the Tomcat jboss-service.xml (jbossweb-tomcat41.sar/META-INF), add this entry (outside the TC 'Config'/ server.xml block):
Just be aware that it will likely cause strange behavior WRT JSP hot (re)deployment.
We have used your sugestion with JBoss 3.2.3 and it works fine.
But in JBoss 3.2.5 (with Tomcat 5) we get the following at start time:
15:34:06,534 INFO [ServiceConfigurator] Problem configuring service jboss.web:service=WebServer
org.jboss.deployment.DeploymentException: No Attribute found with name: DeleteWorkDirs
Any idea ?
I (selfishly) was thinking TC4. Sorry. Sure enough, it's not in the TC5 wrapper MBean. Seems it got left out, but it should be there.
I'd try posting a bug for it. If Remy & co don't think it should be there, they'll explain why.
How is one supposed to know this ;)
Anyway, is it a bug in TC5 or maybe they named the attrib to someting else?
Many thanx in any case