PDA

View Full Version : How to debug resin with resin Eclipse plugin ?


jiucai
03-30-2011, 01:34 AM
How to debug resin with resin Eclipse plugin ?

I installed the resin Eclipse(3.6) plugin, and run resin successful, but debug is not valid.
When add application to resin server , resin make build and create a war file.
and there is no log printed at eclipse console.

anyone take me out?

reza
04-01-2011, 10:28 PM
jiucai,

What plug-in are you using? Can you tell me the steps to reproduce the problem?

Thanks,
Reza

jiucai
04-02-2011, 09:22 AM
I installed resin-eclipse plugin http://caucho.com/eclipse/

http://caucho.com/eclipse/plugins/com.caucho.common_4.0.15.jar
http://caucho.com/eclipse/plugins/com.caucho.quercus.launch.ui_4.0.15.jar
http://caucho.com/eclipse/plugins/com.caucho.quercus.launcher_4.0.15.jar
http://caucho.com/eclipse/plugins/com.caucho.resin.eclipse_4.0.15.jar

this plugin is official that provided by caucho , I can use it to debug app with resin 3.x

But it not work with resin 4.x
When debugging, I seted breakpoint and it never break.
And Console does not print logged message.

I you do not understand what I said, just use Eclipse 3.6 (Helios Version)
and resin-eclipse plugin to debug any jee web app.

Thanks for your reply and waiting you have a solution.

reza
04-02-2011, 09:27 PM
jiucai,

What Resin version are you using? I'll try to reproduce the problem ASAP.

Thanks,
Reza

alex
04-04-2011, 05:01 PM
jiucai,

This problem is fixed in resin-eclipse plugin 4.0.16. Please do the following
- remove servers that you created with 4.0.15 plugin
- remove resin plugin
- remove any mention of com.caucho artifacts from RESIN_HOME/artifacts.xml
- remove plugins/com.caucho*
- remove features/com.caucho*

Then reinstall the plugin from http://www.caucho.com/eclipse – this was updated to 4.0.16

Alex