You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2025/01/27 10:21:19 UTC
[I] cxf-soap integration tests fail in the Quarkus Platform [camel-quarkus]
jamesnetherton opened a new issue, #6940:
URL: https://github.com/apache/camel-quarkus/issues/6940
### Bug description
@ppalaga Not sure what's going on here. When QCXF & CQ 3.18.0 are aligned in the platform, all of the `cxf-soap-grouped` tests fail with:
```
CxfSoapWssServerTest.anonymous ยป Runtime java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkiverse.cxf.ws.security.deployment.QuarkusCxfWsSecurityProcessor#feature threw an exception: java.lang.IllegalStateException: Bouncy Castle's org.bouncycastle:bcprov-jdk18on artifact found in dependencies. To be able to use it, exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from io.quarkiverse.cxf:quarkus-cxf-rt-ws-security.
at io.quarkiverse.cxf.ws.security.deployment.QuarkusCxfWsSecurityProcessor.feature(QuarkusCxfWsSecurityProcessor.java:24)
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:256)
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2654)
at org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:1583)
at org.jboss.threads.JBossThread.run(JBossThread.java:499)
```
Apparently BC is on the classpath in the generated platform test module:
```
$ mvn dependency:tree -Dincludes=org.bouncycastle
[INFO] --- dependency:3.1.1:tree (default-cli) @ camel-quarkus-integration-test-cxf-soap-grouped ---
[INFO] io.quarkus.platform:camel-quarkus-integration-test-cxf-soap-grouped:jar:999-SNAPSHOT
[INFO] \- org.apache.camel.quarkus:camel-quarkus-integration-test-cxf-soap-grouped:jar:3.18.0:compile
[INFO] \- io.quarkiverse.cxf:quarkus-cxf-rt-ws-security:jar:3.18.0:compile
[INFO] \- org.apache.cxf:cxf-rt-ws-security:jar:4.1.0:compile
[INFO] \- org.apache.wss4j:wss4j-ws-security-common:jar:3.0.4:compile
[INFO] +- org.opensaml:opensaml-saml-impl:jar:4.3.2:compile
[INFO] | \- org.opensaml:opensaml-security-api:jar:4.3.2:compile
[INFO] | \- org.bouncycastle:bcpkix-jdk18on:jar:1.79:compile
[INFO] | \- org.bouncycastle:bcutil-jdk18on:jar:1.79:compile
[INFO] \- org.cryptacular:cryptacular:jar:1.2.6:compile
[INFO] \- org.bouncycastle:bcprov-jdk18on:jar:1.79:compile
```
But, if I run the same command in CQ in `integration-tests/cxf-soap-grouped` then not match is found for BC.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cxf-soap integration tests fail in the Quarkus Platform [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6940:
URL: https://github.com/apache/camel-quarkus/issues/6940#issuecomment-2681246152
Confirmed fixed when merging CQ & QCXF 3.19.0 in the platform.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cxf-soap integration tests fail in the Quarkus Platform [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6940:
URL: https://github.com/apache/camel-quarkus/issues/6940#issuecomment-2615680508
Something that may be relevant. To save time, I released CQ 3.18.0 aligned with QCXF 3.17.x.
CQ bumped to QCXF 3.18.0 after the release was tagged & staged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cxf-soap integration tests fail in the Quarkus Platform [camel-quarkus]
Posted by "ppalaga (via GitHub)" <gi...@apache.org>.
ppalaga commented on issue #6940:
URL: https://github.com/apache/camel-quarkus/issues/6940#issuecomment-2615613562
Strange. Let me check where the BC dependency comes from
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cxf-soap integration tests fail in the Quarkus Platform [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #6940: cxf-soap integration tests fail in the Quarkus Platform
URL: https://github.com/apache/camel-quarkus/issues/6940
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] cxf-soap integration tests fail in the Quarkus Platform [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #6940:
URL: https://github.com/apache/camel-quarkus/issues/6940#issuecomment-2626460420
Note for the 3.19.0 release, we need to remove this dependency override in the Quarkus Platform Camel member configuration:
https://github.com/quarkusio/quarkus-platform/blob/main/pom.xml#L399-L406
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org