Tomcat 5.0.27 and IDEA 4.5.1 - Webapp is reloaded every time I build it.
Hi,
I have reloadable="false" in the ]]> element of tomcat config. Whenever I do a CtrlF9 the web is reloaded even if there are no changes? If I press CtrlF9 twice without making any changes , the webapp is re-loaded both times.
How can I avoid this? Even for a simple JSP change the web app is re-loading...
Thanks,
--Venkat.
请先登录再写评论。
I see this same behavior. It does not happen in Tomcat 4.1.30. In TC
4, I can reload the application and it will load the changed classes and
I can continue with my current session data. With Tomcat 5.0.27, the
context is reloaded and I lose all my session data. Kind of makes that
feature useless.
Venkat Sonnathi wrote:
>Hi,
>
>I have reloadable="false" in the ]]> element of tomcat config. Whenever I do a CtrlF9 the web is reloaded even if there are no changes? If I press CtrlF9 twice without making any changes , the webapp is re-loaded both times.
>
>How can I avoid this? Even for a simple JSP change the web app is re-loading...
>
>Thanks,
>--Venkat.
>
>
>
--
Norris Shelton
Sun Certified Java Programmer
We¹ve complained about this for ever. Not sure why this was never fixed.
It was marked as fixed, but then it¹s not. This completely negates the use
of HotSpot, instead of reloading a couple of classes everything gets
reloaded all the time.
Lame.
R
On 8/20/04 2:15 PM, in article 41263FC3.3020802@spam.com, "Norris Shelton"
<no_reply@spam.com> wrote:
>>
>> Hi,
>>
>> I have reloadable="false" in the element of tomcat config. Whenever >> I do a Ctrl+F9 the web is reloaded even if there are no changes? If I press >> Ctrl+F9 twice without making any changes , the webapp is re-loaded both >> times. >> >> How can I avoid this? Even for a simple JSP change the web app is >> re-loading... >> >> Thanks, >> --Venkat. >> >> >>]]>
Hi,
I had a fresh install of IDEA and it seemed to clobber my "Deploy after compilation" setting under Compiler settings and it was reset to "always" and hence every time I compile it was deploying and that was triggering the webapp to restart.
Thanks,
--Venkat.
Hello Robert,
I got the HotSwapping feature working if I turn off the "Deploy after compilation" option under "Compiler settings". I think the "Deploy after compliation" option should be under J2EE Build setting for the respective module. I have opened up an SCR for that.
Just my 2 cents.
Thanks,
--Venkat.
>> I see this same behavior. It does not happen in Tomcat 4.1.30. In
>> TC 4, I can reload the application and it will load the changed
>> classes and I can continue with my current session data. With Tomcat
>> 5.0.27, the context is reloaded and I lose all my session data. Kind
>> of makes that feature useless.
>>
>> Venkat Sonnathi wrote:
>>
>>> Hi,
>>>
>>> I have reloadable="false" in the element of tomcat config. >>> Whenever I do a Ctrl+F9 the web is reloaded even if there are no >>> changes? If I press Ctrl+F9 twice without making any changes , the >>> webapp is re-loaded both times. >>> >>> How can I avoid this? Even for a simple JSP change the web app is >>> re-loading... >>> >>> Thanks, >>>]]> --Venkat.
Thanks will give that a shot and see what happens. Hopefully that's it.
R
On 8/21/04 11:52 AM, in article cg7r2v$jr4$1@is.intellij.net, "Venkat
Sonnathi" <vsonnath@hotmail.com> wrote:
>> We¹ve complained about this for ever. Not sure why this was never
>> fixed. It was marked as fixed, but then it¹s not. This completely
>> negates the use of HotSpot, instead of reloading a couple of classes
>> everything gets reloaded all the time.
>>
>> Lame.
>>
>> R
>>
>> On 8/20/04 2:15 PM, in article 41263FC3.3020802@spam.com, "Norris
>> Shelton" wrote: >> >>> I see this same behavior. It does not happen in Tomcat 4.1.30. In >>> TC 4, I can reload the application and it will load the changed >>> classes and I can continue with my current session data. With Tomcat >>> 5.0.27, the context is reloaded and I lose all my session data. Kind >>> of makes that feature useless. >>> >>> Venkat Sonnathi wrote: >>> >>>> Hi, >>>> >>>> I have reloadable="false" in the element of tomcat config. >>>> Whenever I do a Ctrl+F9 the web is reloaded even if there are no >>>> changes? If I press Ctrl+F9 twice without making any changes , the >>>> webapp is re-loaded both times. >>>> >>>> How can I avoid this? Even for a simple JSP change the web app is >>>> re-loading... >>>> >>>> Thanks, >>>>]]> --Venkat.