[jopr-issues] [JBoss JIRA] Created: (JOPR-90) jboss-as plugin: webapps with the distributable tag in web.xml are not autodiscovered

Ian Springer (JIRA) jira-events at lists.jboss.org
Wed Mar 11 08:39:24 EDT 2009


jboss-as plugin: webapps with the distributable tag in web.xml are not autodiscovered
-------------------------------------------------------------------------------------

                 Key: JOPR-90
                 URL: https://jira.jboss.org/jira/browse/JOPR-90
             Project: Jopr
          Issue Type: Bug
          Components: Plugin - JBoss AS 4
    Affects Versions: 2.1
            Reporter: Ian Springer


Clustered webapps (i.e. webapps whose web.xml contain the distributable tag) are not discovered by the jboss-as plugin. It looks like this is most likely due to the jboss.web:...type=Manager MBean not being present for clustered webapps...

All our webapps are deployed in the "deploy" directory. All our webapps match the "jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=..." pattern in the jmx-console (even those with the distributable tag), but we can see only 12 out of our 14 webapps.

The DeploymentUtility.getVhosts returns the list of the mbeans corresponding to the pattern : "jboss.web:host=%host%,path=" + WarDiscoveryHelper.getContextPath(contextRoot) + ",type=Manager".

There is no clustered webapp corresponding to this pattern.

Eg : in the jboss.web domain, we have
host=localhost,name=SecurityAssociationValve,path=/bsweb-siren,type=Valve
host=localhost,name=SecurityAssociationValve,path=/distri-web-1.0,type=Valve
host=localhost,name=SecurityAssociationValve,path=/doclistener,type=Valve
...
host=localhost,path=/distri-web-1.0,type=Manager
host=localhost,path=/doclistener,type=Manager

bsweb-siren is distributable and there is no "host=localhost,path=/bsweb-siren,type=Manager". So, getVHosts returns an empty list.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jopr-issues mailing list