-
1. Re: My application's war not found in EAR
ccrouch Dec 9, 2008 3:41 PM (in response to dreedatcmrg)We use the following mbean filter to find embedded wars
jboss.management.local:J2EEApplication="yourEAR",J2EEServer=Local,j2eeType=WebModule,*
(without the quotes around yourEAR)
It sounds like not all of your WARs match that filter.
Cheers -
2. Re: My application's war not found in EAR
dreedatcmrg Dec 10, 2008 10:40 AM (in response to dreedatcmrg)Thank you!
Dave -
3. Re: My application's war not found in EAR
h_ti Dec 16, 2008 4:09 AM (in response to dreedatcmrg)We have a similar problem with JBoss EAP 4.3.0.GA.
A few of our embedded WAR's never arrive in the server inventory.
The agent debug output shows, that the agent discovered the service correctly:
2008-12-16 09:02:36,834 DEBUG [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running Runtime discovery on parent resource: Resource[id=500611, type=Enterprise Application (EAR), key=jboss.management.local:J2EEServer=Local,j2eeType=J2EEApplication,name=mazi-2.2.0.ear, name=mazi-2.2.0.ear] looking for children of type: ResourceType[id=0, category=Service, name=Embedded Web Application (WAR), plugin=JBossAS]
2008-12-16 09:02:36,834 DEBUG [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.EmbeddedWarDiscoveryComponent)- Discovering MBean resources with object name query template: jboss.management.local:J2EEApplication=mazi-2.2.0.ear,J2EEServer=Local,j2eeType=WebModule,name=%name%
2008-12-16 09:02:36,840 DEBUG [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.EmbeddedWarDiscoveryComponent)- Found [1] mbeans for query [jboss.management.local:J2EEApplication=mazi-2.2.0.ear,J2EEServer=Local,j2eeType=WebModule,*].
2008-12-16 09:02:36,841 DEBUG [InventoryManager.discovery-1] (org.rhq.plugins.jbossas.EmbeddedWarDiscoveryComponent)- [1] services have been added
Thanks
Heiner -
4. Re: My application's war not found in EAR
h_ti Jan 13, 2009 2:51 AM (in response to dreedatcmrg)I still need help.
Who has an idea?
Heiner -
5. Re: My application's war not found in EAR
h_ti Mar 11, 2009 4:15 AM (in response to dreedatcmrg)see also topic
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151355
seems to be the distributable tag in web.xml causing the problem -
6. Re: My application's war not found in EAR
pilhuhn Mar 11, 2009 5:11 AM (in response to dreedatcmrg)Hi,
I will investigate this.
Does the war file correctly deploy in jboss as and just not show up in Jopr ?
Heiko -
7. Re: My application's war not found in EAR
h_ti Mar 11, 2009 5:18 AM (in response to dreedatcmrg)Hi,
yes it is only a Jopr server problem.
Heiner -
8. Re: My application's war not found in EAR
ips Mar 11, 2009 8:39 AM (in response to dreedatcmrg)I've created a JIRA for this issue: https://jira.jboss.org/jira/browse/JOPR-90