Resin and Jboss plugins seems to collide

Someone's not doing something right. I don't know who it is. If you have
both the Jboss and Resin plugins installed, and you setup a module to first
use Jboss, run the module, stop, go add a new resin instance, and try to
switch it to Jboss, the configuration screen goes completely blank and just
sits there. If you close that window anyway, you'll see that the resin
plugin still has the little red Fix It icon at the bottom right, if you try
to click that again, then you get the same behavior.

The only way around this is to deinstall the Jboss plugin and restart idea,
at which point you go back in setup the resin plugin properly and all is
well from there.

I suspect the added jboss deployment descriptor is not getting yanked from
the configuration or something, causing the whole process to hang, but
that's a guess and the only thing different about the jboss plugin. I don't
get this problem with Tomcat/Resin switching.

R

3 comments

I tried to create a detailed step-by-step description to reproduce this. Could you please check (or correct) it?

- install both JBoss and Resin plugin
- create a JBoss server instance
- create a new project
- create a JBoss (WEB/EJB???) module
- create a JBoss run configuration
- run it, then stop it
- create a Resin server instance
- open module settings
- change application server from JBoss to Resin
-> bang!

0

I suspect the added jboss deployment descriptor is
not getting yanked from
the configuration or something, causing the whole
process to hang, ...


It's just the other way round: the code which is removing the deployment descriptor is called twice by IDEA, leading to a NPE on the second invocation. (Do you see this NPE in the idea log?)

I created a new version which includes some tests prior to removing the deployment descriptor. My tests (switching between JBoss and Resin) work well now.

0

Excellent, thanks.

R


On 9/10/04 9:18 AM, in article
20533728.1094822328934.JavaMail.itn@is.intellij.net, "Martin Fuhrer"
<mf@fuhrer.com> wrote:

>> I suspect the added jboss deployment descriptor is
>> not getting yanked from
>> the configuration or something, causing the whole
>> process to hang, ...


It's just the other way round: the code which is removing the deployment
descriptor is called twice by IDEA, leading to a NPE on the second invocation.
(Do you see this NPE in the idea log?)

I created a new version which includes some tests prior to removing the
deployment descriptor. My tests (switching between JBoss and Resin) work well
now.


0

Please sign in to leave a comment.