Error while updating a custom plugin
gerrie Jan 20, 2010 6:46 AMUploading the plugin works fine:
2010-01-20 12:19:19,380 INFO [org.rhq.enterprise.gui.admin.plugin.InstalledPluginsUIBean] A new plugin [jopr-mirage-plugin-1.0.3.jar] has been uploaded to [C:\WINDOWS\TEMP\36f68642-1264b2b3bdb--7ffd57969.upload]
2010-01-20 12:19:19,400 INFO [org.rhq.enterprise.gui.admin.plugin.InstalledPluginsUIBean] A new plugin has been deployed [D:\jopr-server-2.3.1\jbossas\server\default\deploy\rhq.ear\rhq-downloads\rhq-plugins\jopr-mirage-plugin-1.0.3.jar]. A scan is required now in order to register it.
Then I do a 'Scan For Updates" and its seems that the tx cannot aquire a lock (ORA-02049):
2010-01-20 12:19:44,928 INFO [org.rhq.enterprise.server.core.plugin.ProductPluginDeployer] Rediscovered agent plugin [Mirage]
2010-01-20 12:19:44,928 INFO [org.rhq.enterprise.server.core.plugin.ProductPluginDeployer] Newer version of [Mirage] plugin found (version 1.0.3) - older version (1.0.2) will be ignored.
2010-01-20 12:19:44,938 INFO [org.rhq.enterprise.server.core.plugin.ProductPluginDeployer] Deploying [1] new or updated agent plugins: [Mirage]
2010-01-20 12:19:44,938 INFO [org.rhq.core.clientapi.agent.metadata.PluginDependencyGraph] Optional plugin [JBossAS5] was requested by plugins [[Hibernate]] but it does not exist in the dependency graph yet and will be ignored
2010-01-20 12:19:44,938 INFO [org.rhq.core.clientapi.agent.metadata.PluginDependencyGraph] Optional plugin [JBossAS5] was requested by plugins [[Hibernate]] but it does not exist in the dependency graph yet and will be ignored
2010-01-20 12:19:44,938 INFO [org.rhq.core.clientapi.agent.metadata.PluginDependencyGraph] Optional plugin [JBossAS5] was requested by plugins [[Hibernate]] but it does not exist in the dependency graph yet and will be ignored
2010-01-20 12:19:46,871 INFO [org.rhq.enterprise.server.resource.ResourceManagerBean] User [org.rhq.core.domain.auth.Subject[id=1,name=admin]] is marking resource [Resource[id=11171, type=Mirage dashboard MBean, key=mirage:name=dashboard, name=mirage:name=dashboard, parent=devmirage JBossAS 4.2.2.GA mirage (devmirage:1099)]] for asychronous deletion
2010-01-20 12:20:47,461 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 2049, SQLState: 42000
2010-01-20 12:20:47,461 ERROR [org.hibernate.util.JDBCExceptionReporter] ORA-02049: Time-out: distributed tx waits for lock
2010-01-20 12:20:47,461 ERROR [org.rhq.enterprise.server.resource.ResourceManagerBean] Bulk named query delete error for 'InstalledPackage.deleteByResources' for [11171]: org.hibernate.exception.SQLGrammarException: could not execute update query
I already restarted the Jopr server but the problem persists. Is there a workaround for this problem? E.g. remove the plugin and install it for scratch, but you can't seem to remove a plugin ...
Gerrie
-
jopr-server-log.txt.zip 5.3 KB