[JBoss JIRA] Created: (AS7-934) Class-load exception whit Apache CXF-DOSGi multi-bundle distro
by David Bosschaert (JIRA)
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
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: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (AS7-929) Deploying Apache CXF-DOSGi single-bundle distro fails
by David Bosschaert (JIRA)
Deploying Apache CXF-DOSGi single-bundle distro fails
-----------------------------------------------------
Key: AS7-929
URL: https://issues.jboss.org/browse/AS7-929
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Affects Versions: 7.0.0.CR1
Reporter: David Bosschaert
When deploying the single-bundle distribution of Apache CXF-DOSGi the deployment fails. This bundle deploys without problems in Equinox and Felix.
The bundle being deployed is this one: http://www.apache.org/dist/cxf/dosgi/1.2/cxf-dosgi-ri-singlebundle-distri...
Exception:
08:32:34,721 INFO [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-3) OSGi Framework started
08:32:34,721 INFO [org.jboss.as.osgi] (MSC service thread 1-3) Installing deployment: [cxf-dosgi-ri-singlebundle-distribution:1.2.0,location=cxf-dosgi-ri-singlebundle-distribution-1.2.jar]
08:32:34,767 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: cxf-dosgi-ri-singlebundle-distribution:1.2.0
08:32:35,202 INFO [stdout] (MSC service thread 1-2) HttpService using port: 8090
08:32:35,258 INFO [cxf-dosgi-ri-singlebundle-distribution] (Thread-13) felix.fileinstall.poll (ms) 2000
08:32:35,258 INFO [cxf-dosgi-ri-singlebundle-distribution] (Thread-13) felix.fileinstall.dir /home/davidb/clones/jboss-as/build/target/./load
08:32:35,259 INFO [cxf-dosgi-ri-singlebundle-distribution] (Thread-13) felix.fileinstall.debug -1
08:32:35,259 INFO [cxf-dosgi-ri-singlebundle-distribution] (Thread-13) felix.fileinstall.bundles.new.start true
08:32:35,266 ERROR [stderr] (MSC service thread 1-2) java.lang.ExceptionInInitializerError
08:32:35,279 ERROR [stderr] (MSC service thread 1-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
08:32:35,279 ERROR [stderr] (MSC service thread 1-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
08:32:35,279 ERROR [stderr] (MSC service thread 1-2) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at java.lang.Class.newInstance0(Class.java:355)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at java.lang.Class.newInstance(Class.java:308)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.startEmbeddedActivators(AggregatedActivator.java:112)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.start(AggregatedActivator.java:47)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:291)
08:32:35,280 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:217)
08:32:35,281 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:506)
08:32:35,281 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:135)
08:32:35,281 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.osgi.deployment.BundleStartTracker$1.serviceStarted(BundleStartTracker.java:107)
08:32:35,281 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1322)
08:32:35,281 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:47)
08:32:35,281 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1850)
08:32:35,282 ERROR [stderr] (MSC service thread 1-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
08:32:35,282 ERROR [stderr] (MSC service thread 1-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:32:35,282 ERROR [stderr] (MSC service thread 1-2) at java.lang.Thread.run(Thread.java:662)
08:32:35,282 ERROR [stderr] (MSC service thread 1-2) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
08:32:35,282 ERROR [stderr] (MSC service thread 1-2) at java.lang.String.substring(String.java:1937)
08:32:35,283 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.findModuleDynamically(HostBundleFallbackLoader.java:119)
08:32:35,283 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.loadResourceLocal(HostBundleFallbackLoader.java:104)
08:32:35,283 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.Module.getResources(Module.java:669)
08:32:35,283 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.ModuleClassLoader.findResources(ModuleClassLoader.java:499)
08:32:35,283 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.ConcurrentClassLoader.getResources(ConcurrentClassLoader.java:196)
08:32:35,284 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:1388)
08:32:35,284 ERROR [stderr] (MSC service thread 1-2) at java.security.AccessController.doPrivileged(Native Method)
08:32:35,284 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getResources(LogFactory.java:1407)
08:32:35,284 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getConfigurationFile(LogFactory.java:1469)
08:32:35,284 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:457)
08:32:35,284 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
08:32:35,285 ERROR [stderr] (MSC service thread 1-2) at org.ops4j.pax.web.service.internal.Activator.<clinit>(Activator.java:45)
08:32:35,285 ERROR [stderr] (MSC service thread 1-2) ... 19 more
08:32:35,342 INFO [org.apache.cxf.dosgi.topologymanager.Activator] (MSC service thread 1-2) TopologyManager: start()
08:32:35,383 ERROR [stderr] (MSC service thread 1-2) java.lang.StringIndexOutOfBoundsException: String index out of range: -1
08:32:35,384 ERROR [stderr] (MSC service thread 1-2) at java.lang.String.substring(String.java:1937)
08:32:35,384 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.findModuleDynamically(HostBundleFallbackLoader.java:119)
08:32:35,384 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.loadResourceLocal(HostBundleFallbackLoader.java:104)
08:32:35,384 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.Module.getResources(Module.java:669)
08:32:35,384 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.ModuleClassLoader.findResources(ModuleClassLoader.java:499)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.ConcurrentClassLoader.getResources(ConcurrentClassLoader.java:196)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at com.sun.naming.internal.VersionHelper12$5.run(VersionHelper12.java:149)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at java.security.AccessController.doPrivileged(Native Method)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at com.sun.naming.internal.VersionHelper12.getResources(VersionHelper12.java:146)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at com.sun.naming.internal.ResourceManager.getApplicationResources(ResourceManager.java:468)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:159)
08:32:35,385 ERROR [stderr] (MSC service thread 1-2) at javax.naming.InitialContext.init(InitialContext.java:219)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at javax.naming.InitialContext.<init>(InitialContext.java:175)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.naming.InitialContextFactoryService.getValue(InitialContextFactoryService.java:59)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.naming.InitialContextFactoryService.getValue(InitialContextFactoryService.java:41)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1097)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.ServiceManagerPlugin$3.getValue(ServiceManagerPlugin.java:295)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.ServiceManagerPlugin.getServiceReferencesInternal(ServiceManagerPlugin.java:302)
08:32:35,386 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.ServiceManagerPlugin.getServiceReferences(ServiceManagerPlugin.java:235)
08:32:35,387 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.AbstractBundleContext.getServiceReferences(AbstractBundleContext.java:334)
08:32:35,387 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.topologymanager.TopologyManager.checkExistingServices(TopologyManager.java:382)
08:32:35,387 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.topologymanager.TopologyManager.start(TopologyManager.java:181)
08:32:35,387 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.topologymanager.Activator.start(Activator.java:70)
08:32:35,387 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.startEmbeddedActivators(AggregatedActivator.java:116)
08:32:35,387 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.start(AggregatedActivator.java:47)
08:32:35,388 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:291)
08:32:35,393 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:217)
08:32:35,393 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:506)
08:32:35,393 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:135)
08:32:35,394 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.osgi.deployment.BundleStartTracker$1.serviceStarted(BundleStartTracker.java:107)
08:32:35,394 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1322)
08:32:35,394 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:47)
08:32:35,394 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1850)
08:32:35,394 ERROR [stderr] (MSC service thread 1-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
08:32:35,394 ERROR [stderr] (MSC service thread 1-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:32:35,395 ERROR [stderr] (MSC service thread 1-2) at java.lang.Thread.run(Thread.java:662)
08:32:35,409 ERROR [stderr] (MSC service thread 1-2) java.lang.ExceptionInInitializerError
08:32:35,409 ERROR [stderr] (MSC service thread 1-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
08:32:35,409 ERROR [stderr] (MSC service thread 1-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
08:32:35,409 ERROR [stderr] (MSC service thread 1-2) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at java.lang.Class.newInstance0(Class.java:355)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at java.lang.Class.newInstance(Class.java:308)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.startEmbeddedActivators(AggregatedActivator.java:112)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.start(AggregatedActivator.java:47)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:291)
08:32:35,410 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:217)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:506)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:135)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at org.jboss.as.osgi.deployment.BundleStartTracker$1.serviceStarted(BundleStartTracker.java:107)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1322)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:47)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1850)
08:32:35,411 ERROR [stderr] (MSC service thread 1-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
08:32:35,412 ERROR [stderr] (MSC service thread 1-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:32:35,412 ERROR [stderr] (MSC service thread 1-2) at java.lang.Thread.run(Thread.java:662)
08:32:35,412 ERROR [stderr] (MSC service thread 1-2) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
08:32:35,412 ERROR [stderr] (MSC service thread 1-2) at java.lang.String.substring(String.java:1937)
08:32:35,421 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.findModuleDynamically(HostBundleFallbackLoader.java:119)
08:32:35,421 ERROR [stderr] (MSC service thread 1-2) at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.loadResourceLocal(HostBundleFallbackLoader.java:104)
08:32:35,421 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.Module.getResources(Module.java:669)
08:32:35,421 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.ModuleClassLoader.findResources(ModuleClassLoader.java:499)
08:32:35,421 ERROR [stderr] (MSC service thread 1-2) at org.jboss.modules.ConcurrentClassLoader.getResources(ConcurrentClassLoader.java:196)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:1388)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at java.security.AccessController.doPrivileged(Native Method)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getResources(LogFactory.java:1407)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getConfigurationFile(LogFactory.java:1469)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:457)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
08:32:35,422 ERROR [stderr] (MSC service thread 1-2) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener.<clinit>(ContextLoaderListener.java:255)
08:32:35,423 ERROR [stderr] (MSC service thread 1-2) ... 19 more
08:32:35,447 ERROR [org.jboss.as.osgi] (MSC service thread 1-2) Cannot start bundle: cxf-dosgi-ri-singlebundle-distribution:1.2.0: org.osgi.framework.BundleException: Cannot start bundle: cxf-dosgi-ri-singlebundle-distribution:1.2.0
at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:319)
at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:217)
at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:506)
at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:135)
at org.jboss.as.osgi.deployment.BundleStartTracker$1.serviceStarted(BundleStartTracker.java:107)
at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1322)
at org.jboss.msc.service.ServiceControllerImpl.access$2600(ServiceControllerImpl.java:47)
at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1850)
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.ExceptionInInitializerError
at org.apache.cxf.dosgi.singlebundle.SPIActivator.register(SPIActivator.java:68)
at org.apache.cxf.dosgi.singlebundle.SPIActivator.start(SPIActivator.java:46)
at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.startEmbeddedActivators(AggregatedActivator.java:124)
at org.apache.cxf.dosgi.singlebundle.AggregatedActivator.start(AggregatedActivator.java:47)
at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:291)
... 10 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937) [:1.6.0_25]
at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.findModuleDynamically(HostBundleFallbackLoader.java:119)
at org.jboss.osgi.framework.internal.HostBundleFallbackLoader.loadResourceLocal(HostBundleFallbackLoader.java:104)
at org.jboss.modules.Module.getResources(Module.java:669) [:1.0.0.CR3]
at org.jboss.modules.ModuleClassLoader.findResources(ModuleClassLoader.java:499) [:1.0.0.CR3]
at org.jboss.modules.ConcurrentClassLoader.getResources(ConcurrentClassLoader.java:196) [:1.0.0.CR3]
at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:1388)
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_25]
at org.apache.commons.logging.LogFactory.getResources(LogFactory.java:1407)
at org.apache.commons.logging.LogFactory.getConfigurationFile(LogFactory.java:1469)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:457)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.<clinit>(PathMatchingResourcePatternResolver.java:166)
... 15 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (AS7-937) URL.openStream() on URL returned from bundle.getResource() returns a zero-byte stream
by David Bosschaert (JIRA)
URL.openStream() on URL returned from bundle.getResource() returns a zero-byte stream
-------------------------------------------------------------------------------------
Key: AS7-937
URL: https://issues.jboss.org/browse/AS7-937
Project: Application Server 7
Issue Type: Bug
Components: OSGi
Affects Versions: 7.0.0.CR1
Reporter: David Bosschaert
Attachments: org.apache.aries.spifly.examples.provider1.bundle-0.4-SNAPSHOT.jar, org.apache.aries.spifly.examples.spi.bundle-0.4-SNAPSHOT.jar
The attached bundle contains an embedded jar file which is referenced to by the Bundle-ClassPath.
Calling bundle.getResource("org.apache.aries.spifly.examples.provider1.jar-0.4-SNAPSHOT.jar") does return a URL.
{code}bundle.getResource("org.apache.aries.spifly.examples.provider1.jar-0.4-SNAPSHOT.jar")
(java.net.URL) bundle://org.apache.aries.spifly.examples.provider1.bundle-22-0-0/org.apache.aries.spifly.examples.provider1.jar-0.4-SNAPSHOT.jar/{code}
but opening that URL and reading the bytes yields 0 bytes.
This only seems to be an issue with URLs that refer to jar files. Other resources are readable without problems.
BTW this works fine on Equinox and Felix.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (AS7-902) Fix webservice integration tests
by Thomas Diesler (JIRA)
Fix webservice integration tests
--------------------------------
Key: AS7-902
URL: https://issues.jboss.org/browse/AS7-902
Project: Application Server 7
Issue Type: Bug
Reporter: Thomas Diesler
Assignee: Alessio Soldano
Fix For: 7.0.0.CR1
In master I currently see
{code}
Tests in error:
testSingleton(org.jboss.as.testsuite.integration.wsejb.EJBWebServicesTestCase)
testSimpleStatelessWebserviceEndpoint(org.jboss.as.testsuite.integration.wsejb.SimpleStatelessWebserviceEndpointTestCase)
testSimpleStatelessWebserviceEndpoint(org.jboss.as.testsuite.integration.ws.SimpleWebserviceEndpointTestCase)
Tests run: 122, Failures: 0, Errors: 3, Skipped: 2
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (AS7-930) Adhere to module start order in standalone.xml
by David Bosschaert (JIRA)
Adhere to module start order in standalone.xml
----------------------------------------------
Key: AS7-930
URL: https://issues.jboss.org/browse/AS7-930
Project: Application Server 7
Issue Type: Enhancement
Components: OSGi
Affects Versions: 7.0.0.CR1
Reporter: David Bosschaert
Assignee: David Bosschaert
In the AS7 configuration file you can specify modules to be started using the following config:
{code} <module identifier="org.apache.felix.log" startlevel="1"/>
<module identifier="org.jboss.osgi.logging" startlevel="1"/>{code}
However the order in which modules can be started _within_ a startlevel is random. It would be better to adhere to the order specified in the configuration as some bundles can be picky about this. This generally relates to legacy bundles that weren't developed with OSGi in mind.
Although this can in theory be handled with start levels it's often more practical to keep the start order within a single start level too because otherwise you may end up having to introduce a large amount of startlevels in your code and this may not be what you would like to do.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Updated: (JBRULES-3063) Drools should not allow set two rules with the same name for the same package
by Alessandro Lazarotti (JIRA)
[ https://issues.jboss.org/browse/JBRULES-3063?page=com.atlassian.jira.plug... ]
Alessandro Lazarotti updated JBRULES-3063:
------------------------------------------
Fix Version/s: FUTURE
Affects Version/s: 5.1.1.FINAL
Component/s: drools-compiler
> Drools should not allow set two rules with the same name for the same package
> -----------------------------------------------------------------------------
>
> Key: JBRULES-3063
> URL: https://issues.jboss.org/browse/JBRULES-3063
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: drools-compiler
> Affects Versions: 5.1.1.FINAL
> Reporter: Alessandro Lazarotti
> Assignee: Tihomir Surdilovic
> Priority: Minor
> Fix For: FUTURE
>
>
> Drools should not allow set two rules with the same name for the same package
> As expected, Drools does not allow us to define two rules with the same name in a same DRL file.
> But if there are two rules with the same name, in the same package, but in separate files, no exception or warning is issued, just one rule overrides the other in silence.
> From documentation:
> "A rule must have a name, unique within its rule package. If a rule is defined twice in a single DRL, an error will appear when one loads it. If a DRL that includes a rule name already in the package is added, the previous rule is repalced."[1]
> [1] http://docs.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5/html/JB...
> Different behavior for a similar action is not good. Both should alert user about a rule name repeated.
> For large projects using a lot of DRL files can be hard to track mistakes occurred by rules override . It is really necessary provide an ERROR message for this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Moved: (JBRULES-3063) Drools should not allow set two rules with the same name for the same package
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/JBRULES-3063?page=com.atlassian.jira.plug... ]
Toshiya Kobayashi moved BRMS-597 to JBRULES-3063:
-------------------------------------------------
Project: Drools (was: JBoss Enterprise BRMS Platform)
Key: JBRULES-3063 (was: BRMS-597)
Affects Version/s: (was: 5.1.0 GA)
Component/s: (was: BRE)
Fix Version/s: (was: future)
> Drools should not allow set two rules with the same name for the same package
> -----------------------------------------------------------------------------
>
> Key: JBRULES-3063
> URL: https://issues.jboss.org/browse/JBRULES-3063
> Project: Drools
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Alessandro Lazarotti
> Assignee: Tihomir Surdilovic
> Priority: Minor
>
> Drools should not allow set two rules with the same name for the same package
> As expected, Drools does not allow us to define two rules with the same name in a same DRL file.
> But if there are two rules with the same name, in the same package, but in separate files, no exception or warning is issued, just one rule overrides the other in silence.
> From documentation:
> "A rule must have a name, unique within its rule package. If a rule is defined twice in a single DRL, an error will appear when one loads it. If a DRL that includes a rule name already in the package is added, the previous rule is repalced."[1]
> [1] http://docs.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5/html/JB...
> Different behavior for a similar action is not good. Both should alert user about a rule name repeated.
> For large projects using a lot of DRL files can be hard to track mistakes occurred by rules override . It is really necessary provide an ERROR message for this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months