tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashima Sharma <ashpr...@gmail.com>
Subject Re: Intermittent "ServletException - Unable to compile class for JSP" for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27
Date Thu, 12 Apr 2012 14:44:28 GMT
Konstantin, responding to your questions:

[What is the type and value of  _jspx_dependants field? ]

*private static java.util.Map<java.lang.String,java.lang.Long>
_jspx_dependants;
It does match the method return type!*

[Can you cite with what parameters "JspServlet" in your web.xml is
configured, exactly?]

    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>development</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>genStringAsCharArray</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>trimSpaces</param-name>
            <param-value>true</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

- I believe we have tried the suppressSmap=true setting in our uat
environment, and still seen the 1st exception occur (related to
getDependants).
But I'll retry that and let you know the outcome.

- We have excluded the tomcat folder from anti-virus scans.

- As far as I can tell we don't have any strange jars in this web-app,
definitely no copy of jasper.

- Your question regarding the windows registry settings, let me know what
specific settings do I need to verify and I will do that.

thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message