tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paolo Spadafora" <>
Subject R: Eclipse WTP + Tomcat Debug
Date Wed, 11 Feb 2009 08:57:44 GMT
Hi David,
With eclipse WTP you can debug a web application without restart tomcat
(except a few cases, like changes on a struts config).
It runs an instance of tomcat using a temp folder to deploy webapp
(exploded) and some custom xml configuration (adds a few special tags inside
server.xml and web.xml).
I think what we need is something like the JBoss plugin not WTP.
The JBoss plugin does something very simple, keeps in synch your webapps and
ejbs by copying the compiled classes (and project files) under the
deployment folder, like mywebapp.war or myejb.jar, but these are folders,
not files.
Basically the tomcat-openejb plugin should do a few simple things:
- start its own customized instance of tomcat with a pre-deployed
application: openejb.war 
- keep a list of deployed application (eg: a Web Application "webapp" and an
EJB "ejb")
- intercept changes to deployed webapp files or class compilation and synch
with tomcat copy
- intercept changes to deployed ejb and synch with the filesystem/openejb,
like runtime class loading/replacement
- undeploy and clean (temp files, etc)

For instance, for point 1, the plug-in should dynamically crate a temp
folder where to run openejb-tomcat, set openejb home for you, set bootstrap
jars, etc. usually they do in the plug-in folder:
There is more, but I think is enough to give you an idea.


-----Messaggio originale-----
Da: David Blevins [] 
Inviato: mercoledì 11 febbraio 2009 6.15
Cc: Karan Malhi
Oggetto: Eclipse WTP + Tomcat Debug

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.


View raw message