Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-449

NoClassDefFoundError with Axis2 1.8.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.1
    • None
    • rampart-core
    • None

    Description

      Axis2 1.8.0 updated Axiom to 1.3 thereby breaking rampart, which uses an Axiom API that has been removed:

       

      java.lang.NoClassDefFoundError: org/apache/axiom/soap/impl/builder/StAXSOAPModelBuilder
      at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:159) 
      at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:280) 
      at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) 
      at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) 
      at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:335) 
      at org.apache.axis2.engine.Phase.invoke(Phase.java:308) 
      at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:250) 
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:415) 
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:399) 
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) 
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:150) 
      at pls.soap.client.SOAPClient.sendRequest(SOAPClient.java:284) 
      at pls.soap.client.SOAPClient.handleRequest(SOAPClient.java:143) 
      at pls.soap.client.SOAPClient.processSendJob(SOAPClient.java:101) 
      at pls.soap.client.SendJobProcessorImpl.processSendJob(SendJobProcessorImpl.java:10) 
      at ls.osis.server.prot.SendJobQueue.process(SendJobQueue.java:139) 
      at ls.osis.server.prot.SendJobQueue$SendJobTask.run(SendJobQueue.java:108) 
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.lang.ClassNotFoundException: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder 
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 
      22 more
      

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            matthiaskraaz Matthias Kraaz
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: