Bug 1028059 - java.lang.ClassNotFoundException: SystemManagerBean; bug in classloader?
java.lang.ClassNotFoundException: SystemManagerBean; bug in classloader?
Status: NEW
Product: RHQ Project
Classification: Other
Component: Core Server (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
Depends On:
  Show dependency treegraph
Reported: 2013-11-07 10:05 EST by Elias Ross
Modified: 2013-11-14 03:03 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Elias Ross 2013-11-07 10:05:57 EST
Description of problem:

I've been periodically seeing this logged (every few minutes or so):

15:02:01,925 ERROR [org.rhq.enterprise.server.remote.RemoteSafeInvocationHandler] (http-/ Failed to invoke remote request: java.lang.ClassNotFoundException: SystemManagerBean from [Module "deployment.rhq.ear.rhq-server.jar:main" from Service Module Loader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]

Obviously it exists.

$ locate SystemManagerBean

I wonder if there is a race condition in the class loader. Not seeing this on other servers.

Version-Release number of selected component (if applicable): 4.9

How reproducible: Probably rare. Maybe if the server is started under heavy load.

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Comment 1 Elias Ross 2013-11-14 03:03:04 EST
Restarting the server does not fix the issue. The server definitely has a lot of clients, though.

The confusing thing is why the name of the class is unqualified. I don't really have the full context, but what is being thrown is:

/* 190 */     throw new ClassNotFoundException(className + " from [" + module + "]");

I would expect the class name to have the package. Is this coming from a 4.5.1 agent?

Note You need to log in before you can comment on or make changes to this bug.