camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Grebe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9767) CDI deployment problem in JBoss EAP 6.3
Date Tue, 29 Mar 2016 08:32:25 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215681#comment-15215681
] 

Sascha Grebe commented on CAMEL-9767:
-------------------------------------

[~antonin.stefanutti] As soon as I did remove the namespace JBoss stopped complaining. The
guys from guava solved this problem by releasing a second version with a special classifier
(https://github.com/google/guava/issues/1527).

> CDI deployment problem in JBoss EAP 6.3
> ---------------------------------------
>
>                 Key: CAMEL-9767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9767
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cdi
>    Affects Versions: 2.17.0
>         Environment: Java7
> JBoss EAP 6.3
>            Reporter: Sascha Grebe
>            Assignee: Antonin Stefanutti
>
> I tried to upgrade my project to the new camel version. Sadly after changeing the version
I got the following exception. 
> {code}
> org.jboss.solder.config.xml.util.XmlConfigurationException: Wrong root namespace for
XML config file, expected:urn:java:ee, http://java.sun.com/xml/ns/javaee or no namespace,
found:http://xmlns.jcp.org/xml/ns/javaee at vfs:/C:/workspace/xxx/xxx-ear/target/xxx.ear/lib/camel-cdi-2.17.0.jar/META-INF/beans.xml:22
> 	at org.jboss.solder.config.xml.model.ModelBuilder.build(ModelBuilder.java:72)
> 	at org.jboss.solder.config.xml.bootstrap.XmlConfigExtension.beforeBeanDiscovery(XmlConfigExtension.java:93)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
> 	at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
> 	at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
> 	at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:164)
> 	at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)
> 	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245)
> 	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233)
> 	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213)
> 	at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75)
> 	at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:46)
> 	at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:46)
> 	at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:335)
> 	at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:62)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:744)
> {code}
> It looks like the namespace in the beans.xml is JEE7 specific.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message