You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2024/08/27 13:03:00 UTC
[jira] [Comment Edited] (RAMPART-449) NoClassDefFoundError with Axis2 1.8.0
[ https://issues.apache.org/jira/browse/RAMPART-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877010#comment-17877010 ]
Robert Lazarski edited comment on RAMPART-449 at 8/27/24 1:02 PM:
------------------------------------------------------------------
I have been working on it the last few weeks and made commits with the new certs a couple days ago.
Anyone wondering what's taking so long ... beyond Rampart I got pulled into some Axis2 bugs but mainly figuring out these certs wasn't easy.
https://github.com/apache/axis-axis2-java-rampart/blob/master/modules/rampart-tests/test-resources/keys/README.txt
Anyways, RampartTest.testWithPolicy() is currently failing with a missing key on the wss4j side, I think the Callback is maybe expecting a PrivateKey of "Bob" and I am going to try to PEM format it.
If you know anything about Derived Keys or use them let me know - as stated several times I am not a user myself of Rampart, but it falls under my responsibilities as VP of Axis.
There's a test failure concerning WSPasswordCallback.DECRYPT that isn't in modules/rampart-integration/src/main/java/org/apache/rampart/PWCallback.java
was (Author: robertlazarski):
I have been working on it the last few weeks and made commits with the new certs a couple days ago.
Anyone wondering what's taking so long ... beyond Rampart I got pulled into some Axis2 bugs but mainly figuring out these certs wasn't easy.
https://github.com/apache/axis-axis2-java-rampart/blob/master/modules/rampart-tests/test-resources/keys/README.txt
Anyways, RampartTest.testWithPolicy() is currently failing with a missing key on the wss4j side, I think the Callback is maybe expecting a PrivateKey of "Bob" and I am going to try to PEM format it.
If you know anything about Derived Keys or use them let me know - as state several times I am not a user myself of Rampart, but it falls under my responsibilities as VP of Axis.
There's a test failure concerning WSPasswordCallback.DECRYPT that isn't in modules/rampart-integration/src/main/java/org/apache/rampart/PWCallback.java
> NoClassDefFoundError with Axis2 1.8.0
> -------------------------------------
>
> Key: RAMPART-449
> URL: https://issues.apache.org/jira/browse/RAMPART-449
> Project: Rampart
> Issue Type: Bug
> Components: rampart-core
> Affects Versions: 1.7.1
> Reporter: Matthias Kraaz
> Priority: Major
>
> Axis2 1.8.0 updated Axiom to 1.3 thereby breaking rampart, which uses an Axiom API that has been removed:
>
> {noformat}
> 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
> {noformat}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org