java.lang.ClassNotFoundException org.tranql.ql.QueryException coming on
invoking CMP
------------------------------------------------------------------------------------
Key: GERONIMO-2296
URL: http://issues.apache.org/jira/browse/GERONIMO-2296
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: OpenEJB
Affects Versions: 1.1
Environment: All Platforms
Reporter: Manu T George
When I Invoke a CMP Ejb from a remote client with the corressponding database
table dropped. Then I get a ClassNotFoundException wrapped as a
RemoteException.
java.rmi.RemoteException: Cannot read the response from the server. The class f
or an object being returned is not located in this system:; nested exception is:
java.lang.ClassNotFoundException: org.tranql.ql.QueryException
at org.openejb.client.Client.request(Client.java:210)
at org.openejb.client.EJBInvocationHandler.request(EJBInvocationHandler.
java:212)
at org.openejb.client.EJBHomeHandler.create(EJBHomeHandler.java:225)
at org.openejb.client.EJBHomeHandler._invoke(EJBHomeHandler.java:148)
at org.openejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.j
ava:183)
at org.openejb.client.CgLibInvocationHandler.invoke(CgLibInvocationHandl
er.java:77)
at org.openejb.client.CgLibInvocationHandler.intercept(CgLibInvocationHa
ndler.java:67)
at org.openejb.client.CgLibProxy$$EnhancerByCGLIB$$274269a7.create(<gene
rated>)
at examples.cmp.ProductClient.main(ProductClient.java:34)
Caused by: java.lang.ClassNotFoundException: org.tranql.ql.QueryException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.io.ObjectInputStream.resolveClass(Unknown Source)
at org.openejb.server.ejbd.EJBObjectInputStream.resolveClass(EJBObjectIn
putStream.java:84)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.openejb.client.EJBResponse.readExternal(EJBResponse.java:152)
at org.openejb.client.Client.request(Client.java:208)
... 8 more
Instead of this maybe a more relevant exception can be wrapped in the
RemoteException which will indicate that the table is not found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira