[ajug-members] Tomcat 6 Hot Deploy Issue

Quadir Kareemullah quadir at gmail.com
Mon May 25 13:16:02 EDT 2009


Thank you all for replying. I found the correct answer to this at
http://stackoverflow.com where I posted the question. Here is the link to
the Question and the Answer
http://stackoverflow.com/questions/904877/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<https://issues.apache.org/bugzilla/show%5Fbug.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.
>

- Quadir


On Mon, May 25, 2009 at 11:29 AM, Marty Blood <marty.blood at gmail.com> wrote:

> 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 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<http://www.mbaworld.com/docs/manager-howto.html>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 at gmail.com>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 at yahoo.com> 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 at gmail.com>
>>>
>>> Date: Sun, 24 May 2009 19:40:16
>>> To: <ajug-members at ajug.org>
>>> Subject: [ajug-members] Tomcat 6 Hot Deploy Issue
>>>
>>>
>>> _______________________________________________
>>> ajug-members mailing list
>>> ajug-members at ajug.org
>>> http://www.ajug.org/mailman/listinfo/ajug-members
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ajug-members mailing list
>>> ajug-members at ajug.org
>>> 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 at ajug.org
>> http://www.ajug.org/mailman/listinfo/ajug-members
>>
>>
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> 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

************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20090525/d8cba424/attachment.html 


More information about the ajug-members mailing list