I have a custom Script plugin that I have successfully added to 2 servers but on a third server I get this error: ________________________________
Unable to connect to the Agent. Cause: javax.ejb.EJBException:java.lang.RuntimeException: Error adding Script Server resource to inventory as a child of the resource with id 10439 - cause: Server specified unknown Resource type: ResourceType[id=10251, category=Server, name=Script Server, plugin=businessObjects] -> java.lang.RuntimeException:Error adding Script Server resource to inventory as a child of the resource with id 10439 - cause: Server specified unknown Resource type: ResourceType[id=10251, category=Server, name=Script Server, plugin=businessObjects] -> java.lang.IllegalStateException:Server specified unknown Resource type: ResourceType[id=10251, category=Server, name=Script Server, plugin=businessObjects] ________________________________
Resource 10251 is a Hibernate Server but I don't know why that is so. Here are the resources from Inventory:
Resource: id: 10439 name: CR Reporting Server - Dev version: Win32 5.2 currentAvailability: UP resourceType: Windows
Resource: id: 10251 name: org.rhq.core.domain.bundle.BundleVersion version: currentAvailability: UP resourceType: Hibernate Entity
Is there a UI page that allows me to look up a Resource ID? I couldn't seem to formulate a search in the UI and resorted to the CLI.
Al Amyot | Consultant Sierra Systems
I will be away on vacation Dec 25 to Jan 2.
(eHealth): 204-926-4257 (T): 204-942-2575 (F): 204-942-2047 444 St. Mary Avenue, Suite 1050 Winnipeg, MB R3C 3T1
Management Consulting | System Integration | Managed Services website: www.SierraSystems.com http://www.sierrasystems.com/
This email and/or any documents in this transmission is intended for the addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
Is there a UI page that allows me to look up a Resource ID? I couldn't seem to formulate a search in the UI and resorted to the CLI.
http://localhost:7080/admin/test/sql.jsp
That's a raw SQL page (you must be logged in as the "rhqadmin" admin user to see this and other test-admin pages). There is a EJB browser there too (see the link at the top) that you can walk around the data with.
I don't know why you are getting the error. BTW: the reference to ID 10251 in the log message is to a resource *type*, not a resource:
ResourceType[id=10251, category=Server, name=Script Server, plugin=businessObjects]
rhq-users@lists.stg.fedorahosted.org