-
1. Re: Rhq server 4.6.0 cannot scan plugins
mazz Mar 25, 2013 10:19 AM (in response to lzmuda)The perspectives plugin is (was) a deprecated server side plugin that is no longer part of the server distribution. It has been removed.
Sounds like your upgrade was corrupted somehow. You should not be seeing this error since that plugin has been removed entirely from 4.6.0. You might want to review your upgrade steps to make sure you following them properly and look at the installer logs to make sure you didn't get any errors during the upgrade. Because I can see in our db-upgrade script the perspective plugin should have been completely removed:
<!-- The perspective server plugin type has been removed - delete perspective plugin from DB -->
...
<schemaSpec version="2.128">
DELETE FROM RHQ_PLUGIN WHERE NAME = 'CorePerspective'
...
So that tells me your database was not upgraded. Something happened during your upgrade procedures.
My initial guess is that you copied all your server-side plugins from your old 4.5 install and put them in your new 4.6 install's /plugins directory.
If that is what you did, go into the Adminsitration>Server Plugins page and delete the plugins that are no longer in 4.6 (just do a compare between a 4.5.1 and 4.6 install - one for sure that went away from the perspectives plugin - I am not sure what others went away. Not much more than that one I think.
-
2. Re: Rhq server 4.6.0 cannot scan plugins
lzmuda Mar 25, 2013 10:49 AM (in response to mazz)Thanks for your reply.
I didn't copied any plugins.
My database isn't upgraded, in table RHQ_PLUGINS, in column "version" I have 4.5.1...
In rhq-installer.log I've found only one error
14:19:10,540 ERROR [org.jboss.remoting.remote.connection] JBREM000200: Remote connection failed: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 0054777e to localhost/127.0.0.1:6999
-
3. Re: Rhq server 4.6.0 cannot scan plugins
mazz Mar 25, 2013 10:57 AM (in response to lzmuda)something really bad happened. Don't know what. You should attach your logs/rhq-installer.log file.
I'll assume you followed the new installation procedures (they are much different in 4.6 from 4.5) - https://docs.jboss.org/author/display/RHQ/Running+The+Installer
-
4. Re: Rhq server 4.6.0 cannot scan plugins
lzmuda Mar 25, 2013 11:24 AM (in response to mazz)Of course, I know all new procedures, I hope I did everything as I should. Here is my rhq-installer.log file.
14:18:29,518 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
14:18:29,843 INFO [org.rhq.enterprise.server.installer.Installer] Starting installer...
14:18:30,278 INFO [org.xnio] XNIO Version 3.0.3.GA
14:18:30,344 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
14:18:30,388 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
14:18:50,388 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Run the installer on this server.
14:18:50,543 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
14:18:50,859 INFO [org.rhq.enterprise.server.installer.Installer] Starting installer...
14:18:50,950 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] The server is preconfigured and ready for auto-install.
14:18:51,271 INFO [org.xnio] XNIO Version 3.0.3.GA
14:18:51,333 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
14:18:51,374 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
14:18:59,601 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Installing into app server version [7.1.1.Final]
14:19:00,939 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Database is supported: oracle10(oracle:10)
14:19:00,994 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Database setup log file directory: /export/home/vo/PROD/rhq-server-4.6.0/logs
14:19:01,502 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Database schema exists - it will now be updated.
14:19:03,063 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [ajp] to [${rhq.server.socket.binding.port.ajp:9009}]
14:19:03,408 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [http] to [${rhq.server.socket.binding.port.http:7087}]
14:19:03,512 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [https] to [${rhq.server.socket.binding.port.https:7443}]
14:19:03,616 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [jacorb] to [${rhq.server.socket.binding.port.jacorb:2528}]
14:19:03,701 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [jacorb-ssl] to [${rhq.server.socket.binding.port.jacorb-ssl:2529}]
14:19:03,790 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [messaging] to [${rhq.server.socket.binding.port.messaging:4446}]
14:19:03,867 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [messaging-throughput] to [${rhq.server.socket.binding.port.messaging-throughput:4457}]
14:19:03,952 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [management-http] to [${jboss.management.http.port:6990}]
14:19:04,025 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [management-https] to [${jboss.management.https.port:6443}]
14:19:04,118 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [management-native] to [${jboss.management.native.port:6999}]
14:19:04,198 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [osgi-http] to [${rhq.server.socket.binding.port.osgi-http:7090}]
14:19:04,278 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [remoting] to [${rhq.server.socket.binding.port.remoting:3448}]
14:19:04,348 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [txn-recovery-environment] to [${rhq.server.socket.binding.port.txn-recovery-environment:3712}]
14:19:04,434 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Setting socket binding [txn-status-manager] to [${rhq.server.socket.binding.port.txn-status-manager:3713}]
14:19:04,602 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Deployment scanner turned off.
14:19:04,683 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Default transaction timeout set to 600 seconds.
14:19:04,804 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Logging category org.rhq set to [INFO]
14:19:04,812 WARN [org.rhq.enterprise.server.installer.ServerInstallUtil] Could not generate a new cert with a proper domain name, will use the original keystore
14:19:04,985 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Creating https connector...
14:19:05,210 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] https connector created.
14:19:05,382 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Security domain [RHQDSSecurityDomain] already exists, skipping the creation request
14:19:05,467 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Credentials have been updated for security domain [RHQDSSecurityDomain]
14:19:05,482 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Security domain [RHQRESTSecurityDomain] already exists, skipping the creation request
14:19:05,523 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Cache container [rhq] already exists, skipping the creation request
14:19:05,602 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Local Cache [rhqCache] already exists, skipping the creation request
14:19:05,645 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Oracle JDBC driver is already deployed
14:19:05,659 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Postgres JDBC driver is already deployed
14:19:05,774 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Created datasources
14:19:06,310 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Enabled datasources
14:19:06,441 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] JMS queue [AlertConditionQueue] created
14:19:06,544 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] JMS queue [DriftChangesetQueue] created
14:19:06,656 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] JMS queue [DriftFileQueue] created
14:19:06,725 INFO [org.rhq.enterprise.server.installer.ServerInstallUtil] Mail service has been configured.
14:19:06,868 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Installing RHQ EAR startup subsystem extension
14:19:10,016 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Will now ask the app server to reload its configuration
14:19:10,072 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] App server has been successfully asked to reload its configuration
14:19:10,540 ERROR [org.jboss.remoting.remote.connection] JBREM000200: Remote connection failed: java.io.IOException: JBREM000202: Abrupt close on Remoting connection 0054777e to localhost/127.0.0.1:6999
14:19:17,831 INFO [org.rhq.enterprise.server.installer.InstallerServiceImpl] Installing RHQ EAR subsystem
14:20:41,316 INFO [org.rhq.enterprise.server.installer.Installer] Installation is complete. The server should be ready shortly.
-
5. Re: Rhq server 4.6.0 cannot scan plugins
mazz Mar 25, 2013 11:40 AM (in response to lzmuda)1 of 1 people found this helpfulOn the surface, that all looks right to me.
I don't know why your perspective plugin is still around. It should have been removed during your oracle schema upgrade that happens early on in the install. That indicates to me something did not work right or something was misconfigured, but I can't say. I would keep an eye out for further issues - because I suspect your 4.6 install isn't 100% correct right now. Look in all your log files and perhaps you can see some errors that look like it might point the way to the source of the problem.
Keep in mind that you can remove plugins from the Administration plugin pages :
-
6. Re: Rhq server 4.6.0 cannot scan plugins
lzmuda Apr 4, 2013 2:11 PM (in response to mazz)I deleted manualy row with name 'CorePerspective' from table RHQ_PLUGIN in my database and now it seems to be working correctly. Maybe it's not the best solution, but it works. Thanks for your patience.