Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004417 [Resin] major always 03-01-11 08:29 04-07-11 09:50
Reporter stoty View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed   Product Version 4.0.15
Summary 0004417: Debugging does not work with 4.0.15 version of the Eclipse plugin
Description After upgrading the caucho resin Eclipse plugin to the current version (4.0.15) from the update site, debugging no longer works from within eclipse.
Additional Information I spent some time chasing the problem down, and it caused by the change where 4.0.15 starts <mainClass>com.caucho.boot.ResinBoot</mainClass> instead of <mainClass>com.caucho.server.resin.Resin</mainClass>. ResinBoot forks, and starts an other JVM, to which eclipse does not seem to have debugging access.

I have replaced the <start> ... </start> section of resin40-in-place.serverdef with the <start> ... </start> section from the 4.0.2 version of the plugin I had laying around, and debugging works fine with that change.

So It seems either the change needs to be reverted, so that eclipse starts resin directly, without the watchdog, or some way needs to be found that propagates the debugging connection from eclipse to the forked JVM.

Personally, I think that there is no point in having a watchdog for a server that is started by eclipse.

Attached Files

- Relationships

- Notes
04-07-11 09:50

updated plugin is available at [^]
Update instructions
- clean out any mention of com.caucho* from ECLIPSE_HOME/artifacts.xml
- ECLIPSE_HOME/plugins
- ECLIPSE_HOME/features
-delete *jst* and *wst* from your workspace's .metadata

- Issue History
Date Modified Username Field Change
03-01-11 08:29 stoty New Issue
04-07-11 09:48 alex Status new => assigned
04-07-11 09:48 alex Assigned To  => alex
04-07-11 09:50 alex Status assigned => closed
04-07-11 09:50 alex Note Added: 0005177
04-07-11 09:50 alex Resolution open => fixed
04-07-11 09:50 alex Fixed in Version  => 4.0.16

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker