Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 33240 invoked from network); 6 Mar 2002 13:53:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Mar 2002 13:53:15 -0000 Received: (qmail 16659 invoked by uid 97); 6 Mar 2002 13:52:44 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 16640 invoked by uid 97); 6 Mar 2002 13:52:43 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 16626 invoked by uid 50); 6 Mar 2002 13:52:43 -0000 Date: 6 Mar 2002 13:52:43 -0000 Message-ID: <20020306135243.16624.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 6907] - jsp compiler not synchronized X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=6907 jsp compiler not synchronized ------- Additional Comments From dylans@xs4all.nl 2002-03-06 13:52 ------- I tried to work around this problem by synchronizing access to the java compiler, however this only reduces the problem. since the java sourcecode is generated again and again until it compiles. So 1 thread is busy compiling while another is trying to overwrite the source code. Scenario: 2 clients access the same page at approximately the same time Thread 1: Generate Java code ( class not found ) Thread 2: Generate Java code ( class not found ) Thread 1: write classfile to disk Thread 2: write classfile to dist ( fails because file is in use ) Thread 1: Generate Java code ( source is newer because of Thread 2 ) Thread 1: Compile Java code ( again! ) -- To unsubscribe, e-mail: For additional commands, e-mail: