-
Bug
-
Resolution: Done
-
Major
-
JBossAS-4.0.2 Final
-
None
-
Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
I´m testing the JBoss JSR-88 plug-in and the implemented methods getRunningModules return no running modules in the JBoss and the getNonRunningModules return all available modules.
I know that JSR-88 is in development phase so I´d like to help if possible, because I need him in my project.
When I looked the code I found that this is caused by the class org.jboss.deployment.spi.JMXTarget in line 170 new TargetModuleIDImpl(this, module, null, false);
So TargetModuleIDImpl is always created non running. My fix was :
boolean isRunning = DeploymentState.STARTED == info.state;
TargetModuleID tmid = new TargetModuleIDImpl(this, module, null, isRunning);
But exist some modules that have a stata equal START_DEPLOYER Can I consider this a running state ?
Regards,
Fabiano.