camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: TypeConverterLoaderException in WebApplication on ContextLoad
Date Wed, 10 Aug 2011 13:37:08 GMT
You may try to build source for camel or wait for new SNAPSHOT.
I don't think there is a way to work around the issue unless you can set 
the TCCL of your WebApplication.


On 8/10/11 9:11 PM, shekher awasthi wrote:
> Thanks Willem!!
> So how can a get workaround for this problem since as per the JIRA ticket it
> is supposed to be fixed in next release
>
> On Wed, Aug 10, 2011 at 4:59 PM, Willem Jiang<willem.jiang@gmail.com>wrote:
>
>> Hi,
>>
>> I just checked the code of AnnotationTypeConverterLoader and found the
>> converter class could not be loaded rightly when the TCCL is not set
>> rightly.
>> So I created a JIRA[1] for it and committed a patch for it.
>>
>> [1]https://issues.apache.org/**jira/browse/CAMEL-4322<https://issues.apache.org/jira/browse/CAMEL-4322>
>>
>>
>>
>> On 8/10/11 6:05 PM, shekher awasthi wrote:
>>
>>> No i have no camel 2.7.x component in my classpath
>>> even i have a standalong java project in 2.8.0 which is working with no
>>> error
>>> and on same workbench a web-application is causing the exception
>>>
>>> regarding using camel-core 2.7.x i believe that u suggesting me to use
>>> camel-core 2.7.x in place of camel-core 2.8.0?
>>>
>>> On Wed, Aug 10, 2011 at 3:28 PM, Willem Jiang<willem.jiang@gmail.com>**
>>> wrote:
>>>
>>>   Can you check if there are other version of camel in your class patch?
>>>> I guess you may use camel-core 2.7.x with camel component 2.8.x.
>>>>
>>>>
>>>> On 8/10/11 5:44 PM, shekher awasthi wrote:
>>>>
>>>>    i have not created any war
>>>>> was trying to run my web-appication from my Eclipse IDE
>>>>> though as per your suggestion i removed camel-scala jar  from classpath
>>>>> still problem exists
>>>>>
>>>>> Strangely one of my friend working on same application using camel 2.7.2
>>>>> is
>>>>> not experiencing aany such issue
>>>>>
>>>>> On Wed, Aug 10, 2011 at 2:42 PM, Willem Jiang<willem.jiang@gmail.com>**
>>>>> **
>>>>> wrote:
>>>>>
>>>>>    It looks like you wrapped the camel-scala jar into the war.
>>>>>
>>>>>> And it caused the TypeConverterLoaderException
>>>>>> Can try you remove the camel-scala jar from you war ?
>>>>>>
>>>>>>
>>>>>>
>>
>> --
>> Willem
>> ------------------------------**----
>> FuseSource
>> Web: http://www.fusesource.com
>> Blog:    http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English)
>>          http://jnn.javaeye.com (Chinese)
>> Twitter: willemjiang
>> Weibo: willemjiang
>>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Mime
View raw message