Re: Tomcat Caching Problem

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jinal,

On 3/29/2011 4:01 PM, Jinal Dhruv wrote:
 I want Tomcat to stop catching my servlet responses and I cant understand the 
 solution at  
 http://stackoverflow.com/questions/415520/how-do-i-make-tomcat-stop-caching-my-servlet-responses

That's because the proposed solution isn't one.

Here are your options:


1. Use the manager to reload the web app (undeploy/redeploy should not
be necessary: a simple reload should work) (
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Reload_An_Existing_Application
)

2. Set the element in META-INF/context.xml to have reloadable=true (
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html )

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2SQu8ACgkQ9CaO5/Lv0PASiACdFViaKOGVUSQnOn0nM1cDOy/q
bfQAoJFklSKNwedSAfMoJXhnBKqzAG2o
=/jWG
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat Caching Problem

2011-03-29 Thread Jinal Dhruv
I dont understand second option..Can U explain a bit more?




From: Christopher Schultz ch...@christopherschultz.net
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, 30 March 2011 2:07 AM
Subject: Re: Tomcat Caching Problem

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jinal,

On 3/29/2011 4:01 PM, Jinal Dhruv wrote:
 I want Tomcat to stop catching my servlet responses and I cant understand the 
 solution at  
 http://stackoverflow.com/questions/415520/how-do-i-make-tomcat-stop-caching-my-servlet-responses

That's because the proposed solution isn't one.

Here are your options:


1. Use the manager to reload the web app (undeploy/redeploy should not
be necessary: a simple reload should work) (
http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Reload_An_Existing_Application
)

2. Set the element in META-INF/context.xml to have reloadable=true (
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html )

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2SQu8ACgkQ9CaO5/Lv0PASiACdFViaKOGVUSQnOn0nM1cDOy/q
bfQAoJFklSKNwedSAfMoJXhnBKqzAG2o
=/jWG
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat Caching Problem

2011-03-29 Thread sebb
On 29 March 2011 21:47, Jinal Dhruv dhruv.ji...@yahoo.com wrote:
 I dont understand second option..Can U explain a bit more?

In case you cannot access the cited document:

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Common%20Attributes

it says:

reloadable 

Set to true if you want Catalina to monitor classes in
/WEB-INF/classes/ and /WEB-INF/lib for changes, and automatically
reload the web application if a change is detected. This feature is
very useful during application development, but it requires
significant runtime overhead and is not recommended for use on
deployed production applications. That's why the default setting for
this attribute is false. You can use the Manager web application,
however, to trigger reloads of deployed applications on demand.



 
 From: Christopher Schultz ch...@christopherschultz.net
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Wednesday, 30 March 2011 2:07 AM
 Subject: Re: Tomcat Caching Problem

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jinal,

 On 3/29/2011 4:01 PM, Jinal Dhruv wrote:
 I want Tomcat to stop catching my servlet responses and I cant understand 
 the solution at
 http://stackoverflow.com/questions/415520/how-do-i-make-tomcat-stop-caching-my-servlet-responses

 That's because the proposed solution isn't one.

 Here are your options:


 1. Use the manager to reload the web app (undeploy/redeploy should not
 be necessary: a simple reload should work) (
 http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Reload_An_Existing_Application
 )

 2. Set the element in META-INF/context.xml to have reloadable=true (
 http://tomcat.apache.org/tomcat-6.0-doc/config/context.html )

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk2SQu8ACgkQ9CaO5/Lv0PASiACdFViaKOGVUSQnOn0nM1cDOy/q
 bfQAoJFklSKNwedSAfMoJXhnBKqzAG2o
 =/jWG
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat Caching Problem

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jinal,

On 3/29/2011 4:47 PM, Jinal Dhruv wrote:
 I dont understand second option..Can U explain a bit more?

Read the documentation reference I sent to you. Search for reloadable.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2SkU4ACgkQ9CaO5/Lv0PBJXACgp/1NjWtIDy1pXk6TxMUGqJSC
iAkAoJrxM1uQsivb/56Pk4YOMFryGafd
=2ee1
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org