* Sacha Labourey > Well, this one is really easy and is not related to Oracle, which is pretty > rare ;) : > > "java.lang.ClassNotFoundException: > org.jboss.ejb.plugins.local.EntityProxy" > > What is strange is that class doesn't seem to be in any of the client JAR. > Maybe it is a bug. In the meantime, just try to put jboss.jar in the > classpath of your client application.
Yes, this made it work. Strange, somehow, that this was only necessary when using MySQL and not Oracle. However, that was only to get findAll() to work... Now I included the test that creates and deletes 1000 records. Actually there 997 record in the database after it fails. Testcase: testCreateRemove took 30.794 sec Caused an ERROR RemoteException occurred in server thread; nested exception is: javax.transaction.TransactionRolledbackException: Entity not found: primaryKey=[.JunitTestXX-etter-99.]; CausedByException is: Entity not found: primaryKey=[.JunitTestXX-etter-99.]; nested exception is: javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=[.JunitTestXX-etter-99.] java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: javax.transaction.TransactionRolledbackException: Entity not found: primaryKey=[.JunitTestXX-etter-99.]; CausedByException is: Entity not found: primaryKey=[.JunitTestXX-etter-99.]; nested exception is: javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=[.JunitTestXX-etter-99.] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:295) at sun.rmi.transport.Transport$1.run(Transport.java:151) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:147) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:463) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704) at java.lang.Thread.run(Thread.java:539) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:250) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user