Re: [Dev] is there any issue in adding classloder to connector

2015-11-26 Thread Thusitha Thilina Dayaratne
Hi Rajjaz Linkage error happens when the same class is being loaded by more than one classloader. Thanks Thusitha On Thu, Nov 26, 2015 at 11:20 AM, Rajjaz Mohammed wrote: > Hi, > i Resolved that issue through Delete some classes inside the jar but its > produce new

Re: [Dev] is there any issue in adding classloder to connector

2015-11-26 Thread Rajjaz Mohammed
Hi Thusitha, i resolved above issue by adding method[1] but i need to know is there any affect to platform due to that method. or is there any solutions other then that[2] [1] public void connect(MessageContext messageContext) { Thread currentThread = Thread.currentThread(); ClassLoader

Re: [Dev] is there any issue in adding classloder to connector

2015-11-25 Thread Rajjaz Mohammed
Hi, i Resolved that issue through Delete some classes inside the jar but its produce new error[1]. its seems to be like classloader issue[2]. and guide me on editing the jar file. is it OK for the development? [1] [2015-11-26 11:07:03,109] ERROR - EJBConnector Error calling EJB Service from

Re: [Dev] is there any issue in adding classloder to connector

2015-11-25 Thread Dinusha Boteju
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 wrote: > > Seems like a jar version mismatch. Better verify if we are using

Re: [Dev] is there any issue in adding classloder to connector

2015-11-24 Thread Rajjaz Mohammed
> 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

Re: [Dev] is there any issue in adding classloder to connector

2015-11-24 Thread Rajjaz Mohammed
Hi All, while I’m testing alternative way to solve above issue without using java reflection and without add dependency Lib inside connector I’m getting below error[1] for first request then for following requests[2] . how can i solve this issue? [1] [2015-11-24 12:40:03,712] DEBUG - wire >>

Re: [Dev] is there any issue in adding classloder to connector

2015-11-24 Thread Malaka Silva
Seems like a jar version mismatch. Better verify if we are using client jars of the same server version? Check [1] May be it'll help [1] http://www.coderanch.com/t/454071/java-EJB-SCBCD/certification/javax-naming-Reference-cast-org On Tue, Nov 24, 2015 at 4:19 PM, Rajjaz Mohammed

[Dev] is there any issue in adding classloder to connector

2015-11-17 Thread Rajjaz Mohammed
Hi, for my ejb2 Connector I’m using method[1] to prevent glassfish classloading issues but according to my Code review i removed the method[1] but I’m getting error[2]. is there any issue to platform due to keep the method in my connector? please advice me to solve the issue. [1] public void