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 8EB189583 for ; Thu, 8 Mar 2012 14:07:26 +0000 (UTC) Received: (qmail 35119 invoked by uid 500); 8 Mar 2012 14:07:26 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 34683 invoked by uid 500); 8 Mar 2012 14:07:22 -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 34649 invoked by uid 99); 8 Mar 2012 14:07:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 14:07:21 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,MANY_SPAN_IN_TEXT,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.85.161.173 is neither permitted nor denied by domain of adriano.tavares@arkhi.com.br) Received: from [209.85.161.173] (HELO mail-gx0-f173.google.com) (209.85.161.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 14:07:13 +0000 Received: by ggnj2 with SMTP id j2so227009ggn.32 for ; Thu, 08 Mar 2012 06:06:51 -0800 (PST) Received: by 10.101.7.29 with SMTP id k29mr3236109ani.66.1331215611227; Thu, 08 Mar 2012 06:06:51 -0800 (PST) Received: from new-host-21.home ([186.213.72.239]) by mx.google.com with ESMTPS id j2sm3123556ani.19.2012.03.08.06.06.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Mar 2012 06:06:50 -0800 (PST) From: (ARKHI) Adriano Tavares Content-Type: multipart/alternative; boundary="Apple-Mail=_0BCB1FA5-F390-4988-B0A4-86470EA863B0" Subject: TypeConverterLoaderException WebApplication on startup (Camel 2.9.1, Jboss 5.1, ActiveMQ 5.5.1) Date: Thu, 8 Mar 2012 11:06:43 -0300 Message-Id: <6AE32D19-EA5C-4019-A63F-A427B5048A82@arkhi.com.br> To: Camel - Maillist Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) X-Gm-Message-State: ALoCoQlE/HVLElTEHJAqToD07S8egpEIVVCtp4Iglz4PDq+75tY3n/yvcsfZLjiS47UWIhs7ZxYn X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_0BCB1FA5-F390-4988-B0A4-86470EA863B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi, When I'm trying to startup an web application on Jboss, I am receiving = TypeConverterLoaderException. =20 Web App:=20 - Apache Camel 2.9.1(OK) - Active MQ 5.5.1(FAIL) Container: App Server: Jboss 5.1 GA (OK) MessageBroker: Active MQ RA 5.5.1 (OK) POM dependencies: org.apache.camel camel-core 2.9.1 =20 org.apache.camel camel-spring 2.9.1 =20 org.apache.camel camel-stream 2.9.1 =20 org.springframework spring-web 3.0.6.RELEASE =20 org.slf4j slf4j-api 1.6.1=20 org.slf4j slf4j-log4j12 1.6.1 log4j=20 log4j=20 1.2.16=20 =20 org.apache.activemq activemq-camel 5.5.1 =20 2012-03-08 10:14:25,823 INFO [STDOUT] (main) [ = main] SpringCamelContext INFO Apache Camel 2.9.1 = (CamelContext: camel) is starting 2012-03-08 10:14:25,823 INFO [STDOUT] (main) [ = main] ManagementStrategyFactory INFO JMX enabled. Using = ManagedManagementStrategy. 2012-03-08 10:14:25,885 INFO [STDOUT] (main) [ = main] ultManagementLifecycleStrategy INFO StatisticsLevel at All so = enabling load performance statistics 2012-03-08 10:14:27,448 INFO [STDOUT] (main) [ = main] AnnotationTypeConverterLoader INFO Found 3 packages with 15 = @Converter classes to load 2012-03-08 10:14:27,588 INFO [STDOUT] (main) [ = main] DefaultTypeConverter INFO Loaded 169 core type = converters (total 169 type converters) 2012-03-08 10:14:27,588 INFO [STDOUT] (main) [ = main] SpringCamelContext INFO Apache Camel 2.9.1 = (CamelContext: camel) is shutting down 2012-03-08 10:14:27,588 INFO [STDOUT] (main) [ = main] DefaultShutdownStrategy INFO Starting to graceful shutdown = 0 routes (timeout 300 seconds) 2012-03-08 10:14:27,604 INFO [STDOUT] (main) [ = main] DefaultShutdownStrategy INFO Graceful shutdown of 0 routes = completed in 0 seconds 2012-03-08 10:14:27,620 INFO [STDOUT] (main) [ = main] SpringCamelContext INFO Uptime: 1.797 seconds 2012-03-08 10:14:27,620 INFO [STDOUT] (main) [ = main] SpringCamelContext INFO Apache Camel 2.9.1 = (CamelContext: camel) is shutdown in 0.016 seconds 2012-03-08 10:14:27,666 INFO [STDOUT] (main) [ = main] ContextLoader ERROR Context initialization failed org.apache.camel.RuntimeCamelException: = org.apache.camel.TypeConverterLoaderException: Failed to load type = converters because of: Cannot find any type converter classes from the = following packages: [org.apache.activemq.camel.converter] at = org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.= java:1221)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.int= egracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.9.1.jar:2.9.= 1] at = org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelCon= text.java:1042)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujoco= m.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.9.1.jar= :2.9.1] at = org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry(Default= CamelContext.java:1057)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/= araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2= .9.1.jar:2.9.1] at = org.apache.camel.impl.DefaultCamelContext.forceLazyInitialization(DefaultC= amelContext.java:2036)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/a= raujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.= 9.1.jar:2.9.1] at = org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext= .java:1511)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.in= tegracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.9.1.jar:2.9= .1] at = org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java= :1421)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.integra= cao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.9.1.jar:2.9.1] at = org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java= :179)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.integrac= ao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-spring-2.9.1.jar:2.9.1] at = org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)[jar:= file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.integracao.vtex.we= b-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.9.1.jar:2.9.1] at = org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1= 389)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.integraca= o.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-core-2.9.1.jar:2.9.1] at = org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.j= ava:228)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujocom.integ= racao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-spring-2.9.1.jar:2.9.= 1] at = org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelC= ontext.java:118)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/araujoc= om.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-spring-2.9.1.= jar:2.9.1] at = org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelCo= ntextFactoryBean.java:240)[jar:file:/C:/jboss-5.1.0.GA/server/default/depl= oy/araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/camel-spr= ing-2.9.1.jar:2.9.1] at = org.springframework.context.event.SimpleApplicationEventMulticaster.multic= astEvent(SimpleApplicationEventMulticaster.java:97)[jar:file:/C:/jboss-5.1= .0.GA/server/default/deploy/araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.w= ar!/WEB-INF/lib/spring-context-3.0.7.RELEASE.jar:3.0.3.RELEASE] at = org.springframework.context.support.AbstractApplicationContext.publishEven= t(AbstractApplicationContext.java:303)[jar:file:/C:/jboss-5.1.0.GA/server/= default/deploy/araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/l= ib/spring-context-3.0.7.RELEASE.jar:3.0.3.RELEASE] at = org.springframework.context.support.AbstractApplicationContext.finishRefre= sh(AbstractApplicationContext.java:911)[jar:file:/C:/jboss-5.1.0.GA/server= /default/deploy/araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/= lib/spring-context-3.0.7.RELEASE.jar:3.0.3.RELEASE] at = org.springframework.context.support.AbstractApplicationContext.refresh(Abs= tractApplicationContext.java:428)[jar:file:/C:/jboss-5.1.0.GA/server/defau= lt/deploy/araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/sp= ring-context-3.0.7.RELEASE.jar:3.0.3.RELEASE] at = org.springframework.web.context.ContextLoader.createWebApplicationContext(= ContextLoader.java:282)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/= araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/spring-web-3= .0.6.RELEASE.jar:3.0.6.RELEASE] at = org.springframework.web.context.ContextLoader.initWebApplicationContext(Co= ntextLoader.java:204)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/ar= aujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/spring-web-3.0= .6.RELEASE.jar:3.0.6.RELEASE] at = org.springframework.web.context.ContextLoaderListener.contextInitialized(C= ontextLoaderListener.java:47)[jar:file:/C:/jboss-5.1.0.GA/server/default/d= eploy/araujocom.integracao.vtex.web-0.0.1-SNAPSHOT.war!/WEB-INF/lib/spring= -web-3.0.6.RELEASE.jar:3.0.6.RELEASE] at = org.apache.catalina.core.StandardContext.listenerStart(StandardContext.jav= a:3910)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/jbo= ssweb.jar!/:5.1.0.GA (build: SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)]= at = org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)[= jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/jbossweb.ja= r!/:5.1.0.GA (build: SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInter= nal(TomcatDeployment.java:310)[jar:file:/C:/jboss-5.1.0.GA/server/default/= deploy/jbossweb.sar/jboss-web-service.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(Tomc= atDeployment.java:142)[jar:file:/C:/jboss-5.1.0.GA/server/default/deploy/j= bossweb.sar/jboss-web-service.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.= java:461)[jar:file:/C:/jboss-5.1.0.GA/common/lib/jboss.jar!/:5.1.0.GA = (build: SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)[jar:file= :/C:/jboss-5.1.0.GA/common/lib/jboss.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.web.deployers.WebModule.start(WebModule.java:97)[jar:file:/C:/jb= oss-5.1.0.GA/common/lib/jboss.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native = Method)[:1.6.0_27] at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39)[:1.6.0_27] at = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25)[:1.6.0_27] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_27] at = org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.ja= va:157)[jar:file:/C:/jboss-5.1.0.GA/lib/jboss-mbeans.jar!/:5.1.0.GA = (build: SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)[jar:file:/C:/j= boss-5.1.0.GA/lib/jboss-mbeans.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.mx.server.Invocation.invoke(Invocation.java:88)[jar:file:/C:/jbo= ss-5.1.0.GA/lib/jboss-mbeans.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:= 264)[jar:file:/C:/jboss-5.1.0.GA/lib/jboss-mbeans.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)[jar:f= ile:/C:/jboss-5.1.0.GA/lib/jboss-jmx.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at = org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)= [jar:file:/C:/jboss-5.1.0.GA/lib/jboss-system-jmx.jar!/:5.1.0.GA (build: = SVNTag=3DJBoss_5_1_0_GA date=3D200905221053)] at $Proxy38.start(Unknown Source) at = org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(Sta= rtStopLifecycleAction.java:42)[jar:file:/C:/jboss-5.1.0.GA/lib/jboss-syste= m-jmx.jar!/:5.1.0.GA (buil File applicationContext.xml: =20 org.foo.bar=20 Hello Web Application, how are you? =20 Any workaround? Thanks in advance, Adriano. --=20 Adriano Tavares Arquiteto de Software Arkhi - estrat=E9gia em ti | 55 31 2526-5956 | YouTube | Twitter | = Facebook Linkedin | Google Talk: adriano.tavares@arkhi.com.br --Apple-Mail=_0BCB1FA5-F390-4988-B0A4-86470EA863B0--