You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2004/06/25 12:01:33 UTC

Tomcat 5 and class reloading

With Tomcat 4 one can enforce class reloading by specifying

<Context path="/lenya" docBase="lenya" debug="0" reloadable="true" 
crossContext="true"/>

but it seems to me that Tomcat 5 doesn't do this anymore.

The documentation of Tomcat 5 has some developement parameters, but I am 
not able
to make them work

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html

how do others handle class reloading during development
(shutdown and startup is a painful ...)

Thanks

Michi

-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Tomcat 5 and class reloading

Posted by "Hartwig, Thomas" <t....@crapoud.com>.
In conf/web.xml there is reloading and checkInterval as well. Look there 
for usage in conjunction with the development parameter?!

HTH
Thomas

Michael Wechner wrote:
> Hartwig, Thomas wrote:
> 
>> For me these paramters do a reloading with Tomcat 5.0.16:
>>
>> <Context path="/ttraq" docBase="/home/th/projects/ttraq/web" debug="0" 
>> privileged="true" autoDeploy="true" reloadable="true" />
>>
>> Perhaps autoDeploy="true" is the key?!
> 
> 
> 
> well, it didn't help in my case
> 
> <Context path="/lenya" docBase="lenya" debug="0" privileged="true" 
> autoDeploy="true" reloadable="true" />
> 
> maybe there is another additional parameter necessary
> 
> Thanks anyway
> 
> Michi
> 
>>
>> Thomas
>>
>> Michael Wechner wrote:
>>
>>> With Tomcat 4 one can enforce class reloading by specifying
>>>
>>> <Context path="/lenya" docBase="lenya" debug="0" reloadable="true" 
>>> crossContext="true"/>
>>>
>>> but it seems to me that Tomcat 5 doesn't do this anymore.
>>>
>>> The documentation of Tomcat 5 has some developement parameters, but I 
>>> am not able
>>> to make them work
>>>
>>> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
>>>
>>> how do others handle class reloading during development
>>> (shutdown and startup is a painful ...)
>>>
>>> Thanks
>>>
>>> Michi
>>>
>>
> 
> 

-- 
Thomas Hartwig - Software & IT-Service Specialist

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Tomcat 5 and class reloading

Posted by Michael Wechner <mi...@wyona.com>.
Hartwig, Thomas wrote:

> For me these paramters do a reloading with Tomcat 5.0.16:
>
> <Context path="/ttraq" docBase="/home/th/projects/ttraq/web" debug="0" 
> privileged="true" autoDeploy="true" reloadable="true" />
>
> Perhaps autoDeploy="true" is the key?!


well, it didn't help in my case

<Context path="/lenya" docBase="lenya" debug="0" privileged="true" 
autoDeploy="true" reloadable="true" />

maybe there is another additional parameter necessary

Thanks anyway

Michi

>
> Thomas
>
> Michael Wechner wrote:
>
>> With Tomcat 4 one can enforce class reloading by specifying
>>
>> <Context path="/lenya" docBase="lenya" debug="0" reloadable="true" 
>> crossContext="true"/>
>>
>> but it seems to me that Tomcat 5 doesn't do this anymore.
>>
>> The documentation of Tomcat 5 has some developement parameters, but I 
>> am not able
>> to make them work
>>
>> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
>>
>> how do others handle class reloading during development
>> (shutdown and startup is a painful ...)
>>
>> Thanks
>>
>> Michi
>>
>


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Tomcat 5 and class reloading

Posted by "Hartwig, Thomas" <t....@crapoud.com>.
For me these paramters do a reloading with Tomcat 5.0.16:

<Context path="/ttraq" docBase="/home/th/projects/ttraq/web" debug="0" 
privileged="true" autoDeploy="true" reloadable="true" />

Perhaps autoDeploy="true" is the key?!

Thomas

Michael Wechner wrote:
> With Tomcat 4 one can enforce class reloading by specifying
> 
> <Context path="/lenya" docBase="lenya" debug="0" reloadable="true" 
> crossContext="true"/>
> 
> but it seems to me that Tomcat 5 doesn't do this anymore.
> 
> The documentation of Tomcat 5 has some developement parameters, but I am 
> not able
> to make them work
> 
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
> 
> how do others handle class reloading during development
> (shutdown and startup is a painful ...)
> 
> Thanks
> 
> Michi
> 

-- 
Thomas Hartwig - Software & IT-Service Specialist

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Tomcat 5 and class reloading

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

> With Tomcat 4 one can enforce class reloading by specifying
> 
> <Context path="/lenya" docBase="lenya" debug="0" reloadable="true" 
> crossContext="true"/>
> 
> but it seems to me that Tomcat 5 doesn't do this anymore.
> 
> The documentation of Tomcat 5 has some developement parameters, but I am 
> not able
> to make them work
> 
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
> 
> how do others handle class reloading during development
> (shutdown and startup is a painful ...)

I am reloading the web application using the manager web interface.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org