"Caused by: java.lang.NoClassDefFoundError" ERROR during JON 3.2 installation.
Environment
- Red Hat JBoss Operations Network (JON)
- 3.2
Issue
- Getting below Error during JON installation:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.jacorb.naming-service: org.jboss.msc.service.StartException in service jboss.jacorb.naming-service: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) [rt.jar:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) [rt.jar:1.6.0]
at java.lang.Thread.run(Thread.java:738) [vm.jar:1.6.0]
Caused by: java.lang.NoClassDefFoundError: org.jacorb.orb.Reference (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140) [vm.jar:1.6.0]
at org.jacorb.orb.Delegate.getReference(Delegate.java:907)
at org.jacorb.orb.ORB.getReference(ORB.java:1018)
at org.jacorb.poa.POA.getReference(POA.java:1319)
at org.jacorb.poa.POA.create_reference_with_id(POA.java:946)
at org.jboss.as.jacorb.service.CorbaNamingService.start(CorbaNamingService.java:82)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
... 3 more
Resolution
Sometimes below query helps to resolve the issue.
SQL> truncate table rhq_storage_node;
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
