It looks like a JPA (EclipseLink) related error.
What kind of camel components are you using?

-- 
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang 
Weibo: willemjiang




On Wednesday, October 10, 2012 at 5:39 PM, rinotan wrote:

> Hi Guys, 
> 
> I encounter the following error when I try to deploy my .ear file that
> contains camelContext into weblogic 12c. 
> *The exact .ear file can be deployed on weblogic 10.3 without any issues.
> Would appreciate for any help provide:
> 
> The error is as follows:
> java.lang.exception:javax.faces.FacesException: Exception[EclipseLink-50007]
> (Eclipse Persistence Services - 2.3.2.v20111124-r104611111):
> org.eclipise.persistence.exceptions.JAXBException exception Description:
> Name collision. Two classes have the XML type with URI
> http://camel.apache.org/schema/spring and name expression.
> 
> My camelcontext is as follows:
> <beans xmlns="http://www.springframework.org/schema/beans";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:camel="http://camel.apache.org/schema/spring";
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
> http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-spring.xsd";>
> 
> 
> <camel:camelContext id="camel-A"
> xmlns="http://camel.apache.org/schema/spring";>
> <camel:template id="testTemplate" />
> <camel:consumerTemplate id="consumerTemplate" />
> </camelContext>
> 
> Thank you guys
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Help-on-deploying-Camel-on-Weblogic-12c-Name-Collision-tp5720837.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to