]
David Bosschaert updated AS7-934:
---------------------------------
Priority: Minor (was: Major)
I looked through the archive and can't find the actual class mentioned in the
CXF-DOSGi bundles. Maybe it's ok for it not to be there and we're just throwing
out the Warning where other implementations don't... Lowering the priority.
Class-load exception whit Apache CXF-DOSGi multi-bundle distro
--------------------------------------------------------------
Key: AS7-934
URL:
https://issues.jboss.org/browse/AS7-934
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Affects Versions: 7.0.0.CR1
Reporter: David Bosschaert
Priority: Minor
Attachments: cxf-dosgi-ri-samples-greeter-impl-1.2.jar,
cxf-dosgi-ri-samples-greeter-interface-1.2.jar, cxfdosgi-bundles.zip
The CXF-DOSGi 1.2 multi-distro deploys fine, but when using it there is a classloader
failure.
This can be reproduced by using the greeter demo, which is described here:
http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html
The exception is:
12:58:43,616 WARN [org.jboss.modules] (pool-3-thread-1) Failed to define class
org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor in Module
"deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service Module Loader:
java.lang.LinkageError: Failed to link
org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor (Module
"deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:398)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at
org.apache.cxf.ws.security.policy.interceptors.WSSecurityInterceptorProvider.<init>(WSSecurityInterceptorProvider.java:49)
[WSSecurityInterceptorProvider.class:]
at
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:163)
[WSSecurityPolicyLoader.class:]
at
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.register(WSSecurityPolicyLoader.java:84)
[WSSecurityPolicyLoader.class:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
at
org.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:303)
[ResourceInjector.class:]
at org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:87)
[ResourceInjector.class:]
at
org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessAfterInitialization(Jsr250BeanPostProcessor.java:71)
[Jsr250BeanPostProcessor.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
[AbstractAutowireCapableBeanFactory$1.class:]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
[AbstractBeanFactory$1.class:]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[DefaultSingletonBeanRegistry.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
[DefaultListableBeanFactory.class:]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
[AbstractApplicationContext.class:]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
[AbstractApplicationContext.class:]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
[BusApplicationContext.class:]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
[SpringBusFactory.class:]
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69) [BusFactory.class:]
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
[BusFactory.class:]
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
[BusFactory.class:]
at
org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpointFactory.java:82)
[AbstractEndpointFactory.class:]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:227)
[AbstractWSDLBasedEndpointFactory.class:]
at
org.apache.cxf.frontend.ServerFactoryBean.initializeServiceFactory(ServerFactoryBean.java:145)
[ServerFactoryBean.class:]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:98)
[AbstractWSDLBasedEndpointFactory.class:]
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
[ServerFactoryBean.class:]
at
org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.createServer(PojoConfigurationTypeHandler.java:125)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:244)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:78)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:71)
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:71)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:40)
at org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:254)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: java.lang.NoClassDefFoundError: org/apache/ws/security/handler/WSHandler
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
... 88 more
Caused by: java.lang.ClassNotFoundException: org.apache.ws.security.handler.WSHandler
from [Module "deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service
Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
... 93 more
12:58:43,647 WARN [org.jboss.modules] (pool-3-thread-1) Failed to define class
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor in Module
"deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service Module Loader:
java.lang.LinkageError: Failed to link
org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor (Module
"deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:398)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at
org.apache.cxf.ws.security.policy.interceptors.WSSecurityInterceptorProvider.<init>(WSSecurityInterceptorProvider.java:49)
[WSSecurityInterceptorProvider.class:]
at
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:163)
[WSSecurityPolicyLoader.class:]
at
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.register(WSSecurityPolicyLoader.java:84)
[WSSecurityPolicyLoader.class:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
at
org.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:303)
[ResourceInjector.class:]
at org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:87)
[ResourceInjector.class:]
at
org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessAfterInitialization(Jsr250BeanPostProcessor.java:71)
[Jsr250BeanPostProcessor.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
[AbstractAutowireCapableBeanFactory$1.class:]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
[AbstractBeanFactory$1.class:]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[DefaultSingletonBeanRegistry.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
[DefaultListableBeanFactory.class:]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
[AbstractApplicationContext.class:]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
[AbstractApplicationContext.class:]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
[BusApplicationContext.class:]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
[SpringBusFactory.class:]
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69) [BusFactory.class:]
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
[BusFactory.class:]
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
[BusFactory.class:]
at
org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpointFactory.java:82)
[AbstractEndpointFactory.class:]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:227)
[AbstractWSDLBasedEndpointFactory.class:]
at
org.apache.cxf.frontend.ServerFactoryBean.initializeServiceFactory(ServerFactoryBean.java:145)
[ServerFactoryBean.class:]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:98)
[AbstractWSDLBasedEndpointFactory.class:]
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
[ServerFactoryBean.class:]
at
org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.createServer(PojoConfigurationTypeHandler.java:125)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:244)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:78)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:71)
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:71)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:40)
at org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:254)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: java.lang.NoClassDefFoundError: org/apache/ws/security/handler/WSHandler
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
... 88 more
Caused by: java.lang.ClassNotFoundException: org.apache.ws.security.handler.WSHandler
from [Module "deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service
Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
... 93 more
12:58:43,697 WARN [org.jboss.modules] (pool-3-thread-1) Failed to define class
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JInInterceptor in Module
"deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service Module Loader:
java.lang.LinkageError: Failed to link
org/apache/cxf/ws/security/wss4j/AbstractWSS4JInterceptor (Module
"deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:398)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:258)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:75)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.FilteredLocalLoader.loadClassLocal(FilteredLocalLoader.java:46)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:180)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
at
org.apache.cxf.ws.security.policy.interceptors.WSSecurityInterceptorProvider.<init>(WSSecurityInterceptorProvider.java:49)
[WSSecurityInterceptorProvider.class:]
at
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.registerProviders(WSSecurityPolicyLoader.java:163)
[WSSecurityPolicyLoader.class:]
at
org.apache.cxf.ws.security.policy.WSSecurityPolicyLoader.register(WSSecurityPolicyLoader.java:84)
[WSSecurityPolicyLoader.class:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
at
org.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:303)
[ResourceInjector.class:]
at org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:87)
[ResourceInjector.class:]
at
org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessAfterInitialization(Jsr250BeanPostProcessor.java:71)
[Jsr250BeanPostProcessor.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
[AbstractAutowireCapableBeanFactory$1.class:]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
[AbstractAutowireCapableBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
[AbstractBeanFactory$1.class:]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[DefaultSingletonBeanRegistry.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
[AbstractBeanFactory.class:]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
[DefaultListableBeanFactory.class:]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
[AbstractApplicationContext.class:]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
[AbstractApplicationContext.class:]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
[BusApplicationContext.class:]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
[SpringBusFactory.class:]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
[SpringBusFactory.class:]
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69) [BusFactory.class:]
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
[BusFactory.class:]
at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
[BusFactory.class:]
at
org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpointFactory.java:82)
[AbstractEndpointFactory.class:]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeServiceFactory(AbstractWSDLBasedEndpointFactory.java:227)
[AbstractWSDLBasedEndpointFactory.class:]
at
org.apache.cxf.frontend.ServerFactoryBean.initializeServiceFactory(ServerFactoryBean.java:145)
[ServerFactoryBean.class:]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:98)
[AbstractWSDLBasedEndpointFactory.class:]
at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
[ServerFactoryBean.class:]
at
org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.createServer(PojoConfigurationTypeHandler.java:125)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:244)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:78)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:71)
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:71)
at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:40)
at org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:254)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: java.lang.NoClassDefFoundError: org/apache/ws/security/handler/WSHandler
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:394)
[jboss-modules.jar:1.0.0.CR3]
... 88 more
Caused by: java.lang.ClassNotFoundException: org.apache.ws.security.handler.WSHandler
from [Module "deployment.org.apache.cxf.bundle-minimal:2.2.9" from Service
Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:188)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
[jboss-modules.jar:1.0.0.CR3]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
[jboss-modules.jar:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
[jboss-modules.jar:1.0.0.CR3]
... 93 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: