Bug 535588 (RHQ-2268)

Summary: Sub plugin cannot its services into a subcategory from the parent plugin
Product: [Other] RHQ Project Reporter: Jean Deruelle <jean.deruelle>
Component: Core ServerAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: cwelton, hrupp
Target Milestone: ---Keywords: SubBug
Target Release: RHQ 4.9   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2268
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-23 08:48:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628    

Description Jean Deruelle 2009-07-24 12:04:00 UTC
See Issue in Jopr https://jira.jboss.org/jira/browse/JOPR-188

I moved my Mobicents Sip Servlets jopr plugin (http://code.google.com/p/mobicents/source/browse/trunk/servers/sip-servlets/jopr-plugin) to the latest version of Jopr 2.2 but I ran into a problem 
It seems it doesn't recognize the Applications subcategory from the parent JBoss As plugin 
Here is a snippet of my rhq-plugin.xml 
<service name="Embedded Converged Sip/Web Application (SAR/WAR)" 
subCategory="Applications" 
class="org.rhq.plugins.mobicents.servlet.sip.ConvergedWarComponent" 
discovery="org.rhq.plugins.mobicents.servlet.sip.EmbeddedConvergedWarDiscoveryComponent" 
description="SIP/Web Application embedded inside of an Enterprise Application" 
createDeletePolicy="neither"> 
<runs-inside> 
<parent-resource-type name="JBossAS Server" plugin="JBossAS"/> 
</runs-inside> 

by removing the subCategory="Applications" it works. But the thing end up in the wrong place ie above the Applications branch in the tree on the left hand side of the screen

Comment 1 Red Hat Bugzilla 2009-11-10 21:01:08 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2268


Comment 2 wes hayutin 2010-02-16 16:56:00 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 17:01:07 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-11-22 19:41:27 UTC
jsanda - can you look at this in the context of your metadat update work?

Comment 5 John Sanda 2010-11-30 20:50:00 UTC
I will go ahead and look into this and report back my findings.

Comment 6 Heiko W. Rupp 2013-07-23 08:48:27 UTC
master e85abcf

"Duplicate" of Bug 796480

*** This bug has been marked as a duplicate of bug 796480 ***