Authors:
mj_quark
scuellar
BSD

Resin Plugin

Vendor: Magnus Johansson, Wayne Woodfield, Sergio Cuellar

Email: scuellar at users.sourceforge.net

Website: N/A

Description:

Provides the ability to run and debug Resin (version 2.x and 3.x) from within IDEA
Downloads: 28129
Rating:
Participated in rating: 16
Version Since Build Until Build File/URL Size (Kb) Date Dependency
5.1. 72.7361. . Download 99.63. 2008-10-13 15:11:41 com.intellij.javaee.
5.1. 72.7361. . Download 99.64. 2008-10-13 15:06:37 com.intellij.javaee.
5.0. 72.7361. . Download 92.1. 2008-09-26 17:03:08 com.intellij.javaee.
4.3. 72.7361. . Download 94.23. 2008-01-14 22:24:45 com.intellij.javaee.
4.2.1. 72.7361. . Download 95. 2008-01-08 16:23:38 com.intellij.javaee.
3.9.4. 55.5231. . Download 92.07. 2008-01-08 16:19:52 .
3.9.3. 55.5231. . Download 71.27. 2006-10-09 13:28:18 .
3.9.2. 55.5231. . Download 70.37. 2006-10-04 19:55:50 .
3.9.0. 55.5231. . Download 71.94. 2006-04-21 19:17:41 .
2.9.5. 40.3431. . Download 67.36. 2005-10-31 20:26:47 .
2.9.4. 40.3431. . Download 66.35. 2005-08-15 11:57:13 .
2.9.3. 40.3431. . Download 66.08. 2005-08-11 11:28:09 .
2.9.1. 40.3214. . Download 62.46. 2005-03-08 12:19:53 .
1.9.7. 40.2159. . Download 62.77. 2004-09-02 17:06:12 .
1.9.6. 40.2159. . Download 62.77. 2004-08-18 16:53:27 .
1.9.4. 40.2159. . Download 58. 2004-08-10 19:22:54 .
1.9.5. 40.2159. . Download 62.04. 2004-08-16 10:27:38 .
1.9.3. 40.2159. . Download 57.31. 2004-08-09 11:51:15 .
1.9.2. 40.2159. . Download 57.92. 2004-08-09 10:59:55 .
1.9.1. . . Download 57.28. 2004-08-09 10:50:14 .
2.9.2. 40.3311. . Download 66.07. 2005-04-28 12:17:25 .
1.0.1. . . Download 55.22. 2004-06-30 23:11:28 .
. .
Resin 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.

Comments:

scuellar
Rated: noRate
2009-01-22 13:45:34
Resin under IDEA 8. Please check this link:

http://www.jetbrains.net/jira/browse/IDEA-21413;jsessionid=2D4B9B21818B548CAB3046F9F62F0B09?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
.
Anonymous
Rated:
2009-01-17 21:06:56
Is there any timescale for a version that will work with 8 yet ?
.
Anonymous
Rated:
2008-12-15 22:17:00
when will it support IDEA 8?
we've been waiting...
.
wesley@263.net
Rated: noRate
2008-11-10 17:03:56
When will be IDEA 8.0 compatibility available?
Thanks for your great work.
.
scuellar
Rated: noRate
2008-10-21 11:53:40
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 :)
.
liqweed
Rated: noRate
2008-10-20 14:21:05
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
Rated:
2008-10-04 12:45:47
Now works on mac :)
.
scuellar
Rated: noRate
2008-01-11 17:57:21
You're right...
check sourceforge forum
.
dragisak
Rated: noRate
2008-01-11 05:45:05
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 ?
.
scuellar
Rated: noRate
2008-01-11 00:00:05
Take a look to the screenshoot that I uploaded.
Also confirm that all your source roots are checked
.
scuellar
Rated: noRate
2008-01-10 23:50:38
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
.
dragisak
Rated: noRate
2008-01-10 21:19:18
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
.
wesley@263.net
Rated: noRate
2008-01-10 07:18:11
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
Rated: noRate
2008-01-10 07:17:33
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.
.
dragisak
Rated:
2007-12-21 21:06:49
Thanks ! Debugging works now. Great work.
.
Anonymous
Rated: noRate
2007-12-21 20:22:24
Hi all,
New version of plugin available:
http://downloads.sourceforge.net/idearesinplugin/resin_plugin_4.2.1.jar.
.
Anonymous
Rated: noRate
2007-12-21 17:36:09
Hi all,
New version of plugin available:
http://downloads.sourceforge.net/idearesinplugin/resin_plugin_4.2.jar
.
Anonymous
Rated: noRate
2007-12-21 13:39:54
Thanks for the info.
Idea 7.x is very different as idea 6.x
We are still working in this plugin, and in the near future
.
dragisak
Rated: noRate
2007-12-20 23:16:08
Resin runs fine but I am unable to debug using this plugin.

Debugging works fine if I use remote debugging. It would be nice to use this plugin instead. Should I change resin.conf in some way ?

Resin 3.1.4, Idea 7.0.2, Resin plugin 4.1
.
Anonymous
Rated: noRate
2007-12-19 11:18:46
Hi all,
Version 4.1 of plugin resolves edit screen hangs.

