Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9552

java.lang.LinkageError: loader constraint violation: loader (instance of com/documentum/fc/client/impl/bof/classmgmt/URLClassLoaderEx) previously initiated loading for a different type with name "javax/xml/namespace/QName"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • JBossAS-5.1.0.GA
    • ClassLoading

      I work with Documentum platform, can any one adnise me with next proplem:

      First loaded from this part :
      [Loaded javax.xml.namespace.QName from /u01/documentum/ord/shared/jboss5.1.0/lib/endorsed/stax-api.jar]

      and then

      [Loaded javax.xml.namespace.QName from jar:file:/u01/documentum/ord/shared/jboss5.1.0/server/DctmServer_MethodServer/deploy/bpm.ear/bpm.war/WEB-INF/lib/sibc.jms.jar!/]
      18:25:09,251 INFO [STDOUT] 2013-11-12 18:25:09,250 ERROR [http-0.0.0.0-9080-49] [ru.company.dms.methods.workflow.integration.contractex.event.ATCWFExecuteEvent] - loader constraint violation: loader (instance of com/documentum/fc/client/impl/bof/classmgmt/URLClassLoaderEx) previously initiated loading for a different type with name "javax/xml/namespace/QName" .....................

      java.lang.LinkageError: loader constraint violation: loader (instance of com/documentum/fc/client/impl/bof/classmgmt/URLClassLoaderEx) previously initiated loading for a different type with name "javax/xml/namespace/QName"
      at oracle.apps.xxrt.xxcn348.contract.service.ContractServicePortBindingStub._initOperationDesc1(ContractServicePortBindingStub.java:30)
      at oracle.apps.xxrt.xxcn348.contract.service.ContractServicePortBindingStub.<clinit>(ContractServicePortBindingStub.java:20)
      at ru.company.esed.services.integration.contractex.dctm2oebs.common.AbstractWSClientContractEx.perform(AbstractWSClientContractEx.java:163)
      at ru.company.dms.methods.workflow.integration.contractex.event.requests.impl.ConfirmContractCreateImpl.exec(ConfirmContractCreateImpl.java:47)
      at ru.company.dms.methods.workflow.integration.contractex.event.requests.impl.AbstractForwardRequest.forward(AbstractForwardRequest.java:127)
      at ru.company.dms.methods.workflow.integration.contractex.event.ATCWFExecuteEvent.doTask(ATCWFExecuteEvent.java:128)
      at com.documentum.bpm.rtutil.WorkflowMethod.execute(WorkflowMethod.java:214)
      at com.documentum.bpm.rtutil.AbstractWorkflowMethod.executeMethod(AbstractWorkflowMethod.java:27)
      at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:124)
      at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:65)
      at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
      at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
      at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
      at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:662)

      After analyze app server i found :
      Like this:
      $DOCUMENTUM_SHARED\jboss5.1.0\server\DctmServer_MethodServer\deploy\bpm.ear\bpm.war\WEB-INF\lib\jaxrpc.jar\javax\xml\namespace\QName.class
      $DOCUMENTUM_SHARED\jboss5.1.0\server\DctmServer_MethodServer\deploy\bpm.ear\bpm.war\WEB-INF\lib\sibc.jms.jar\javax\xml\namespace\QName.class
      $DOCUMENTUM_SHARED\jboss5.1.0\server\DctmServer_MethodServer\deploy\bpm.ear\bpm.war\WEB-INF\lib\qname.jar\javax\xml\namespace\QName.class
      $DOCUMENTUM_SHARED\jboss5.1.0\lib\endorsed\stax-api.jar\javax\xml\namespace\QName.class

      as a result, I get the error in my custom module :
      java.lang.LinkageError: loader constraint violation: loader (instance of com/documentum/fc/client/impl/bof/classmgmt/URLClassLoaderEx) previously initiated loading for a different type with name "javax/xml/namespace/QName"

      How can I fixed that?

              ajustin@redhat.com Ales Justin
              ssmirnov_jira Sergey Smirnov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: