Dan figured out the problem. Read his earlier emails. The problem was that you're missing a jar file in the classpath that automatically gets created by the BAT files. The reason that it worked for me when I was regression testing was that the jar file was in my extensions directory.
Thanks again to Dan for catching this. Regards, Alan > -----Original Message----- > From: LASKOWSKI,JACEK (HP-Poland,ex1) [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 03, 2002 4:42 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [OpenEJB-user] Problems with openejb test - > going on right af ter building OpenEJ B from scratch > > > Alan, > > I didn't notice a reference to set up the variable and I > didn't do that. In > fact, I read about it, but the doc rather suggests to set it > up rather than > mandate doing it. > > Thus > > C:\_Jacek\projects\_CVS_\openejb>echo %OPENEJB_HOME% > %OPENEJB_HOME% > > prints out nothing important. > > Here's the output from 'openejb test local' with the echo added. > > C:\_Jacek\projects\_CVS_\openejb>openejb test local > "_________________________________________________" > "|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|" > " " > "Running EJB compliance tests on IntraVM Server" > "_________________________________________________" > C:\_JACEK\APPS\JDK1.3\bin\java > -Dopenejb.test.server=org.openejb.test.IvmTestServer > -Dopenejb.test.database=org.openejb. > test.InstantDbTestDatabase -classpath > C:\_JACEK\APPS\JDK1.3\lib\tools.jar;C:\_Jacek\projects\_CVS_\o penejb\lib\xml > Parser > APIs-2.0.2.jar;C:\_Jacek\projects\_CVS_\openejb\lib\xercesImpl > -2.0.2.jar;C:\ > _Jacek\projects\_CVS_\openejb\lib\log4j-1.2. > 1.jar;C:\_Jacek\projects\_CVS_\openejb\lib\junit_3.5.jar;C:\_J > acek\projects\ > _CVS_\openejb\lib\jta_1.0.1.jar;C:\_Jacek\pr > ojects\_CVS_\openejb\lib\jca_1.0.jar;C:\_Jacek\projects\_CVS_\ openejb\lib\ja > karta-regexp-1.1.jar;C:\_Jacek\projects\_CVS > _\openejb\lib\idb_3.26.jar;C:\_Jacek\projects\_CVS_\openejb\li > b\ejb-1.0.jar; > C:\_Jacek\projects\_CVS_\openejb\lib\castor- > 0.9.3.9.jar;;C:\_Jacek\projects\_CVS_\openejb\dist\openejb-0.8 .1.jar;C:\_Jac > ek\projects\_CVS_\openejb\dist\openejb_clien > t-0.8.1.jar;C:\_Jacek\projects\_CVS_\openejb\dist\openejb_corb > a-0.8.1.jar;C: > \_Jacek\projects\_CVS_\openejb\dist\openejb_ > ejb_tests-0.8.1.jar;C:\_Jacek\projects\_CVS_\openejb\dist\open ejb_ri_client- > 0.8.1.jar;C:\_Jacek\projects\_CVS_\openejb\d > ist\openejb_ri_server-0.8.1.jar;C:\_Jacek\projects\_CVS_\opene > jb\dist\openej > b_server-0.8.1.jar org.openejb.test.ClientTe > stRunner -s src\tests-ejb\IvmServer_config.properties > org.openejb.test.ClientTestSuite > OpenEJB 0.8.1 build: 20020802-2341 > http://openejb.sf.net > ............E.........Exception in thread "main" > java.lang.NoClassDefFoundError: javax/sql/DataSource > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:488) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader. java:106) > at > java.net.URLClassLoader.defineClass(URLClassLoader.java:243) > at java.net.URLClassLoader.access$100(URLClassLoader.java:51) > at java.net.URLClassLoader$1.run(URLClassLoader.java:190) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:183) > at java.lang.ClassLoader.loadClass(ClassLoader.java:294) > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) > at java.lang.ClassLoader.loadClass(ClassLoader.java:250) > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) > at > org.openejb.resource.jdbc.JdbcManagedConnectionFactory.createC > onnectionFacto > ry(JdbcManagedConnectionFactory.j > ava:115) > at > org.openejb.core.ConnectorReference.getObject(ConnectorReferen ce.java:26) > at > org.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:164) > at > org.openejb.core.ivm.naming.IntraVmJndiReference.getObject(Int raVmJndiRefere > nce.java:29) > at > org.openejb.core.ivm.naming.ENCReference.getObject(ENCReferenc > e.java:85) > at > org.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:164) > at javax.naming.InitialContext.lookup(InitialContext.java:345) > at > org.openejb.test.stateless.BasicStatelessBean.testAllowedOpera > tions(BasicSta > telessBean.java:258) > at > org.openejb.test.stateless.BasicStatelessBean.businessMethod(B asicStatelessB > ean.java:95) > at java.lang.reflect.Method.invoke(Native Method) > at > org.openejb.core.stateless.StatelessContainer.invoke(Stateless Container.java > :318) > at > org.openejb.core.stateless.StatelessContainer.invoke(Stateless Container.java > :268) > at > org.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbO bjectProxyHand > ler.java:234) > at > org.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectPr oxyHandler.jav > a:120) > at > org.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHa > ndler.java:295 > ) > at > org.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13Invo cationHandler. > java:89) > at $Proxy16.businessMethod(Unknown Source) > at > org.openejb.test.stateless.StatelessAllowedOperationsTests.set > Up(StatelessAl > lowedOperationsTests.java:118) > at > org.openejb.test.NumberedTestCase.run(NumberedTestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:157) > at junit.framework.TestSuite.run(TestSuite.java:152) > at junit.framework.TestSuite.runTest(TestSuite.java:157) > at junit.framework.TestSuite.run(TestSuite.java:152) > at > org.openejb.test.ClientTestRunner.doRun(ClientTestRunner.java:119) > 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) > > and here's my computer's characteristics: > > C:\_Jacek\projects\_CVS_\openejb>ver > > Microsoft Windows 2000 [Version 5.00.2195] > > C:\_Jacek\projects\_CVS_\openejb>java -version > java version "1.3.1_03" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03) > Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode) > > C:\_Jacek\projects\_CVS_\openejb>echo %CLASSPATH% > C:\_Jacek\apps\Oracle\Ora81\orb\classes\yoj.jar;C:\_Jacek\apps > \Oracle\Ora81\ > orb\classes\share.zip > > I'm going to test it out on HP-UX 11.0 with JDK 1.3.1_05, > hopefully later > today. > > -Jacek > > > -----Original Message----- > > From: Alan Cabrera [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, August 03, 2002 4:24 AM > > To: '[EMAIL PROTECTED]' > > Subject: RE: [OpenEJB-user] Problems with openejb test - > > going on right > > af ter building OpenEJ B from scratch > > > > > > This seems to work for me. Can you echo $OPENEJB_HOME for > > me? Also, in the > > bin/test.bat file, can you add an echo that echos out the > > whole command line > > and send that to me also? > > > > > > Thanks, > > Alan > > > > > -----Original Message----- > > > From: LASKOWSKI,JACEK (HP-Poland,ex1) > > [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, August 02, 2002 6:19 PM > > > To: '[EMAIL PROTECTED]' > > > Subject: [OpenEJB-user] Problems with openejb test - going on > > > right after building OpenEJ B from scratch > > > > > > > > > Hi, > > > > > > Right after 'cvs co', and 'openejb build' commands 'openejb > > > test local' has > > > finished with the following: > > > > > > C:\_Jacek\projects\_CVS_\openejb>openejb test local > > > "_________________________________________________" > > > "|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|" > > > " " > > > "Running EJB compliance tests on IntraVM Server" > > > "_________________________________________________" > > > OpenEJB 0.8.1 build: 20020802-2341 > > > http://openejb.sf.net > > > ............E.........Exception in thread "main" > > > java.lang.NoClassDefFoundError: javax/sql/DataSource > > > at java.lang.ClassLoader.defineClass0(Native Method) > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:488) > > > at > > > java.security.SecureClassLoader.defineClass(SecureClassLoader. > > java:106) > > > at > > > java.net.URLClassLoader.defineClass(URLClassLoader.java:243) > > > at > > java.net.URLClassLoader.access$100(URLClassLoader.java:51) > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:190) > > > at > > java.security.AccessController.doPrivileged(Native Method) > > > at > > java.net.URLClassLoader.findClass(URLClassLoader.java:183) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:294) > > > at > > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:250) > > > at > > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) > > > at > > > org.openejb.resource.jdbc.JdbcManagedConnectionFactory.createC > > > onnectionFacto > > > ry(JdbcManagedConnectionFactory.j > > > ava:115) > > > at > > > org.openejb.core.ConnectorReference.getObject(ConnectorReferen > > ce.java:26) > > > at > > > org.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:164) > > > at > > > org.openejb.core.ivm.naming.IntraVmJndiReference.getObject(Int > > raVmJndiRefere > > > nce.java:29) > > > at > > > org.openejb.core.ivm.naming.ENCReference.getObject(ENCReferenc > > > e.java:85) > > > at > > > org.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:164) > > > at > > javax.naming.InitialContext.lookup(InitialContext.java:345) > > > at > > > org.openejb.test.stateless.BasicStatelessBean.testAllowedOpera > > > tions(BasicSta > > > telessBean.java:258) > > > at > > > org.openejb.test.stateless.BasicStatelessBean.businessMethod(B > > asicStatelessB > > > ean.java:95) > > > at java.lang.reflect.Method.invoke(Native Method) > > > at > > > org.openejb.core.stateless.StatelessContainer.invoke(Stateless > > Container.java > > > :318) > > > at > > > org.openejb.core.stateless.StatelessContainer.invoke(Stateless > > Container.java > > > :268) > > > at > > > org.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbO > > bjectProxyHand > > > ler.java:234) > > > at > > > org.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectPr > > oxyHandler.jav > > > a:120) > > > at > > > org.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHa > > > ndler.java:295 > > > ) > > > at > > > org.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13Invo > > cationHandler. > > > java:89) > > > at $Proxy16.businessMethod(Unknown Source) > > > at > > > org.openejb.test.stateless.StatelessAllowedOperationsTests.set > > > Up(StatelessAl > > > lowedOperationsTests.java:118) > > > at > > > org.openejb.test.NumberedTestCase.run(NumberedTestCase.java:124) > > > at junit.framework.TestSuite.runTest(TestSuite.java:157) > > > at junit.framework.TestSuite.run(TestSuite.java:152) > > > at junit.framework.TestSuite.runTest(TestSuite.java:157) > > > at junit.framework.TestSuite.run(TestSuite.java:152) > > > at > > > org.openejb.test.ClientTestRunner.doRun(ClientTestRunner.java:119) > > > 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) > > > > > > Also 'openejb test remote' has ended with the following (the > > > remote server > > > started up properly, but seemed to take to much time) > > > > > > C:\_Jacek\projects\_CVS_\openejb>openejb test remote > > > "_________________________________________________" > > > "|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|" > > > " " > > > "Running EJB compliance tests on EJB Server" > > > "_________________________________________________" > > > " 1. Starting OpenEJB Server..." > > > 'sleep' is not recognized as an internal or external command, > > > operable program or batch file. > > > " 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 Cann > > > ot 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 : Conne > > > ction refused: connect > > > java.lang.IllegalStateException: Cannot start database: > > > javax.naming.NamingException Cannot lookup /client/tools/Databas > > > eHome: 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 : Conne > > > ction refused: connect > > > 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) > > > > > > The last command 'openejb test corba' ended with the following: > > > > > > C:\_Jacek\projects\_CVS_\openejb>openejb test corba > > > "_________________________________________________" > > > "|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|" > > > " " > > > "Running EJB compliance tests on CORBA Server" > > > "_________________________________________________" > > > " 1. Starting OpenORB JNDI Server..." > > > 'sleep' is not recognized as an internal or external command, > > > operable program or batch file. > > > " 2. Starting OpenEJB CORBA Server with OpenORB..." > > > 'sleep' is not recognized as an internal or external command, > > > operable program or batch file. > > > " 3. Starting test client..." > > > Cannot start the test database: > > > java.lang.IllegalStateException Cannot start > > > database: javax.naming.NoInitialContextExce > > > ption Cannot instantiate class: org.openorb.rmi.jndi.CtxFactory > > > java.lang.IllegalStateException: Cannot start database: > > > javax.naming.NoInitialContextException Cannot instantiate class: > > > org.openorb.rmi.jndi.CtxFactory > > > 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) > > > > > > and the "OpenEJB CORBA Server with OpenORB" (As indicated by > > > the command > > > line window title) prints out the following: > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > org/omg/PortableServer/POAOperations > > > > > > Summing it up, all tests failed. Nevertheless, openejb start > > > went with no > > > problems: > > > > > > C:\_Jacek\projects\_CVS_\openejb>openejb start > > > OpenEJB Remote Server 0.8.1 build: 20020802-2341 > > > http://openejb.sf.net > > > ----------------STARTUP---------------- > > > [init] OpenEJB Container System > > > [init] OpenEJB Remote Server > > > ** Starting Services ** > > > NAME IP PORT > > > ejb server 127.0.0.1 4201 > > > admin console 127.0.0.1 4200 > > > -----------------INFO------------------ > > > To log into the admin console, telnet to: > > > telnet 127.0.0.1 4200 > > > --------------------------------------- > > > Ready! > > > > > > Excellent. > > > > > > -Jacek > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > ------------------------------------------------------- > 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