You can download it here: http://downloads.sourceforge.net/idearesinplugin/resin_plugin_4.1.jar
.
Anonymous
Rated: noRate
2007-12-15 13:47:26
I can't run it for IDEA 7.0.1 using caucho-resin-4.0.jar. After I create run configuration, this configuration can't be read more. Trace log from idea.log:

2007-12-15 13:45:36,656 [ 34735] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.execution.impl
.RunConfigurable$4@1bf382a,notifier=null,catchExceptions=false,when=1197715536421] on sun.awt.windows.WToolkit@1a5f7d3
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.parseInt(Integer.java:497)
at org.intellij.j2ee.web.resin.ResinModel.getLocalPort(ResinModel.java:135)
at com.intellij.javaee.run.configuration.CommonStrategy.getPort(CommonStrategy.java:494)
at org.intellij.j2ee.web.resin.ResinModel.getUrlForBrowser(ResinModel.java:79)
at org.intellij.j2ee.web.resin.ResinModel.getDefaultUrlForBrowser(ResinModel.java:71)
at com.intellij.javaee.run.configuration.CommonStrategy.getDefaultUrlForBrowser(CommonStrategy.java:567)
at com.intellij.javaee.run.configuration.view.J2EERunCommonConfigurationEditor
.updateStartupPage(J2EERunCommonConfigurationEditor.java:163)
at com.intellij.javaee.run.configuration.view.J2EERunCommonConfigurationEditor
.onServerChanged(J2EERunCommonConfigurationEditor.java:90)
at com.intellij.javaee.run.configuration.view.J2EERunCommonConfigurationEditor
.access$700(J2EERunCommonConfigurationEditor.java:26)
at com.intellij.javaee.run.configuration.view.J2EERunCommonConfigurationEditor$4
.actionPerformed(J2EERunCommonConfigurationEditor.java:79)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1242)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:569)
at com.intellij.javaee.run.configuration.view.J2EERunCommonConfigurationEditor
.resetEditorFrom(J2EERunCommonConfigurationEditor.java:154)
at com.intellij.javaee.run.configuration.view.J2EERunCommonConfigurationEditor
.resetEditorFrom(J2EERunCommonConfigurationEditor.java:26)
at com.intellij.openapi.options.CompositeSettingsEditor
.resetEditorFrom(CompositeSettingsEditor.java:47)
at com.intellij.openapi.options.SettingsEditor.resetFrom(SettingsEditor.java:86)
at com.intellij.execution.impl.ConfigurationSettingsEditor$ConfigToSettingsWrapper
.resetEditorFrom(ConfigurationSettingsEditor.java:6)
at com.intellij.execution.impl.ConfigurationSettingsEditor$ConfigToSettingsWrapper
.resetEditorFrom(ConfigurationSettingsEditor.java:1)
at com.intellij.openapi.options.CompositeSettingsEditor
.resetEditorFrom(CompositeSettingsEditor.java:47)
at com.intellij.execution.impl.ConfigurationSettingsEditorWrapper
.resetEditorFrom(ConfigurationSettingsEditorWrapper.java:37)
at com.intellij.execution.impl.ConfigurationSettingsEditorWrapper
.resetEditorFrom(ConfigurationSettingsEditorWrapper.java:15)
at com.intellij.openapi.options.SettingsEditor.resetFrom(SettingsEditor.java:86)
at com.intellij.openapi.options.SettingsEditorConfigurable
.reset(SettingsEditorConfigurable.java:50)
at com.intellij.execution.impl.SingleConfigurationConfigurable
.reset(SingleConfigurationConfigurable.java:4)
at com.intellij.execution.impl.SingleConfigurationConfigurable
.editSettings(SingleConfigurationConfigurable.java:35)
at com.intellij.execution.impl.RunConfigurable$2
.valueChanged(RunConfigurable.java:12)
at javax.swing.JTree.fireValueChanged(JTree.java:2823)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3194)
at javax.swing.tree.DefaultTreeSelectionModel
.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel
.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel
.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.JTree.setSelectionPaths(JTree.java:1611)
at javax.swing.JTree.setSelectionRows(JTree.java:1684)
at javax.swing.JTree.setSelectionRow(JTree.java:1659)
at com.intellij.util.ui.tree.TreeUtil.showAndSelect(TreeUtil.java:486)
at com.intellij.util.ui.tree.TreeUtil.showAndSelect(TreeUtil.java:422)
at com.intellij.util.ui.tree.TreeUtil.showRowCentered(TreeUtil.java:418)
at com.intellij.util.ui.tree.TreeUtil.showRowCentred(TreeUtil.java:411)
at com.intellij.util.ui.tree.TreeUtil.selectPath(TreeUtil.java:349)
at com.intellij.util.ui.tree.TreeUtil.selectInTree(TreeUtil.java:692)
at com.intellij.util.ui.tree.TreeUtil.selectInTree(TreeUtil.java:681)
at com.intellij.execution.impl.RunConfigurable$4.run(RunConfigurable.java:10)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:53)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:92)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1089)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog
.show(DialogWrapperPeerImpl.java:30)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl
.show(DialogWrapperPeerImpl.java:76)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:774)
at com.intellij.execution.actions.EditRunConfigurationsAction
.actionPerformed(EditRunConfigurationsAction.java:2)
at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1
.run(PopupFactoryImpl.java:3)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:111)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:53)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:92)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
2007-12-15 13:45:36,671 [ 34750] ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 7.0.1 Build #7364
2007-12-15 13:45:36,671 [ 34750] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_02
2007-12-15 13:45:36,671 [ 34750] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2007-12-15 13:45:36,671 [ 34750] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2007-12-15 13:45:36,671 [ 34750] ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP
2007-12-15 13:45:36,671 [ 34750] ERROR - com.intellij.ide.IdeEventQueue - Last Action:
.
Anonymous
Rated: noRate
2007-12-05 14:33:02
There seems to be a bug, I can't modify the debug settings for resin.
.
Anonymous
Rated: noRate
2007-11-12 20:35:17
Hi all,
We have released 2 version of the plugin:
- 4.0: idea 7x compatible (supports resin 3.1.x). You can download it here: http://downloads.sourceforge.net/idearesinplugin/caucho-resin-4.0.jar

