Daniel Skiles [
http://community.jboss.org/people/dskiles] created the discussion
"Re: How to stop my WAR loading JBoss's provided 3rd party classes?"
To view the discussion, visit:
http://community.jboss.org/message/575738#575738
--------------------------------------------------------------
Thanks for the information. I gave that a try with no luck.
The root problem, I think, is that I'm trying to use an older version of CXF for my
application than what comes bundled with JBoss AS by default in 6.0. We can't really
upgrade CXF yet and removing it from the app isn't really a possibility due to the
fact that it needs to function on multiple application containers.
For kicks I also tried org.apache.cxf with no luck. Am I missing something obvious here?
I've already sidestepped a few issues with the jboss-classloading.xml classloader
config, but this one doesn't want to go away. I've included the stack trace
below.
Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @
1.0/com/sun/codemodel/JConditional.class /
BaseClassLoader@66c9153e{vfs:///C:/jboss6/server/default/deploy/warname.war}, visitor:
org.jboss.scanning.hierarchy.plugins.HierarchyTypeVisitor@1ec375d4
at
org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56)
[:1.0.0.Alpha7]
at
org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91)
[:1.0.0.Alpha7]
at
org.jboss.scanning.hierarchy.plugins.HierarchyIndexScanningPlugin.visit(HierarchyIndexScanningPlugin.java:91)
[:1.0.0.Alpha7]
at
org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112)
[:1.0.0.Alpha7]
at
org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101)
[jboss-classloading.jar:2.2.0.Alpha9]
at
org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264)
[jboss-classloading-vfs.jar:2.2.0.Alpha9]
... 55 more
Caused by: java.lang.ClassNotFoundException: 1.0.com.sun.codemodel.JConditional
at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [:1.6.0_18]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_18]
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/575738#575738]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]