Debug servlet with Tomcat require restart after each modification [message #151839] |
Wed, 14 December 2005 07:12 |
Eclipse User |
|
|
|
Originally posted by: whisk_whisk.yahoo.com
Hi all,
I am now using the eclipse 3.1.1, WTP 1.0RC4, and Tomcat 5.0 as my
development platform.
The Tomcat is started in debug mode and all break points are stopped
successfully.
However, everytime I have modified a servlet, even just adding a blank
space, triggers a restart of the Tomcat server.
What I expect is the hotswap of the classes with no structual change. How
should I configure the Eclipse and Tomcat to achieve this?
Thank you very much for your help!
Best wishes,
WHiSK
|
|
|
Re: Debug servlet with Tomcat require restart after each modification [message #152252 is a reply to message #151839] |
Wed, 14 December 2005 12:48 |
Eclipse User |
|
|
|
Originally posted by: dserodio.gmail.com
WHiSK wrote:
> Hi all,
>
> I am now using the eclipse 3.1.1, WTP 1.0RC4, and Tomcat 5.0 as my
> development platform.
>
> The Tomcat is started in debug mode and all break points are stopped
> successfully.
>
> However, everytime I have modified a servlet, even just adding a blank
> space, triggers a restart of the Tomcat server.
>
> What I expect is the hotswap of the classes with no structual change.
> How should I configure the Eclipse and Tomcat to achieve this?
I expect that too, if the "Tomcat Plugin" can do it, why can't WTP?
TIA,
Daniel Serodio
|
|
|
Re: Debug servlet with Tomcat require restart after each modification [message #152267 is a reply to message #151839] |
Wed, 14 December 2005 14:04 |
|
WHiSK wrote:
> I am now using the eclipse 3.1.1, WTP 1.0RC4, and Tomcat 5.0 as my
> development platform.
>
> The Tomcat is started in debug mode and all break points are stopped
> successfully.
>
> However, everytime I have modified a servlet, even just adding a blank
> space, triggers a restart of the Tomcat server.
>
> What I expect is the hotswap of the classes with no structual change.
> How should I configure the Eclipse and Tomcat to achieve this?
You mean an actual Servlet class? You might want to open a bug if
you're seeing this and Sysdeo's plugin handles it better.
--
- Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Re: Debug servlet with Tomcat require restart after each modification [message #152317 is a reply to message #152252] |
Wed, 14 December 2005 16:05 |
Eclipse User |
|
|
|
Originally posted by: whisk_whisk.yahoo.com
Daniel Serodio wrote:
> WHiSK wrote:
>> Hi all,
>>
>> I am now using the eclipse 3.1.1, WTP 1.0RC4, and Tomcat 5.0 as my
>> development platform.
>>
>> The Tomcat is started in debug mode and all break points are stopped
>> successfully.
>>
>> However, everytime I have modified a servlet, even just adding a blank
>> space, triggers a restart of the Tomcat server.
>>
>> What I expect is the hotswap of the classes with no structual change.
>> How should I configure the Eclipse and Tomcat to achieve this?
> I expect that too, if the "Tomcat Plugin" can do it, why can't WTP?
> TIA,
> Daniel Serodio
This is really strange! Is there any config trick to make hotswap
possible?
I prefer a simple startup rather than those complicated remote debugging.
|
|
|
Re: Debug servlet with Tomcat require restart after each modification [message #152323 is a reply to message #152267] |
Wed, 14 December 2005 16:08 |
Eclipse User |
|
|
|
Originally posted by: whisk_whisk.yahoo.com
Nitin Dahyabhai wrote:
> WHiSK wrote:
>> I am now using the eclipse 3.1.1, WTP 1.0RC4, and Tomcat 5.0 as my
>> development platform.
>>
>> The Tomcat is started in debug mode and all break points are stopped
>> successfully.
>>
>> However, everytime I have modified a servlet, even just adding a blank
>> space, triggers a restart of the Tomcat server.
>>
>> What I expect is the hotswap of the classes with no structual change.
>> How should I configure the Eclipse and Tomcat to achieve this?
> You mean an actual Servlet class? You might want to open a bug if
> you're seeing this and Sysdeo's plugin handles it better.
yup... a Servlet class, or even a HTML page change will trigger a restart.
I tried Sysdeo's plugin but the settings are not user friendly, and seems
do not support multiple server.
May I ask one more question? Is this just happen on wtp with tomcat? how
about wtp with websphere?
Thanks all!
|
|
|
|
|
|
Re: Debug servlet with Tomcat require restart after each modification [message #152673 is a reply to message #152648] |
Sat, 17 December 2005 06:03 |
Eclipse User |
|
|
|
Originally posted by: whisk_whisk.yahoo.com
Darryl L. Miles wrote:
> WHiSK wrote:
>> or we can simple double click on the Server->Server
>> Configuration->Modules->Edit->Untick Auto Reloading Enabled
> You know I have completely forgotten that "Modules" tab exists. There
> was another query open for changing the Context path for a WebModule.
> This looks like the place in UI that should do the trick.
> Darryl
Yup~ exactly! but that tab can easily be ignored. the tab size should be
made bigger! it is toooo small now, i noticed it just by luck. >_<
happy programming!
|
|
|
Powered by
FUDForum. Page generated in 0.04062 seconds