RE: JSP Compilation Issues (Multiple Domains)

2002-10-01 Thread John Trollinger

Can we get the sync changes in the 4.1.x releases as we also have
problems with this and currently maintain our own jasper code base with
the sync code in it.

 -Original Message-
 From: Kin-Man Chung [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, September 30, 2002 9:47 PM
 To: [EMAIL PROTECTED]
 Subject: Re: JSP Compilation Issues (Multiple Domains)
 
 
 If you are using JDK javac for compiling the servlet 
 generated by the JSP compiler, then you probably ran into the 
 problem that the javac not being thread-safe.
 
 In Tomcat 5 the javac compilation is synchronized, so that 
 the compilation is serialized.  Guess that fix is not ported 
 to 4.1.5.  :-(
 
 I always assume that JSP pages would be deployed precompiled, 
 and simultaneous compilation under development mode is rare.  
 Maybe my assumption is wrong?
 
 
  Date: Mon, 30 Sep 2002 18:30:48 -0700
  From: Joseph Kiok [EMAIL PROTECTED]
  Subject: JSP Compilation Issues (Multiple Domains)
  To: [EMAIL PROTECTED]
  X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
  X-Priority: 3
  X-MSMail-priority: Normal
  
  
  Hi All,
  
  I'm currently running multiple domains (2 specifically) on top of 
  Apache/Tomcat.  It seems that when I hit both domains at 
 the same time 
  (using 2 browser windows), I get a JSP compilation error 
 most (85%) of 
  the time.
  
  However, when I reload the page with no JSP code change, 
 it'll compile 
  properly.  (Some of the time like 10-15%, it won't 
 recompile until I 
  touch the file manually)
  
  Note: It doesn't happen when I only access one domain.
  
  PROBLEM SUMMARY:
  When loading JSPs on multiple domains (hosts) simultaneously, a JSP 
  compile error is generated.
  
  SYSTEM COMPONENTS:
  - Solaris 2.8
  - JDK 1.4.0_01
  - Tomcat 4.1.12
  - Apache 1.3.20
  
  SOLUTIONS TRIED (FAILED):
  - Configured different workers for each domains (hosts) as 
 recommended 
  in the tomcat mod_jk document.
  - Downloaded the source of tomcat and recompiled everything on our 
  environment.
  
  Any help would be appreciated.
  
  Thanks.
  
  Best regards,
  Joseph Kiok
  
  
  
  
  --
  To unsubscribe, e-mail:   
 mailto:tomcat-dev- [EMAIL PROTECTED]
  For 
 additional commands, 
 e-mail: 
  mailto:[EMAIL PROTECTED]
  
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-dev- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 


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




Re: JSP Compilation Issues (Multiple Domains)

2002-10-01 Thread Glenn Nielsen

Another way to fix this would be to install the external compiler jikes and
configure Jasper 2 to use this.

I would also like to see a servlet init parameter added to jasper that can enable
or disable synchronized JSP compiles.  This way those who know they have a thread
safe way to compile JSP's don't get hit by the synchronize.

Regards,

Glenn

John Trollinger wrote:
 Can we get the sync changes in the 4.1.x releases as we also have
 problems with this and currently maintain our own jasper code base with
 the sync code in it.
 
 
-Original Message-
From: Kin-Man Chung [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 30, 2002 9:47 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP Compilation Issues (Multiple Domains)


If you are using JDK javac for compiling the servlet 
generated by the JSP compiler, then you probably ran into the 
problem that the javac not being thread-safe.

In Tomcat 5 the javac compilation is synchronized, so that 
the compilation is serialized.  Guess that fix is not ported 
to 4.1.5.  :-(

I always assume that JSP pages would be deployed precompiled, 
and simultaneous compilation under development mode is rare.  
Maybe my assumption is wrong?



Date: Mon, 30 Sep 2002 18:30:48 -0700
From: Joseph Kiok [EMAIL PROTECTED]
Subject: JSP Compilation Issues (Multiple Domains)
To: [EMAIL PROTECTED]
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
X-Priority: 3
X-MSMail-priority: Normal


Hi All,

I'm currently running multiple domains (2 specifically) on top of 
Apache/Tomcat.  It seems that when I hit both domains at 

the same time 

(using 2 browser windows), I get a JSP compilation error 

most (85%) of 

the time.

However, when I reload the page with no JSP code change, 

it'll compile 

properly.  (Some of the time like 10-15%, it won't 

recompile until I 

touch the file manually)

Note: It doesn't happen when I only access one domain.

PROBLEM SUMMARY:
When loading JSPs on multiple domains (hosts) simultaneously, a JSP 
compile error is generated.

SYSTEM COMPONENTS:
- Solaris 2.8
- JDK 1.4.0_01
- Tomcat 4.1.12
- Apache 1.3.20

SOLUTIONS TRIED (FAILED):
- Configured different workers for each domains (hosts) as 

recommended 

in the tomcat mod_jk document.
- Downloaded the source of tomcat and recompiled everything on our 
environment.

Any help would be appreciated.

Thanks.

Best regards,
Joseph Kiok




--
To unsubscribe, e-mail:   

mailto:tomcat-dev- [EMAIL PROTECTED]

For 

additional commands, 
e-mail: 

mailto:[EMAIL PROTECTED]


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

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




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




RE: JSP Compilation Issues (Multiple Domains)

2002-10-01 Thread John Trollinger

+1 to the sync option

 -Original Message-
 From: Glenn Nielsen [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, October 01, 2002 9:45 AM
 To: Tomcat Developers List
 Subject: Re: JSP Compilation Issues (Multiple Domains)
 
 
 Another way to fix this would be to install the external 
 compiler jikes and configure Jasper 2 to use this.
 
 I would also like to see a servlet init parameter added to 
 jasper that can enable or disable synchronized JSP compiles.  
 This way those who know they have a thread safe way to 
 compile JSP's don't get hit by the synchronize.
 
 Regards,
 
 Glenn
 
 John Trollinger wrote:
  Can we get the sync changes in the 4.1.x releases as we also have 
  problems with this and currently maintain our own jasper code base 
  with the sync code in it.
  
  
 -Original Message-
 From: Kin-Man Chung [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 30, 2002 9:47 PM
 To: [EMAIL PROTECTED]
 Subject: Re: JSP Compilation Issues (Multiple Domains)
 
 
 If you are using JDK javac for compiling the servlet
 generated by the JSP compiler, then you probably ran into the 
 problem that the javac not being thread-safe.
 
 In Tomcat 5 the javac compilation is synchronized, so that
 the compilation is serialized.  Guess that fix is not ported 
 to 4.1.5.  :-(
 
 I always assume that JSP pages would be deployed precompiled,
 and simultaneous compilation under development mode is rare.  
 Maybe my assumption is wrong?
 
 
 
 Date: Mon, 30 Sep 2002 18:30:48 -0700
 From: Joseph Kiok [EMAIL PROTECTED]
 Subject: JSP Compilation Issues (Multiple Domains)
 To: [EMAIL PROTECTED]
 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
 X-Priority: 3
 X-MSMail-priority: Normal
 
 
 Hi All,
 
 I'm currently running multiple domains (2 specifically) on top of
 Apache/Tomcat.  It seems that when I hit both domains at 
 
 the same time
 
 (using 2 browser windows), I get a JSP compilation error
 
 most (85%) of
 
 the time.
 
 However, when I reload the page with no JSP code change,
 
 it'll compile
 
 properly.  (Some of the time like 10-15%, it won't
 
 recompile until I
 
 touch the file manually)
 
 Note: It doesn't happen when I only access one domain.
 
 PROBLEM SUMMARY:
 When loading JSPs on multiple domains (hosts) simultaneously, a JSP
 compile error is generated.
 
 SYSTEM COMPONENTS:
 - Solaris 2.8
 - JDK 1.4.0_01
 - Tomcat 4.1.12
 - Apache 1.3.20
 
 SOLUTIONS TRIED (FAILED):
 - Configured different workers for each domains (hosts) as
 
 recommended
 
 in the tomcat mod_jk document.
 - Downloaded the source of tomcat and recompiled everything on our
 environment.
 
 Any help would be appreciated.
 
 Thanks.
 
 Best regards,
 Joseph Kiok
 
 
 
 
 --
 To unsubscribe, e-mail:   
 
 mailto:tomcat-dev- [EMAIL PROTECTED]
 
 For
 
 additional commands,
 e-mail: 
 
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-dev- [EMAIL PROTECTED]
 For
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
  
  
  --
  To unsubscribe, e-mail:   
 mailto:tomcat-dev- [EMAIL PROTECTED]
  For 
 additional commands, 
 e-mail: 
  mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-dev- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 


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




JSP Compilation Issues (Multiple Domains)

2002-09-30 Thread Joseph Kiok


Hi All,

I'm currently running multiple domains (2 specifically) on top of
Apache/Tomcat.  It seems that when I hit both domains at the same time
(using 2 browser windows), I get a JSP compilation error most (85%) of the
time.

However, when I reload the page with no JSP code change, it'll compile
properly.  (Some of the time like 10-15%, it won't recompile until I touch
the file manually)

Note: It doesn't happen when I only access one domain.

PROBLEM SUMMARY:
When loading JSPs on multiple domains (hosts) simultaneously, a JSP compile
error is generated.

SYSTEM COMPONENTS:
- Solaris 2.8
- JDK 1.4.0_01
- Tomcat 4.1.12
- Apache 1.3.20

SOLUTIONS TRIED (FAILED):
- Configured different workers for each domains (hosts) as recommended in
the tomcat mod_jk document.
- Downloaded the source of tomcat and recompiled everything on our
environment.

Any help would be appreciated.

Thanks.

Best regards,
Joseph Kiok




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




Re: JSP Compilation Issues (Multiple Domains)

2002-09-30 Thread Kin-Man Chung

If you are using JDK javac for compiling the servlet generated by the
JSP compiler, then you probably ran into the problem that the javac
not being thread-safe.

In Tomcat 5 the javac compilation is synchronized, so that the compilation
is serialized.  Guess that fix is not ported to 4.1.5.  :-(

I always assume that JSP pages would be deployed precompiled, and
simultaneous compilation under development mode is rare.  Maybe my
assumption is wrong?


 Date: Mon, 30 Sep 2002 18:30:48 -0700
 From: Joseph Kiok [EMAIL PROTECTED]
 Subject: JSP Compilation Issues (Multiple Domains)
 To: [EMAIL PROTECTED]
 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
 X-Priority: 3
 X-MSMail-priority: Normal
 
 
 Hi All,
 
 I'm currently running multiple domains (2 specifically) on top of
 Apache/Tomcat.  It seems that when I hit both domains at the same time
 (using 2 browser windows), I get a JSP compilation error most (85%) of the
 time.
 
 However, when I reload the page with no JSP code change, it'll compile
 properly.  (Some of the time like 10-15%, it won't recompile until I touch
 the file manually)
 
 Note: It doesn't happen when I only access one domain.
 
 PROBLEM SUMMARY:
 When loading JSPs on multiple domains (hosts) simultaneously, a JSP compile
 error is generated.
 
 SYSTEM COMPONENTS:
 - Solaris 2.8
 - JDK 1.4.0_01
 - Tomcat 4.1.12
 - Apache 1.3.20
 
 SOLUTIONS TRIED (FAILED):
 - Configured different workers for each domains (hosts) as recommended in
 the tomcat mod_jk document.
 - Downloaded the source of tomcat and recompiled everything on our
 environment.
 
 Any help would be appreciated.
 
 Thanks.
 
 Best regards,
 Joseph Kiok
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


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