Hi Rajjaz,

One reason for this class cast exception could be because these 2 classes
are getting loaded from 2 different class loaders.

-Dinusha

On Wed, Nov 25, 2015 at 12:21 AM, Rajjaz Mohammed <[email protected]> wrote:

>
> Seems like a jar version mismatch. Better verify if we are using client
>> jars of the same server version?
>>
>
> yes malaka,
>  i accept with you its because of library version mismatch but if i add
> the same jar file inside the connector as Dependency then its work fine. so
> the issue may be some existing library affecting this library.
>
>
>> Check [1] May be it'll help
>>
>> [1]
>> http://www.coderanch.com/t/454071/java-EJB-SCBCD/certification/javax-naming-Reference-cast-org
>>
>>
> i checked but same issue repeating  again and again.
>
>
> --
> Thank you
> Best Regards
>
> *Rajjaz HM*
> Associate Software Engineer
> WSO2 Inc. <http://wso2.com/>
> lean | enterprise | middleware
> Mobile | +94752833834
> Email   | [email protected]
> LinkedIn | Blogger | WSO2 Profile
> <http://wso2.com/about/team/mohammer_rajjaz/>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Dinusha Boteju*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: [email protected] <[email protected]>
phone:(+94) 776640275 <%28%2B94%29%20777739736>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to