tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manca Davide" <davide.ma...@matrix.it>
Subject RE: [Tomcat 6] jsp on the fly
Date Tue, 04 Dec 2007 09:01:05 GMT
I found the right way to make it work:

In $CATALINA_HOME/conf/web.xml there was the parameter development set to false so Tomcat
didn't recompile on the fly my jsps.

I just set it to true and it started to work!

Thanks to everyone.

Ciao.
Dave.

-----Original Message-----
From: Manca Davide [mailto:davide.manca@matrix.it] 
Sent: venerdì 30 novembre 2007 23.40
To: Tomcat Users List; Tomcat Users List
Subject: R: [Tomcat 6] jsp on the fly

but it doesn't...
how can I make it works?

-----Messaggio originale-----
Da: Filip Hanik - Dev Lists [mailto:devlists@hanik.com]
Inviato: ven 30/11/2007 20.40
A: Tomcat Users List
Oggetto: Re: [Tomcat 6] jsp on the fly
 
yes, this works out of the box, without any changes to any config files

Filip

Manca Davide wrote:
> Hello,
>
>  
>
> I have a problem using jsp on tomcat 6 + jdk 6. I have some jsp under a
> webapp. I want to Tomcat recompile them into .class files without
> restarting.
>
>  
>
> I already tried these:
>
>  
>
> In context.xml
>
>  
>
> <!-- The contents of this file will be loaded for each web application
> -->
>
> <Context reloadable="true" privileged="true"
> antiResourceLocking="false">
>
>  
>
>     <!-- Default set of monitored resources -->
>
>     <WatchedResource>WEB-INF/web.xml</WatchedResource>
>
>     <!-- Uncomment this to disable session persistence across Tomcat
> restarts -->
>
>     <!--
>
>     <Manager pathname="" />
>
>     -->
>
>  
>
>     <!-- Uncomment this to enable Comet connection tacking (provides
> events
>
>          on session expiration as well as webapp lifecycle) -->
>
>     <!--
>
>     <Valve
> className="org.apache.catalina.valves.CometConnectionManagerValve" />
>
>     -->
>
> </Context>
>
>  
>
> In server.xml:
>
>  
>
> <Host name="mysite.net"
> appBase="/store1/www-dev/mysite.net/doc_root/webapps"
>
>             unpackWARs="true" autoDeploy="true" deployOnStartup="false"
>
>             xmlValidation="false" xmlNamespaceAware="false">
>
>  
>
>         <Context path="/ahtv"
>
>  
> docBase="/store1/www-dev/mysite.net/doc_root/webapps/ahtv"
>
>  
> workDir="/store1/www-dev/mysite.net/doc_root/webapps/ahtv/WEB-INF/work"
>
>                  unpackWARs="true" autoDeploy="true"
> deployOnStartup="false" processTlds="true"
>
>                  xmlValidation="false" xmlNamespaceAware="false"
>
>                  debug="0" reloadable="true" privileged="true"
> antiResourceLocking="false">
>
>                  <WatchedResource>WEB-INF/web.xml</WatchedResource>
>
>                  <WatchedResource>jsp/index.jsp</WatchedResource>
>
>                  <Manager pathname="" />
>
>  
>
>         </Context>
>
>  
>
>  
>
> </Host>
>
>  
>
> Thanks a lot for your help.
>
>  
>
> Ciao.
>
> Dave.
>
>
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.16.10/1160 - Release Date: 11/29/2007 8:32 PM
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message