Issue When Starting WebLogic Server: "java.lang.LinkageError: loader constraint violation"

(Doc ID 1449366.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3 to 12.1.1.0
Information in this document applies to any platform.

Symptoms


On WLS 10.3.2 version with WLS Datasource component, when attempting to start WLS, the following error occurs:

Mar 30, 2012 3:18:47 PM oracle.jdbc.driver.OracleDriver registerMBeans
WARNING: Error while registering Oracle JDBC Diagnosability MBean.

java.lang.LinkageError: loader constraint violation: when resolving method "java.lang.management.ManagementFactory.getPlatformMBeanServer()Ljavax/management/MBeanServer;" the class loader (instance of com/cognos/pogo/isolation/ParanoidClassLoader) of the current class, oracle/jdbc/driver/OracleDriver, and the class loader (instance of <bootloader>) for resolved class, java/lang/management/ManagementFactory, have different Class objects for the type javax/management/MBeanServer used in the signature

at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:302)
at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:195)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.cognos.cm.dbstore.CMDbStoreFactory.loadJDBCDriver(CMDbStoreFactory.java:3107)
at com.cognos.cm.dbstore.CMDbStoreFactory.getInitialConnection(CMDbStoreFactory.java:1928)
at com.cognos.cm.dbstore.CMDbStoreFactory.initContentIndependentBeforeLock(CMDbStoreFactory.java:2111)
at com.cognos.cm.dbstore.CMDbStore.initializeContentIndependentBeforeLock(CMDbStore.java:4597)
at com.cognos.cm.server.CMServlet.initializeContentStoreContentIndependentBeforeLock(CMServlet.java:2321)
at com.cognos.cm.server.CMServlet.init(CMServlet.java:2046)
at com.cognos.cm.server.ContentManager.start(ContentManager.java:314)
at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:73)
at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:111)
at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:426)
at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:688)
at java.lang.Thread.run(Thread.java:619)

Changes

This could be a redeployment and adding new libraries.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms