Looking a little closer. I notice an error line that says
/Users/pietro/Desktop/openejb-0.8.1/conf/default.cmp_local_tx_database.xml
is missing.  Is the file there?  Is $OPENEJB_HOME pointing to
/Users/pietro/Desktop/openejb-0.8.1?

When you run the scripts, they look for the environmental variable
OPENEJB_HOME.  If it's not there, they will set it for you.  Now, if you
subsequently rename or move the openejb-0.8.1, the OPENEJB_HOME will be
pointing to the wrong place.  Just restart your command shell and all should
be well.


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

Reply via email to