Hey James,
Thanks very much for that. I understand what you mean, but seeing as 
I'm creating the ear on the same machine as I'm running JBoss I don't 
see how that could be happening. I don't even use a timestamp in
building
my ear/war. Perhaps I should!

Thanks for the suggestion though,
Brian


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James Ward
Sent: 01 August 2003 15:40
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss recompiles Jsps every time I hit the
page

Hey Brian.
I think JBoss (Jetty or Tomcat) will only compile the jsp if the
original jsp file date is newer than the compiled class.  We had a
problem where the date on the computer creating the war was in the
future, so jsp's would recompile every hit.  Check that first.

-James


On Fri, 2003-08-01 at 06:23, Brian McSweeney wrote:
> Hi all,
> 
>  
> 
> I'm using JBoss3.2.1_tomcat4.1.24
> 
>  
> 
> I'm working on windows2000 and with jvm 1.4.1_01
> 
>  
> 
> My ear contains a war with jsps. My jsps are not precompiled.
> 
> My understanding is that JBoss compiles the jsps on the first hit,
> 
> and after that, should not need to compile them again. However, 
> 
> on the task manager every time I hit a jsp again (eg, second, third
> time etc. )
> 
> I see that the javac task is run and takes up most of the processor.
> 
>  
> 
> Is this an option with JBoss - ie, always recompile jsps?
> 
>  
> 
> Can I turn this off ?
> 
>  
> 
> Thanks,
> 
> Brian
> 
> 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to