You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by edward <ja...@gmail.com> on 2011/05/14 04:38:41 UTC
datasource wrong error message
Hi, ALL,
If I define a Mysql datasource in the openejb.xml , but don't put Mysql
JDBC driver into lib, the server log didn't put this missing. When run
test client, it show WRONG error, like this
/////////////
Exception in thread "main" javax.ejb.EJBException: Unknown Container
Exception: java.rmi.RemoteException: Cannot read the response from the
server. The class for an object being returned is not located in this
system:; nested exception is:
java.lang.ClassNotFoundException:
org.apache.commons.dbcp.SQLNestedException
at
org.apache.openejb.client.EJBObjectHandler._invoke(EJBObjectHandler.java:190)
at
org.apache.openejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:118)
at
org.apache.openejb.client.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:52)
at $Proxy0.echo(Unknown Source)
at com.Test.main(Test.java:23)
//////////////////////
Did I miss some setup ?
what I expect is, when the server starts up, it should tell me "can't
find mysql jdbc driver .. "
Thanks
Edward
Re: datasource wrong error message
Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
Hi,
do you have the server side log? (openejb.xml)
We should get more relevant information.
Thanks,
Jean-Louis
--
View this message in context: http://openejb.979440.n4.nabble.com/datasource-wrong-error-message-tp3521634p3525561.html
Sent from the OpenEJB User mailing list archive at Nabble.com.