Resin Plugin

Compatible with  IntelliJ IDEA
13.10.2008
32 921
Provides the ability to run and debug Resin (version 2.x and 3.x) from within IDEA

Download plugin

Recent change notes

  • 5.1 - Resin 3.2.0 support.
  • 5.0 - Mac compatible version (thanks to Eliseo Martinez).
  • 4.3 - Bug fix: multi module deployment on same resin server instance.
    Bug fix: ROME lib issue (thanks to Dragisa Krsmanovic).
    New: auto select resin.conf when create new server instances.
  • 4.2.1 - Bug fix: duplicate word 'resin.'
    Bug fix: port settings in Resin 3.1.x.
  • 4.2 - Bug fix: resin startup port and charset.
  • 4.1 - Bug fix: edit screen hangs.
  • 4.0 - IDEA 7.0 compatibility. Multilanguage support.
  • 3.9.4 - Auto detect Resin version. Resin 3.1.13 compatibility. New Resin icon.
  • 1.0 - Initial release.
Anonymous
17.01.2009
Is there any timescale for a version that will work with 8 yet ?
Anonymous
15.12.2008
when will it support IDEA 8?
we've been waiting...
10.11.2008
When will be IDEA 8.0 compatibility available?
Thanks for your great work.
21.10.2008
Hi liqweed,
We are glad to announce that our plugin will be part of the standard release of Intellij IDEA 8.
The plugin is still in development, so it won't work under IDEA 8 milestone 2, however it will work with IDEA 8.
Please be patient :)
20.10.2008
Doesn't work for IntelliJ 8 yet: I can configure Resin in the Application Servers dialog, but it's not available in the running configurations so I can't run/debug it from within IntelliJ.
Anonymous
04.10.2008
Now works on mac :)
11.01.2008
You're right...
check sourceforge forum
11.01.2008
Sergio,

I checked and my setup seems ok.

I bumped on this problem when I was writing a RSS module using Rome library. Rome will read rome.properties file that is placed in the root of your classpath. If you run Resin from Idea plugin it will not see rome.properties altho it's properly copied to WEB-INF/classes. I have bunch of other .properties in same location and my app reads them correctly from plugin or standalone Resin. The only difference is that, in this case, class file that is reading .properties file is packaged inside a jar file in lib dir.

My theory is that sun.misc.Launcher$AppClassLoader is reading jar file not from WEB-INF/lib but from the location in my Idea setup. And then looks for classpath root in that jar file, not in WEB-INF/classes.

Maybe we should move technical discussion to sourceforge forum ?
11.01.2008
Take a look to the screenshoot that I uploaded.
Also confirm that all your source roots are checked
10.01.2008
It works for me.
Please check following:
- Libraries dependant module (it should be your web module)
- In J2EE module tab, the library should be checked to "copy to -> WEB-INF/lib"

Resin plugin adds to classpath the following locations:
- All output dirs
- All dependant libraries
- App server libraries
10.01.2008
I've hit the same problem. It's a class loader issue. If you run Resin on it's own, it uses com.caucho.loader.EnvironmentClassLoader that reads classes from WEB-INF/lib and WEB-INF/lib dirs. But if you run it from Resin Plugin, it uses sun.misc.Launcher$AppClassLoader. In that cases it seems that it uses classpath set in your Idea settings. I had problems that classes packed in my library jar's couldn't read properties under WEB-INF/classes
10.01.2008
When run/debug an webapp in IDEA with version 4.2.1, resin started up but did not load any library in WEB-INF/lib folder of the webapp, thus caused java.lang.NoClassDefFoundError every time.

My webapp was deployed as "/" root webapp.
Anonymous
10.01.2008
When run/debug an webapp in IDEA with version 4.2.1, resin started up but did not load any library in WEB-INF/lib folder of the webapp, thus caused java.lang.NoClassDefFoundError every time.

My webapp was deployed as "/" root webapp.
21.12.2007
Thanks ! Debugging works now. Great work.
Please  sign in  to leave a comment.