You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/01/10 20:37:21 UTC

DO NOT REPLY [Bug 5792] New: - synchronization issue when compiling JSPs with Tomcat 4.0

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5792>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5792

synchronization issue when compiling JSPs with Tomcat 4.0

           Summary: synchronization issue when compiling JSPs with Tomcat
                    4.0
           Product: Tomcat 4
           Version: 4.0 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Webapps
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jpickard@usaninc.com


Hi. I'm currently working on a webapp running on Apache-Tomcat 4.0. The issue 
I've been having is that when two users simultaneously hit an uncompiled JSP, 
the JSP compiler fails. Sometimes this results in one person being forwarded to 
the error page showing an error message saying that the JSP could not be 
compiled and the other person getting through, other times a more serious error 
occurs that causes the whole JVM to crash. It appears to me that this is a race 
condition. Is there any synchronization between the two requests running in 
Tomcat? Has anyone else encountered this error or anything like it?
The only solution I can find for now is to precompile all my JSPs before 
deploying the webapp, but if someone could shed any light on my situation it 
would be much appreciated.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>