- 3.9.4: idea 6x (supports resin 3.1.x). You can download it here:
http://downloads.sourceforge.net/idearesinplugin/caucho-resin.jar

We are trying to contact Magnus or Plugin admin to update this page.

.
BacMan
Rated: noRate
2007-11-05 19:21:44
To the anonymous poster who commented that a plugin has been built for Intellij 7.0, can you please mail to me?

Thank you,
Michael
.
Anonymous
Rated: noRate
2007-11-05 00:00:38
Resin 3.1.x and IDEA 7 compatibility.
You can download the code from SVN repository at

sourceforge.net/projects/idearesinplugin
.
Anonymous
Rated: noRate
2007-11-05 00:00:18
Resin 3.1.x and IDEA 7 compatibility.
You can download the code from SVN repository at
http://sourceforge.net/projects/idearesinplugin
.
Anonymous
Rated: noRate
2007-11-04 23:59:52
Resin 3.1.x and IDEA 7 compatibility.
You can download the code from SVN repository at
http://sourceforge.net/projects/idearesinplugin
.
Anonymous
Rated:
2007-11-04 23:59:26
Resin 3.1.x and IDEA 7 compatibility.
You can download the code from SVN repository at
http://sourceforge.net/projects/idearesinplugin
.
Anonymous
Rated:
2007-11-04 23:58:49
Resin 3.1.x and IDEA 7 compatibility.
You can download the code from SVN repository at
http://sourceforge.net/projects/idearesinplugin
.
Anonymous
Rated: noRate
2007-11-02 23:25:46
I have a version of the plugin that we rebuilt for Resin 3.1 and works in IDEA 7. If you need it, please email matt at dzone.com.
.
Anonymous
Rated: noRate
2007-10-24 12:32:02
Hi

I have really missed this plugin since we upgraded to Resin 3.1. Please contribute any patches asap.

Thanks.
.
pdimonti
Rated:
2007-10-20 13:12:16
I would like to join.. because I patch plugin to work fine with resin 3.1.13 and also runs in IDEA 7
.
BacMan
Rated:
2007-10-15 23:41:02
I just found out this plug-in doesn't work with IntelliJ 7. Is there an ETA for and upgraded version?

Thank you,
BacMan
.
Anonymous
Rated:
2007-10-15 23:34:45
Does this plugin work with IntelliJ 7.0?
.
bgoodin
Rated: noRate
2007-08-14 22:17:17
For those wanting the source you can get it here:
http://sourceforge.net/projects/idearesinplugin/
.
bgoodin
Rated:
2007-08-11 02:53:07
Would love it if there was support for 3.1? Any reason why this plugin isn't open source?
.
Anonymous
Rated:
2007-08-03 10:15:31
Please - somebody comment on this (Resin plug-in author or Jetbrains). It is crucial for us to have the plugin working in the future. As somebody pointed out - we already experience a problem with the Caucho Resin 3.1 .x line. How about releasing the plug-in source code as open source ?
.
Anonymous
Rated: noRate
2007-07-25 18:21:25
Without this working on IntelliJ 7 it will prevent me from upgrading. Does anyone know if an upgrade is on its way?
.
Anonymous
Rated:
2007-06-29 15:39:45
Nice plugin, although it would be nice with support for Resin 3.1.x
.
Anonymous
Rated:
2007-06-23 16:56:26
I would love this plug-in to support Resin 3.1-line of server. Any way I can donate ?
.
Anonymous
Rated:
2007-05-19 12:25:26
don't work with resin 3.1.1 pro
.
scuellar
Rated:
2007-04-19 12:10:29
Doesn't work on Selene
.
Anonymous
Rated:
2007-01-29 09:03:20
Not detected Resin version 3.1.0 Pro
.
Anonymous
Rated: noRate
2006-12-21 04:24:00
.