views:

328

answers:

0

I am getting an error when I try to establish connection through a DataSource created in weblogic server.Has anyone faced this error in past.I am getting exception in getConnection method of the DataSource.

java.lang.IllegalArgumentException: interface weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_com_informix_jdbc_IfxSqliConnect_RemoteInterface is not visible from class loader
 at java.lang.reflect.Proxy.getProxyClass(Proxy.java:337)
 at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:567)
 at weblogic.rmi.internal.ProxyStub.newInstance(ProxyStub.java:69)
 at weblogic.rmi.internal.OIDManager.resolveObject(OIDManager.java:242)
 at weblogic.common.internal.ChunkedObjectInputStream.resolveObject(ChunkedObjectInputStream.java:81)
 at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.resolveObject(ChunkedObjectInputStream.java:328)
 at java.io.ObjectInputStream.checkResolve(ObjectInputStream.java:1321)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
 at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)
 at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)
 at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
 at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:139)
 at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:152)
 at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
 at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:233)
 at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:264)
 at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230)
 at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
 at $Proxy2.getConnection(Unknown Source