« Return to Thread: Tomcat 6 Hot Deploy Issue
It's because of a side effect with having antiResourceLocking="true" set on your context. If you read the documentation on Tomcat here: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
"Please note that setting this to true has some side effects, including the disabling of JSP reloading in a running server: see Bugzilla 37668."which is here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=37668
There is no workaround as far as I know, if you remove the attribute it will allow you automatic loading of yor JSP's again. We set a deploy time subtitution to put the attribute back in for production. Boo, hiss! Anyways if you remove the antiResourceLocking attribute it will solve the problem you're experiencing.
Well, yes, but I think Jennifer was asking since that might affect where the IDE compiles the code out to. That might affect the directory you would want to refer to as the base.
Regarding the hot deployment though here's what the Tomcat docs say about reloadable:
Set totrueif you want Catalina to monitor classes in/WEB-INF/classes/and/WEB-INF/libfor 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.
So I don't think it'll pick up your jsp changes anyway unless your build script in Eclipse includes a JSP pre-compiler.
Anyway, best of luck with it.
-Marty
On Sun, May 24, 2009 at 9:11 PM, Quadir Kareemullah <quadir@...> wrote:
I am using Eclipse, but I believe it is irrelevant since Tomcat is running STANDALONE outside Eclipse.
- Quadir
On Sun, May 24, 2009 at 8:18 PM, <gingin8199@...> wrote:
What IDE are you using?
"Ignorance of certain subjects is a great part in wisdom." Hugo De Groot
-----Original Message-----
From: Quadir Kareemullah <quadir@...>
Date: Sun, 24 May 2009 19:40:16
To: <ajug-members@...>
Subject: [ajug-members] Tomcat 6 Hot Deploy Issue
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members--
************************************************************************************
9.71 # The believers, men and women, are Auliyâ' (helpers, supporters, friends, protectors) of one another, they enjoin (on the people) Al-Ma'rûf (i.e. Islâmic Monotheism and all that Islâm orders one to do), and forbid (people) from Al-Munkar (i.e. polytheism and disbelief of all kinds, and all that Islâm has forbidden); they perform As-Salât (Iqâmat-as-Salât) and give the Zakât, and obey Allâh and His Messenger. Allâh will have His Mercy on them. Surely Allâh is All-Mighty, All-Wise.
9.72 Allâh has promised to the believers -men and women, - Gardens under which rivers flow to dwell therein forever, and beautiful mansions in Gardens of 'Adn (Eden Paradise). But the greatest bliss is the Good Pleasure of Allâh. That is the supreme success.
-- Qur'an Chapter 3 Verses 185-186
************************************************************************************
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________
ajug-members mailing list
ajug-members@...
http://www.ajug.org/mailman/listinfo/ajug-members
« Return to Thread: Tomcat 6 Hot Deploy Issue
| Free embeddable forum powered by Nabble | Forum Help |