On Fri, Dec 11, 2009 at 1:34 AM, Ajith Vitharana <[email protected]> wrote:

> Hi
>
> I tried with Lahiru's suggestion, and it was the solution for above issue .
>

Even though it work, seems like we still have issues on classloading  in
JSPs. This issue occurs becuase JSP inside bundels has access to classes
loaded by the Application class loader. These classes conflicts with the
classes loaded by the bundles. This issue was fixed in Carbon 2.0 release.

What is the Carbon version you are using?

Thanks
Sameera


>
>
>
> On Thu, Dec 3, 2009 at 9:11 PM, Senaka Fernando <[email protected]> wrote:
>
>> Hi Ajith,
>>
>> If Lahiru's suggestion didn't work, can you attach the complete stack
>> trace?
>>
>> Thanks,
>> Senaka.
>>
>>
>> On Thu, Dec 3, 2009 at 7:00 PM, Lahiru Gunathilake <[email protected]>wrote:
>>
>>> Please try putting your code in to a class rather directly put it in to
>>> jsp, and call it in the jsp.
>>>
>>> Lahiru
>>>
>>>   On Wed, Dec 2, 2009 at 6:38 PM, Ajith Vitharana <[email protected]>wrote:
>>>
>>>>   Hi all,
>>>>
>>>> When i'm going to invoke DataHander class in jsp , it gave me a
>>>> LinkageError ?? :(
>>>> (working on carbon 2.0.2)
>>>>
>>>> *java.lang.LinkageError: loader constraint violation: loader (instance
>>>> of org/apache/jasper/servlet/JasperLoader) previously initiated loading for
>>>> a different type with name "javax/activation/DataHandler"*
>>>>
>>>> Thnaks
>>>> Ajith..
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Lahiru Gunathilake
>>> Software Engineer - WSO2 Inc.
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Senaka Fernando
>> Software Engineer
>> WSO2 Inc.
>> E-mail: [email protected];  Mobile: +94 77 322 1818
>>
>> http://www.wso2.com/ - "The Open Source SOA Company"
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to