Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Eclipse Europa Hotswap Tomcat
Eclipse Europa Hotswap Tomcat [message #205787] Fri, 14 December 2007 00:14 Go to next message
Eclipse UserFriend
Originally posted by: jo.flores.gmail.com

Hello,

How do you setup hotswaping on-the-fly when running TOMCAT or any server?
It seems that anytime you change java code WTP publishes the changes, but
also restarts the server. Additionally in some case it crashes the server
so you have to stop have to manually stop the server and start again.
This really slows down development time.
Re: Eclipse Europa Hotswap Tomcat [message #205892 is a reply to message #205787] Fri, 14 December 2007 22:15 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
J F wrote:
> Hello,
>
> How do you setup hotswaping on-the-fly when running TOMCAT or any
> server? It seems that anytime you change java code WTP publishes the
> changes, but also restarts the server. Additionally in some case it
> crashes the server so you have to stop have to manually stop the server
> and start again. This really slows down development time.

If the change triggers a context reload, then you can probably ignore
the "Restart" status. The "Restart" is an assumption on the part of the
publishing framework upon which the Tomcat plug-ins are built which is
not aware of what Tomcat may do internally. Note that it is not
uncommon for the old context to leak and not fully garbage collect.
This means for a given heap size you may get a limited number of reloads
before you have to restart the server to fully clean up. There are
other things you can do, but exactly what and how depends on the use
case. If you can provide more detail, I'll see what else I can suggest.

Cheers,
Larry
Previous Topic:AXIS java client to consume .NET web services
Next Topic:Is the value of eNS_URI in JspPackage.java wrong?
Goto Forum:
  


Current Time: Thu Apr 18 16:28:39 GMT 2024

Powered by FUDForum. Page generated in 0.01885 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top