Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Eclipse Europa Hotswap Tomcat
Eclipse Europa Hotswap Tomcat [message #205787] Thu, 13 December 2007 19:14 Go to next message
Eclipse User
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 17:15 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1287
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 24 02:07:22 EDT 2014

Powered by FUDForum. Page generated in 0.02813 seconds