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 3212B10A73 for ; Tue, 5 Nov 2013 20:24:42 +0000 (UTC) Received: (qmail 69493 invoked by uid 500); 5 Nov 2013 20:24:41 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 69453 invoked by uid 500); 5 Nov 2013 20:24:41 -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 69445 invoked by uid 99); 5 Nov 2013 20:24:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 20:24:41 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.mueller@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 20:24:37 +0000 Received: by mail-wg0-f43.google.com with SMTP id b13so3937325wgh.34 for ; Tue, 05 Nov 2013 12:24:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FEvO3Y9Cug0jpdLjJB25LR8WIvE5zpqDgzd+b0sJ9+0=; b=AoTcRtUgxtfnYmzAu+IZScu+iia8OT/mwQlQZzzoSA21WucBmvJxGyR+2sIInqPoEm 7l2t5TcC3E0Co4O2yLHn4DhRE7qYAKRH41jZQuAZPd3fqIPwCSKCqaBu12JSV0eiZ7Ft v1ow698ok5EKnV6rgWcImgLGzfMvm3mzhZkyrU5lqSroAR/fpgBr0d7Qrp3DjRecu+SC 1X/77gFxTRzkCvK3Pww7b0REJk+0mIBZWijWyMl/WyfJsA5vC20wRZ9rKr2xZfNCJNLj mBAT77+V0dmDOuORGiiLfjjHflDl1nPsmxfmvEDLQZGMhbnHs3TFjrqAzpT0hOx/5NWu exnQ== MIME-Version: 1.0 X-Received: by 10.180.76.114 with SMTP id j18mr18055038wiw.35.1383683056446; Tue, 05 Nov 2013 12:24:16 -0800 (PST) Received: by 10.216.5.74 with HTTP; Tue, 5 Nov 2013 12:24:16 -0800 (PST) In-Reply-To: <1383601570746-5742612.post@n5.nabble.com> References: <1383601570746-5742612.post@n5.nabble.com> Date: Tue, 5 Nov 2013 21:24:16 +0100 Message-ID: Subject: Re: Camel 2.12.1, Spring Framework 3.2.3, Jboss 6.0.0 Deployment Problem From: =?ISO-8859-1?Q?Christian_M=FCller?= To: users@camel.apache.org Content-Type: multipart/alternative; boundary=f46d0435bffa0fb2e904ea73d19a X-Virus-Checked: Checked by ClamAV on apache.org --f46d0435bffa0fb2e904ea73d19a Content-Type: text/plain; charset=ISO-8859-1 Check you don't have a library/version miss match. It looks like you also use Camel 2.7.0... CamelNamespaceHandler.java:169)[:2.7.0] Best, Christian ----------------- Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Mon, Nov 4, 2013 at 10:46 PM, rtmacphail wrote: > I have two web applications which communicate with each other using JMS > messaging. The JMS queues are managed by a single ActiveMQ broker and the > applications will use Apache Camel to send and receive messages to the > queues. > > One application uses Camel 2.7.0 and Spring Framework 3.0.5. This app > deploys successfully on JBoss 6. > > The second application uses Camel 2.12.1 and Spring Framework 3.2.3. It > deploys successfully on Jetty, but will not run on JBoss 6. I get the > following exception: > > > Failed to parse JAXB element; nested exception is > > javax.xml.bind.UnmarshalException: > unexpected element (uri:"http://camel.apache.org/schema/spring", > local:"camelContext"). Expected elements > are > > <{}aggregate>,<{}aop>,<{}avro>,<{}base64>,<{}batchResequencerConfig>,<{}bean>,<{}beanPostProcessor>,<{}beanio>,<{}bindy>,<{}camelContext>,<{}castor>,<{}choice>,<{}constant>,<{}consumerTemplate>,< > > {}contextScan>,<{}convertBodyTo>,<{}crypto>,<{}csv>,<{}customDataFormat>,<{}customLoadBalancer>,<{}dataFormats>,<{}delay>,<{}description>,<{}doCatch>,<{}doFinally>,<{}doTry>,<{}dynamicRouter>,<{}el>,< > > {}endpoint>,<{}enrich>,<{}errorHandler>,<{}export>,<{}expression>,<{}expressionDefinition>,<{}failover>,<{}filter>,<{}flatpack>,<{}from>,<{}groovy>,<{}gzip>,<{}header>,<{}hl7>,<{}idempotentConsumer>,< > > {}inOnly>,<{}inOut>,<{}intercept>,<{}interceptFrom>,<{}interceptToEndpoint>,<{}javaScript>,<{}jaxb>,<{}jibx>,<{}jmxAgent>,<{}json>,<{}jxpath>,<{ > http://camel.apache.org/schema/spring}keyStoreParameters > > >,<{}language>,<{}loadBalance>,<{}log>,<{}loop>,<{}marshal>,<{}method>,<{}multicast>,<{}mvel>,<{}ognl>,<{}onCompletion>,<{}onException>,<{}optimisticLockRetryPolicy>,<{}otherwise>,<{}packageScan>,<{}p > > gp>,<{}php>,<{}pipeline>,<{}policy>,<{}pollEnrich>,<{}process>,<{}properties>,<{}property>,<{}propertyPlaceholder>,<{}protobuf>,<{}proxy>,<{}python>,<{}random>,<{}recipientList>,<{}redeliveryPolicy>,< > > {}redeliveryPolicyProfile>,<{}ref>,<{}removeHeader>,<{}removeHeaders>,<{}removeProperty>,<{}resequence>,<{}rollback>,<{}roundRobin>,<{}route>,<{}routeBuilder>,<{}routeContext>,<{}routeContextRef>,<{}r > outes>,<{}routingSlip>,<{}rss>,<{}ruby>,<{}sample>,<{ > http://camel.apache.org/schema/spring}secureRandomParameters > >,<{}secureXML>,<{}serialization>,<{}setBody>,<{}setExchangePattern>,<{}setFaultBody>,< > > {}setHeader>,<{}setOutHeader>,<{}setProperty>,<{}simple>,<{}soapjaxb>,<{}sort>,<{}spel>,<{}split>,<{}sql>,<{ > http://camel.apache.org/schema/spring}sslContextParameters > >,<{}sticky>,<{}stop>,<{}streamCac > > hing>,<{}streamResequencerConfig>,<{}string>,<{}syslog>,<{}template>,<{}threadPool>,<{}threadPoolProfile>,<{}threads>,<{}throttle>,<{}throwException>,<{}tidyMarkup>,<{}to>,<{}tokenize>,<{}topic>,<{}tr > > ansacted>,<{}transform>,<{}unmarshal>,<{}validate>,<{}vtdxml>,<{}weighted>,<{}when>,<{}wireTap>,<{}xmlBeans>,<{}xmljson>,<{}xmlrpc>,<{}xpath>,<{}xquery>,<{}xstream>,<{}zip>,<{}zipFile> > at > > org.apache.camel.spring.handler.CamelNamespaceHandler.parseUsingJaxb(CamelNamespaceHandler.java:169) > [:2.7.0] > > > > The following is my active mq broker and camel context configurations > > > > > > 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"> > > > > > > class="org.apachextras.camel.jboss.JBossPackageScanClassResolver"/> > > > > peigov.rms.jms > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd"> > > > class="org.apache.activemq.ActiveMQConnectionFactory"> > > > > class="org.apache.activemq.pool.PooledConnectionFactory"> > > > ref="jmsConnectionFactory" /> > > > class="org.apache.camel.component.jms.JmsConfiguration"> > > > > > > class="org.apache.activemq.camel.component.ActiveMQComponent"> > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-12-1-Spring-Framework-3-2-3-Jboss-6-0-0-Deployment-Problem-tp5742612.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --f46d0435bffa0fb2e904ea73d19a--