tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karan Malhi <>
Subject Re: Eclipse WTP + Tomcat Debug
Date Fri, 13 Feb 2009 04:12:27 GMT
I am using maven-tomcat-plugin in eclipse and its working fine. I have not
run it in debug mode, but I have to redeploy the app if I make a change to
any .class or update a jar in the lib. Here is the tomcat documentation
which says that in development mode, tomcat would reload teh app if
reloadable is set to true


Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and
/WEB-INF/lib for changes, and automatically reload the web application if a
change is detected. This feature is very useful during application
development, but it requires significant runtime overhead and is not
recommended for use on deployed production applications. That's why the
default setting for this attribute is *false*. You can use the
application, however, to trigger reloads of deployed applications on
The maven-tomcat-plugin also redeploys the app when I make some change.

I do not know much about tomcat +WTP, but seems like whether debugging or
not, webapp is reloaded when classes/jars change in webapp.

Question:- Is it because of openejb + tomcat that you have to reload the
webapp while debugging, or do you have to do that anyway (for a tomcat
instance without  openejb)?

On Wed, Feb 11, 2009 at 12:14 AM, David Blevins <>wrote:

> On Feb 3, 2009, at 2:30 AM, Paolo Spadafora wrote:
>  To be able to work seriously I need to debug tomcat with embed openejb
>> using
>> WTP,
>> I know how to do it with remote debugger but doesn't work well, have to
>> re-deploy my ejb+webapp each time.
> Hi Paolo,
> I'm not familiar with the Tomcat support in the Eclipse WTP.  If you can
> tell me a bit about it that would be appreciated.
> Karan was mentioning something the other day regarding Eclipse/Tomcat and
> having to start/stop Tomcat after each change.  Cc'ing him as maybe he has
> some info also.
> -David

Karan Singh Malhi

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message