I had the same issues and it looks like we are using similar technologies. Struts1.2.7, Hibernate 3.0.5, Spring 1.2.3

The struts issue (I think) is caused by validator access the validator.dtd resource and no releasing it. Under WEB-INF/classes/org/apache/commons/validator/resources I added both validator_1_1_3.dtd and validator-rules_1_0.dtd. Fpr struts, I moved (added) struts-config_1_2.dtd, tiles-config_1_1.dtd, and web-app_2_3.dtd to WEB-INF/classes/org/apache/struts/resources. For ehcache.jar, I ended up moving it to the CATALINE_HOME/common/lib directory. After that, everything seems to be working okay. I only just moved the ehcache out of WEB-INF/lib yesterday so I'm still testing those waters, but for now, it appears to have solved the problem.

I posted a question concerning the same issue earlier on this list but it was never answered (see "ehacache prevents web app reload"). I checked the Hibernate forum and found some postings but none that seemed to resolved this issue.

Please let me know if you figure a way to leave ehcache under WEB-INF/lib. It really rubs me the wrong way to have to treat it special during deployment.

HTH

/robert




Allistair Crossley wrote:
Hi,
I've noticed that undeploy of my web applications that the ROOT folder is left behind as follows; ROOT
  WEB-INF
    classes
      log4j.properties
    lib
      ehcache.jar
      struts.jar
The web application has a ContextListener that calls LogManager shutdowns and Introspector.flushCaches and so fourth to attempt to release resources. Is this part of that kind of problem? Regards, Allistair.

<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> -------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to