[ http://jira.jboss.com/jira/browse/JBAS-516?page=history ] Scott M Stark closed JBAS-516: ------------------------------
Resolution: Out of Date > 3.2.0 tomcat scratchdir no longer exists > ---------------------------------------- > > Key: JBAS-516 > URL: http://jira.jboss.com/jira/browse/JBAS-516 > Project: JBoss Application Server > Type: Bug > Components: Web (Tomcat) service > Reporter: SourceForge User > Assignee: Scott M Stark > > > SourceForge Submitter: dcowan . > Setting the attribute DeleteWorkDirs in jboss- > service.xml in the jbossweb-tomcat.sar\META-INF > directory no longer works in jboss 3.2.0. > <attribute name="DeleteWorkDirs">false</attribute> > This causes compiled jsp's to be lost on every jboss > restart or webapp redeploy. A workaround is to set the > scratchdir property in jbossweb-tomcat.sar\web.xml like > this > <servlet> > <servlet-name>jsp</servlet-name> > <servlet- > class>org.apache.jasper.servlet.JspServlet</servlet- > class> > <init-param> > <param-name>logVerbosityLevel</param-name> > <param-value>WARNING</param-value> > </init-param> > <init-param> > <param- > name>scratchdir</param-name> > <param- > value>tmpJSP</param-value> > </init-param> > <load-on-startup>3</load-on-startup> > </servlet> > but this causes all webapps to use the same scratchdir > so name conflicts will occur. This worked fine in 3.0.x > by just enabling the DeleteWorkDirs attribute. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development