Hide Forgot
Description of problem: Tomcat plugin: wrong metadata for "Tomcat Virtual Host" component Version-Release number of selected component (if applicable): 4.7 and up How reproducible: Always Steps to Reproduce: 1. Inventory a Tomcat server 2. Click on "Create Child > Tomcat Virtual Host" Actual results: === org.rhq.core.clientapi.agent.PluginContainerException: Component does not support the [org.rhq.core.pluginapi.inventory.CreateChildResourceFacet] interface: ResourceContainer[resource=Resource[id=10004, uuid=78283a3a-f8d3-4a5b-9b92-e966a4bba150, type={Tomcat}Tomcat Server, key=/home/tsegismont/Tools/apache-tomcat-7.0.37, name=Tomcat (127.0.0.26:8080), parent=localhost.localdomain, version=7.0.37.0], syncState=SYNCHRONIZED, componentState=STARTED, avail=UP] === Additional info: The agent plugin validator shows this error message: === Component class [org.jboss.on.plugins.tomcat.TomcatServerComponent] for resource type [Tomcat Server] from plugin [Tomcat] does not support the child creation facet but has metadata saying it can. ===
Email sent to the devel list: https://lists.fedorahosted.org/pipermail/rhq-devel/2013-December/003275.html
Rémy, I'm assigning this BZ to you as you authored commit 417fbb5. "Tomcat Virtual Host" resources should not be creatable or the TomcatServerComponent should implement CreateChildResourceFacet. Thanks, Thomas