Details
-
Bug
-
Resolution: Done
-
Critical
-
JDG 7.0.0 ER1
Description
Hello Sebastian,
let me describe you another (hopefully) small JON plugin related issue. This time it's about INVM library plugin.
It is not possible to override old plugin version due to an error I will paste here:
10:10:05,930 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/coregui]] (http-/0.0.0.0:7080-1) org.rhq.coregui.CoreGUI PluginFileUploadServlet: file was uploaded: infinispan-rhq-plugin-8.3.0.ER1-redhat-1.jar
10:10:05,938 INFO [org.rhq.coregui.server.gwt.PluginFileUploadServlet] (http-/0.0.0.0:7080-1) A new plugin [infinispan-rhq-plugin-8.3.0.ER1-redhat-1.jar] has been uploaded to [/home/hudson/jon-server-3.3.0.GA/jbossas/standalone/tmp/upload__12f5e6d6_1538a0fd154__8000_00000004.tmp]
10:10:05,948 INFO [org.rhq.coregui.server.gwt.PluginFileUploadServlet] (http-/0.0.0.0:7080-1) A new plugin has been deployed [/home/hudson/jon-server-3.3.0.GA/plugins/infinispan-rhq-plugin-8.3.0.ER1-redhat-1.jar]. A scan is required now in order to register it.
10:11:09,092 ERROR [org.rhq.core.clientapi.descriptor.AgentPluginDescriptorUtil] (EJB default - 1) Validation fatal error while parsing [infinispan-rhq-plugin-8.3.0.ER1-redhat-1.jar:META-INF/rhq-plugin.xml] at line 114, column 175: cvc-identity-constraint.4.1: Duplicate unique value [Statistics.resetStatistics] declared for identity constraint "service-operation" of element "service".
10:11:09,098 WARN [org.rhq.enterprise.server.core.plugin.PluginDeploymentScanner] (EJB default - 1) Does not look like [/home/hudson/jon-server-3.3.0.GA/plugins/infinispan-rhq-plugin-8.3.0.ER1-redhat-1.jar.fixme] is a plugin jar -(Cause: java.lang.NullPointerException:no xml descriptor found in jar). It will be ignored. Please fix that file or remove it.
It should be enough just rename one of the Statistics.resetStatistics – maybe to add a bit more descriptive name or... I don't know from top of my head.
Thanks!