Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11894D9DA for ; Thu, 11 Oct 2012 03:10:00 +0000 (UTC) Received: (qmail 40465 invoked by uid 500); 11 Oct 2012 03:09:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 40218 invoked by uid 500); 11 Oct 2012 03:09:59 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 40197 invoked by uid 99); 11 Oct 2012 03:09:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 03:09:58 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.220.45 as permitted sender) Received: from [209.85.220.45] (HELO mail-pa0-f45.google.com) (209.85.220.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 03:09:54 +0000 Received: by mail-pa0-f45.google.com with SMTP id fb10so1283562pad.32 for ; Wed, 10 Oct 2012 20:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition; bh=J01OsJM15fQkSHfWfD5Ygv0YDYiIRLtQsJj9MWQVaWE=; b=ibOOuu9o3xdVAXi/f9jz+VqvzAO+yRne5eNV39SlaY/Q4exH80hLWRs2YVpyLdshCf ++iysKfiuVEc+i3Nu/fuL8xIX1uo8xm7E+WF15ooVB8vo16Pw9LMii54KuMxbVKFhRaV SdphK1Gj56UUYT/4Fd9yP+ypmLmQaTEjOaKEoJhpzRWJt0WGrS0HAvLknfoVYmCg4BQQ dnoGlfHDkIX85bPLcbfAY4G9MQnHwtY+dlH487K8egUPij3QK6icTCX4iNnfAihsAiDA xp6ooayCrkJrIpXpt29jLseiJBIKKTpsEEJ2BAVWn/0YURJB13kywRgjIGFTYJaeq/F9 QZHg== Received: by 10.66.78.195 with SMTP id d3mr67789665pax.17.1349924973804; Wed, 10 Oct 2012 20:09:33 -0700 (PDT) Received: from [192.168.1.135] ([111.193.239.113]) by mx.google.com with ESMTPS id j8sm1820425paz.30.2012.10.10.20.09.31 (version=SSLv3 cipher=OTHER); Wed, 10 Oct 2012 20:09:32 -0700 (PDT) Date: Thu, 11 Oct 2012 11:09:27 +0800 From: Willem jiang To: users@camel.apache.org Message-ID: In-Reply-To: <1349861989406-5720837.post@n5.nabble.com> References: <1349861989406-5720837.post@n5.nabble.com> Subject: Re: Help on deploying Camel on Weblogic 12c. Name Collision X-Mailer: sparrow 1.6.4 (build 1176) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org 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: > 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"> > > > xmlns="http://camel.apache.org/schema/spring"> > > > > > 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).