New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BusDeploymentAspect creates CXF DefaultBus using wrong class loader #2670
Comments
ppalaga
added a commit
to ppalaga/wildfly-camel
that referenced
this issue
Oct 8, 2018
…tBus using wrong class loader
ppalaga
added a commit
to ppalaga/wildfly-camel
that referenced
this issue
Oct 16, 2018
…tBus using wrong class loader
ppalaga
added a commit
to ppalaga/wildfly-camel
that referenced
this issue
Oct 18, 2018
ppalaga
added a commit
to ppalaga/wildfly-camel
that referenced
this issue
Oct 19, 2018
…tBus using wrong class loader
ppalaga
added a commit
to ppalaga/wildfly-camel
that referenced
this issue
Oct 19, 2018
…tBus using wrong class loader
ppalaga
added a commit
to ppalaga/wildfly-camel
that referenced
this issue
Oct 19, 2018
… also check that buses set are correct
tdiesler
pushed a commit
that referenced
this issue
Jan 8, 2019
also check that buses set are correct
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start()
[1] is probably triggered by some WS annotation. It sets a class loader oforg.jboss.ws.jaxws-client
which is then effective for all calls toorg.apache.cxf.bus.extension.ExtensionManagerImpl.getBean[s]OfType()
which in turn returns the jboss-ws implementation ofHttpDestinationFactory
intead of ours. This turns out to be a problem for CXF RS tests using https endpoints. A stack trace like this occurs:CXFRSBasicSecureProducerIntegrationTest
from #2661 demonstrates the issue, but only if it is run after e.g.CXFWSSecureProducerIntegrationTest
[1] https://github.com/jbossws/jbossws-cxf/blob/ab7866bfe647db4fa114f5eb28ec1217a2817a3d/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/BusDeploymentAspect.java#L57
The text was updated successfully, but these errors were encountered: