You shouldn't have to. The tests should pass right out of the box. I'll look at this.
Regards, Alan > -----Original Message----- > From: Peter Molettiere [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 02, 2002 7:41 PM > To: [EMAIL PROTECTED] > Subject: [OpenEJB-user] openejb 0.8.1 test errors > > > > Hello, > > I'm trying to get started with openejb, and encounter the following > errors when running "openejb.sh test": > > > Failure Summary: > > 1) Entity.CMP.HomeIntfc.create > > > > Failure Details: > > > > 1) Entity.CMP.HomeIntfc.create > > "Received Exception class java.rmi.RemoteException > : The bean encountered a non-application exception.; nested > exception is: > > java.rmi.RemoteException: Castor JDO > DatabaseNotFoundException thrown when attempting to begin a > local transaciton; nested exception is: > > org.exolab.castor.jdo.DatabaseNotFoundException: > Nested error: java.io.FileNotFoundException: > /Users/pietro/Desktop/openejb-0.8.1/conf/default.cmp_local_tx_ > database.xml (No such file or directory)" > > and > > > 1. Starting OpenEJB Server... > > 2. Starting test EJB client... > > Error closing connection with server: null > > Cannot start the test database: > java.lang.IllegalStateException Cannot start database: > javax.naming.NamingException Cannot lookup > /client/tools/DatabaseHome: Received error: Error while > communicating with server: ; nested exception is: > > java.rmi.RemoteException: Cannot access server: > 127.0.0.1/127.0.0.1:4201 Exception: ; nested exception is: > > java.io.IOException: Cannot access server: > 127.0.0.1/127.0.0.1:4201 Exception: java.net.ConnectException > : Connection refused > > java.lang.IllegalStateException: Cannot start database: > javax.naming.NamingException Cannot lookup > /client/tools/DatabaseHome: Received error: Error while > communicating with server: ; nested exception is: > > java.rmi.RemoteException: Cannot access server: > 127.0.0.1/127.0.0.1:4201 Exception: ; nested exception is: > > java.io.IOException: Cannot access server: > 127.0.0.1/127.0.0.1:4201 Exception: java.net.ConnectException > : Connection refused > > at > org.openejb.test.InstantDbTestDatabase.start(InstantDbTestData > base.java:100) > > at org.openejb.test.TestManager.start(TestManager.java:56) > > at > org.openejb.test.ClientTestRunner.doRun(ClientTestRunner.java:112) > > at junit.textui.TestRunner.start(TestRunner.java:235) > > at org.openejb.test.TestRunner.start(TestRunner.java:82) > > at > org.openejb.test.ClientTestRunner.main(ClientTestRunner.java:98) > > I think these are probably related to configuring the database. > > I'm guessing I need to edit conf/openejb.conf and configure a > Connector > for my local database (in my case mysql) -- is this right? > > --Peter > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > http://OpenEJB.sf.net > OpenEJB-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/openejb-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ http://OpenEJB.sf.net OpenEJB-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openejb-user