]
Heiko W. Rupp updated JOPR-90:
------------------------------
Attachment: test-distributed.war
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
Assignee: Heiko W. Rupp
Attachments: test-distributed.war
Original Estimate: 2 hours, 30 minutes
Remaining Estimate: 2 hours, 30 minutes
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: