Eclipse Europa Hotswap Tomcat [message #205787] |
Thu, 13 December 2007 19:14  |
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 1.03668 seconds