-
1. Re: Error in plugin, how to resolve?
genman Mar 13, 2013 1:25 PM (in response to udayatom)15:19:15,531 ERROR [PluginMetadataManager] Error transforming plugin descriptor [SolartisTrailPlugin].
org.rhq.core.clientapi.agent.metadata.InvalidPluginDescriptorException: Type [{SolartisTrailPlugin}Users] is duplicate for this plugin. This is illegal.
at org.rhq.core.clientapi.agent.metadata.PluginMetadataManager.loadPlugin(PluginMetadataManager.java:178)
at org.rhq.enterprise.server.resource.metadata.PluginManagerBean.registerPluginTypes(PluginManagerBean.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
The error is you have a duplicate resource type name 'Users'. They all have to be unique within your plugin.
Next time post your rhq-plugin.xml within a quoted section, also the error (not zipped).
-
2. Re: Error in plugin, how to resolve?
udayatom Mar 14, 2013 8:51 AM (in response to genman)If i am using multiple server in my plugin as following, how to mention the resource type. Because i used only ResourceType resourceType = context.getResourceType(); all my java files. i dont know how to change the resource type value in each program. please help me where to am change
<server>
<server>
<service>
</service>
<service>
</service>
</server>
<server>
<service>
</service>
<service>
</service>
</server>
</server>
-
myproject.zip 5.0 KB
-
rhq-plugin.xml 6.8 KB
-
-
3. Re: Error in plugin, how to resolve?
mazz Mar 14, 2013 8:57 AM (in response to udayatom)udaya - I see you just posted this question again as a separate thread, which I just answered in that separate thread. However, here I see the same question posted earlier, and it turns out Elias has already answered you above. The answer looks right to me:
"The error is you have a duplicate resource type name 'Users'. They all have to be unique within your plugin."
Please don't post the same question on multiple threads, especially when someone already answered you. Keep the discussion in the same thread.
-
4. Re: Error in plugin, how to resolve?
udayatom Mar 14, 2013 11:25 AM (in response to mazz)Yes my friend, i want to say openly, my recent posts are not answered from our community friends. i worry about that lot. So some body see my post and give the solution. That making me to comfort, so suddenly i replied. then that reply result not enough me. So.. i posted as general discussion. This is what happens. I dont have any motivation to post to the multiple thread. If it is my questions are silly, Thats the status of me. I am daily studing our articles(because of my job is ready to plugins)I am updating. am the student now only i am entering to the organisation. please reply me friends. because many are read the post but not replied. i am about that. because i hope our community. please give the reply. This is our community, i only used share of knowledge. it's happens as accident. Again i say sorry john. its never happen again.