Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1870

JBoss JSR-88 DeploymentManager.getRunningModules returns no modules

XMLWordPrintable

      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.

              starksm64 Scott Stark (Inactive)
              fabcipriano_jira Fabiano C. de Oliveira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: