java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class

Oracle Community | 666705 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting LinkageError when deploying in WebLogic9.2, used to work in 8.1

    Oracle Community | 9 years ago | 666705
    java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraints violated when linking javax/xml/namespace/QName class

      at org.apache.axis.encoding.DefaultTypeMappingImpl.getSingletonDelegate()
    2. Axis Web Services
      AxisServletBase.init
      1. org.apache.axis.encoding.DefaultTypeMappingImpl.getSingletonDelegate(DefaultTypeMappingImpl.java:87)
      2. org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl.java:155)
      3. org.apache.axis.encoding.TypeMappingRegistryImpl.<init>(TypeMappingRegistryImpl.java:149)
      4. org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:449)
      5. org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)
      6. org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)
      7. org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
      8. org.apache.axis.AxisEngine.init(AxisEngine.java:172)
      9. org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
      10. org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
      11. org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)
      12. org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)
      13. org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
      14. org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)
      15. org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
      16. org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
      16 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:256)
      1 frame
    4. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:278)
      1 frame
    5. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    6. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    7. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
      2. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
      3. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
      4. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
      5. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1715)
      6. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1692)
      7. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1612)
      8. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2750)
      9. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
      10. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
      10 frames
    8. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      1 frame
    9. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    10. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      4 frames
    11. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    12. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
      3 frames
    13. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      1 frame
    14. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      2. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
      2 frames
    15. weblogic.deploy.internal
      DeploymentServiceDispatcher.commit
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      2. weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
      3. weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
      4. weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
      5. weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
      6. weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
      7. weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
      8. weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
      9. weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
      10. weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
      10 frames
    16. weblogic.deploy.service
      DeploymentReceiverCallbackDeliverer$2.run
      1. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
      2. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
      3. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
      3 frames
    17. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
      2. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      3. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      3 frames