Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Brian Styles
Yep Matt,
that makes perfect sense and seems a very sensible approach. Thanks for the 
great tip!
Brian


From: "Matthew Oatham" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] Why does restart force recompile
Date: Wed, 14 Jan 2004 12:23:40 -
Hi,

I apply this to each web app that is deployed - i.e add it to the web app
web.xml file - which over rides the default web.xml settings. The reason 
for
this is in each web app you can set a sub directory. This is nesessary when
2 web apps are deployed which both contain a jsp file of the same name i.e
index.jsp - the servlet container could serve the wrong jsp i.e serve web
app A's index.jsp to web app B. Therefore in each web apps web.xml file
specify the scratchdir + sub directory i.e. __generatedJSPs/WebApp_A for 
web
app A web.xml and __generatedJSPs/WebApp_B for web app B

Hope that makes sense.

Matt
- Original Message -
From: "Brian Styles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 11:22 AM
Subject: Re: [JBoss-user] Why does restart force recompile
> Thanks Matt,
>
> looks like just what I need.
> Can I ask, did you define this in your web.xml file in your webapp, or 
did
> you edit the default jboss web.xml file in conf/web.xml
>
> thanks,
> Brian
>
> >From: "Matthew Oatham" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: Re: [JBoss-user] Why does restart force recompile
> >Date: Wed, 14 Jan 2004 11:04:53 -
> >
> >Not sure about the logic but one way to prevent it is to add the
scratddir
> >attribute to the jspc servlet. This has to be defined in the web app
> >web.xml
> >file as follows:
> >
> >   
> > jsp2
> > 
org.apache.jasper.servlet.JspServlet
> > 
> >   logVerbosityLevel
> >WARNING
> > 
> > 
> >   scratchdir
> >   __generatedJSPs
> > 
> > 3
> >   
> >
> >The servlet mapping:
> >
> >   
> > jsp2
> > *.jsp
> >   
> >
> >Also needs to be applied to ensure all JSP's are compiled via the new
> >servlet mapping above.
> >
> >Guess you will have to read up on the
org.apache.jasper.servlet.JspServlet
> >class to find out about these and other attributes..
> >
> >This is the way I prevented JSP's being recompiled - not sure if there 
is
> >any other way.
> >
> >
> >Matt
> >- Original Message -
> >From: "Brian Styles" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, January 14, 2004 10:36 AM
> >Subject: [JBoss-user] Why does restart force recompile
> >
> >
> > > Just a simple question,
> > >
> > > Why when we restart JBoss does it force a recompile of all the jsps 
in
> >every
> > > deployed war.
> > > What's the logic in this? The jsps haven't changed.
> > >
> > > Any way to avoid it?
> > >
> > > Brian
> > >
> > > _
> > > Protect your PC - get McAfee.com VirusScan Online
> > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > >
> > >
> > >
> > > ---
> > > This SF.net email is sponsored by: Perforce Software.
> > > Perforce is the Fast Software Configuration Management System 
offering
> > > advanced branching capabilities and atomic changes on 50+ platforms.
> > > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> >
> >
> >---
> >This SF.net email is sponsored by: Perforce Software.
> >Perforce is the Fast Software Configuration Management System offering
> >advanced branching capabilities and atomic changes on 50+ platforms.
> >Free Eval! http://www.perforce.com/perforce/loadprog.html
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
&g

Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Matthew Oatham
Hi,

I apply this to each web app that is deployed - i.e add it to the web app
web.xml file - which over rides the default web.xml settings. The reason for
this is in each web app you can set a sub directory. This is nesessary when
2 web apps are deployed which both contain a jsp file of the same name i.e
index.jsp - the servlet container could serve the wrong jsp i.e serve web
app A's index.jsp to web app B. Therefore in each web apps web.xml file
specify the scratchdir + sub directory i.e. __generatedJSPs/WebApp_A for web
app A web.xml and __generatedJSPs/WebApp_B for web app B

Hope that makes sense.

Matt
- Original Message - 
From: "Brian Styles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 11:22 AM
Subject: Re: [JBoss-user] Why does restart force recompile


> Thanks Matt,
>
> looks like just what I need.
> Can I ask, did you define this in your web.xml file in your webapp, or did
> you edit the default jboss web.xml file in conf/web.xml
>
> thanks,
> Brian
>
> >From: "Matthew Oatham" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: Re: [JBoss-user] Why does restart force recompile
> >Date: Wed, 14 Jan 2004 11:04:53 -
> >
> >Not sure about the logic but one way to prevent it is to add the
scratddir
> >attribute to the jspc servlet. This has to be defined in the web app
> >web.xml
> >file as follows:
> >
> >   
> > jsp2
> > org.apache.jasper.servlet.JspServlet
> > 
> >   logVerbosityLevel
> >WARNING
> > 
> > 
> >   scratchdir
> >   __generatedJSPs
> > 
> > 3
> >   
> >
> >The servlet mapping:
> >
> >   
> > jsp2
> > *.jsp
> >   
> >
> >Also needs to be applied to ensure all JSP's are compiled via the new
> >servlet mapping above.
> >
> >Guess you will have to read up on the
org.apache.jasper.servlet.JspServlet
> >class to find out about these and other attributes..
> >
> >This is the way I prevented JSP's being recompiled - not sure if there is
> >any other way.
> >
> >
> >Matt
> >- Original Message -
> >From: "Brian Styles" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Wednesday, January 14, 2004 10:36 AM
> >Subject: [JBoss-user] Why does restart force recompile
> >
> >
> > > Just a simple question,
> > >
> > > Why when we restart JBoss does it force a recompile of all the jsps in
> >every
> > > deployed war.
> > > What's the logic in this? The jsps haven't changed.
> > >
> > > Any way to avoid it?
> > >
> > > Brian
> > >
> > > _
> > > Protect your PC - get McAfee.com VirusScan Online
> > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > >
> > >
> > >
> > > ---
> > > This SF.net email is sponsored by: Perforce Software.
> > > Perforce is the Fast Software Configuration Management System offering
> > > advanced branching capabilities and atomic changes on 50+ platforms.
> > > Free Eval! http://www.perforce.com/perforce/loadprog.html
> > > ___
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > >
> >
> >
> >---
> >This SF.net email is sponsored by: Perforce Software.
> >Perforce is the Fast Software Configuration Management System offering
> >advanced branching capabilities and atomic changes on 50+ platforms.
> >Free Eval! http://www.perforce.com/perforce/loadprog.html
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Brian Styles
Thanks Matt,

looks like just what I need.
Can I ask, did you define this in your web.xml file in your webapp, or did 
you edit the default jboss web.xml file in conf/web.xml

thanks,
Brian
From: "Matthew Oatham" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Re: [JBoss-user] Why does restart force recompile
Date: Wed, 14 Jan 2004 11:04:53 -
Not sure about the logic but one way to prevent it is to add the scratddir
attribute to the jspc servlet. This has to be defined in the web app 
web.xml
file as follows:

  
jsp2
org.apache.jasper.servlet.JspServlet

  logVerbosityLevel
   WARNING


  scratchdir
  __generatedJSPs

3
  
The servlet mapping:

  
jsp2
*.jsp
  
Also needs to be applied to ensure all JSP's are compiled via the new
servlet mapping above.
Guess you will have to read up on the org.apache.jasper.servlet.JspServlet
class to find out about these and other attributes..
This is the way I prevented JSP's being recompiled - not sure if there is
any other way.
Matt
- Original Message -
From: "Brian Styles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 10:36 AM
Subject: [JBoss-user] Why does restart force recompile
> Just a simple question,
>
> Why when we restart JBoss does it force a recompile of all the jsps in
every
> deployed war.
> What's the logic in this? The jsps haven't changed.
>
> Any way to avoid it?
>
> Brian
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Why does restart force recompile

2004-01-14 Thread Matthew Oatham
Not sure about the logic but one way to prevent it is to add the scratddir
attribute to the jspc servlet. This has to be defined in the web app web.xml
file as follows:

  
jsp2
org.apache.jasper.servlet.JspServlet

  logVerbosityLevel
   WARNING


  scratchdir
  __generatedJSPs

3
  

The servlet mapping:

  
jsp2
*.jsp
  

Also needs to be applied to ensure all JSP's are compiled via the new
servlet mapping above.

Guess you will have to read up on the org.apache.jasper.servlet.JspServlet
class to find out about these and other attributes..

This is the way I prevented JSP's being recompiled - not sure if there is
any other way.


Matt
- Original Message - 
From: "Brian Styles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 10:36 AM
Subject: [JBoss-user] Why does restart force recompile


> Just a simple question,
>
> Why when we restart JBoss does it force a recompile of all the jsps in
every
> deployed war.
> What's the logic in this? The jsps haven't changed.
>
> Any way to avoid it?
>
> Brian
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>
> ---
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Why does restart force recompile

2004-01-14 Thread Brian Styles
Just a simple question,

Why when we restart JBoss does it force a recompile of all the jsps in every 
deployed war.
What's the logic in this? The jsps haven't changed.

Any way to avoid it?

Brian

_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user