Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-13 Thread Claus Ibsen
On Fri, May 13, 2011 at 10:45 AM, anoordover wrote: > Logging in 2.70: > > Illegal character in opaque part at index 17: > jar:file:/c:/Mijn > documenten/.m2/repository/org/apache/camel/camel-core/2.7.0/camel-core-2.7.0.jar!/META-INF/services/org/apache/camel/TypeConverter > > > In 2.8-snapshot it

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-13 Thread anoordover
Logging in 2.70: Illegal character in opaque part at index 17: jar:file:/c:/Mijn documenten/.m2/repository/org/apache/camel/camel-core/2.7.0/camel-core-2.7.0.jar!/META-INF/services/org/apache/camel/TypeConverter In 2.8-snapshot it is fixed like you said previously. For my curiousity: Can you al

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread Claus Ibsen
On Thu, May 12, 2011 at 10:11 PM, anoordover wrote: > I've seen your solution. Great. > Can you explain why you choose to adept the AbstractCamelContextFactoryBean. > Wouldn't it be simpler to change DefaultPackageScanClassResolver or will > there be other issues when you do this. > > Btw. some s

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread anoordover
I've seen your solution. Great. Can you explain why you choose to adept the AbstractCamelContextFactoryBean. Wouldn't it be simpler to change DefaultPackageScanClassResolver or will there be other issues when you do this. Btw. some samples fail because of classloading problems when the location of

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread Claus Ibsen
Hi Ah I have spotted the issue. Its to be fixed on trunk. On Thu, May 12, 2011 at 4:06 PM, anoordover wrote: > This is the spring xml file: > > > http://www.springframework.org/schema/beans"; >        xmlns:context="http://www.springframework.org/schema/context"; >        xmlns:camel="http://c

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread anoordover
This is the spring xml file: http://www.springframework.org/schema/beans"; xmlns:context="http://www.springframework.org/schema/context"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread Claus Ibsen
You use a spring xml file? Or how do you define your Camel application? On Thu, May 12, 2011 at 3:27 PM, anoordover wrote: > camel 2.7.0 > camel-jboss-2.6.0.jar > > -- > View this message in context: > http://camel.465427.n5.nabble.com/TypeConverter-loading-failes-in-JBoss-5-1-0-GA-tp4389726p43

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread anoordover
camel 2.7.0 camel-jboss-2.6.0.jar -- View this message in context: http://camel.465427.n5.nabble.com/TypeConverter-loading-failes-in-JBoss-5-1-0-GA-tp4389726p4390227.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread Claus Ibsen
On Thu, May 12, 2011 at 12:27 PM, anoordover wrote: > Yes i do. > > I see this in the log: > > 12:17:56,834 INFO  [AbstractCamelContextFactoryBean] Using custom > PackageScanClassResolver: > org.apache.camel.jboss.JBossPackageScanClassResolver > > What Camel version are you using. And make sure y

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread anoordover
Yes i do. I see this in the log: 12:17:56,834 INFO [AbstractCamelContextFactoryBean] Using custom PackageScanClassResolver: org.apache.camel.jboss.JBossPackageScanClassResolver Apperently this gets set after the TypeConverters are discovered. -- View this message in context: http://camel.46

Re: TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread Daniel Bevenius
Hi, are you using the camel-extra JBossPackageScanClassResolver: http://camel.apache.org/camel-jboss.html Regards, /Daniel On 12 May 2011 11:10, anoordover wrote: > Loading of de TypeConverters failes with de following trace: > > > 11:04:00,853 TRACE [DefaultPackageScanClassResolver] Searchi

TypeConverter loading failes in JBoss 5.1.0.GA

2011-05-12 Thread anoordover
Loading of de TypeConverters failes with de following trace: 11:04:00,853 TRACE [DefaultPackageScanClassResolver] Searching for: annotated with @Converter in package: org/apache/camel/component/file using classloader: org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader 11:04:00,853 TRACE [Default