[16:02:03] <pilhuhn> mazz, jshaughn 16:01:38,630 ERROR [org.rhq.enterprise.server.core.StartupBean] (EJB default - 9) Plugin scan failed. Cause: java.lang.ClassNotFoundException:org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.PerspectivePluginDescriptorType from [Module "deployment.rhq.ear.rhq-enterprise-server-ejb3.jar:main" from Service Module Loader] [16:02:11] <pilhuhn> Is that something known? [16:02:33] <pilhuhn> (or is my local setup flawed ?) [16:02:33] <mazz> pilhuhn: the perspective stuff has been deleted [16:02:36] <mazz> you have a bad build [16:03:38] <mazz> or... and I didn't think of this - the perspective plugin in the DB [16:03:41] <mazz> hmmm [16:03:48] <mazz> this might be a problem for upgrades [16:03:52] <mazz> crap [16:04:01] <mazz> need to think about this - but I'm on a conf call right now [16:04:06] <mazz> can you write a BZ on this? [16:04:20] <pilhuhn> yes [16:04:25] <mazz> log the error and do a "select * from RHQ_PLUGIN" and post the content in the BZ rhqdev=# select name,version from rhq_plugin; name | version ---------------------------------+---------------- alert-microblog | 4.6.0-SNAPSHOT script2 | 4.6.0-SNAPSHOT pattern-generator | 4.6.0-SNAPSHOT Twitter | 4.6.0-SNAPSHOT Virtualization | 4.6.0-SNAPSHOT NetworkServices | 4.6.0-SNAPSHOT Tomcat | 4.6.0-SNAPSHOT CorePerspective | 1.0 JMX | 4.6.0-SNAPSHOT JBossAS5 | 4.6.0-SNAPSHOT No-op | 4.6.0-SNAPSHOT RHQAgent | 4.6.0-SNAPSHOT Kickstart | 1.0 mod_cluster | 4.6.0-SNAPSHOT
OK, for upgrade scenarios, we need a dbupgrade step to purge the core perspective plugin from the RHQ_PLUGIN table. That is an obsolete plugin (and the entire plugin type has gone away).
I believe this will fix it: <!-- The perspective server plugin type has been removed - delete perspective plugin from DB --> <schemaSpec version="2.128"> <schema-directSQL> <statement> DELETE FROM RHQ_PLUGIN WHERE NAME = 'CorePerspective' </statement> </schema-directSQL> </schemaSpec>
committed in the rhq-on-as7 branch - this will be merged to master shortly commit hash: dadcd3f when this gets to master, QA just needs to test db upgrade normally from an old RHQ release (say, prior to the AS7 integration)
git commit to master: 59514c1
Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue.