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