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.

Reply via email to