-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alan Cabrera Sent: Saturday, August 03, 2002 8:26 AM To: 'Daniel S. Haischt' Cc: [EMAIL PROTECTED] Subject: RE: [OpenEJB-user] Problems with openejb test - going on right after building OpenEJ B from scratch
That's it then. I'm going to reinstall my JDKs so something like this doesn't happen again. Thanks for your help Dan. My apologies to the group. Regards, Alan > -----Original Message----- > From: Daniel S. Haischt [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 03, 2002 8:08 AM > To: Alan Cabrera; 'Daniel S. Haischt' > Cc: [EMAIL PROTECTED] > Subject: AW: [OpenEJB-user] Problems with openejb test - > going on right after building OpenEJ B from scratch > > > i tested it with jdk1.3.1, but i do not have any extensions in my jre > ext directory. > > at least the jdbc extension isn't there. > > regards > > daniel s. haischt > -- > > > -----Ursprüngliche Nachricht----- > > Von: Alan Cabrera [mailto:[EMAIL PROTECTED]] > > Gesendet: Samstag, 3. August 2002 06:21 > > An: 'Daniel S. Haischt' > > Cc: '[EMAIL PROTECTED]' > > Betreff: RE: [OpenEJB-user] Problems with openejb test - going on > > right after building OpenEJ B from scratch > > > > > > I noticed that the class is in the runtime for JDK141. > Also for JDK131, I > > have the jar file jdbc-se2.0.jar in my jre/lib/ext > directory. Can you and > > Jacek tell me what JDK you're running and if it's JDK13x, > do you have a > > jdbc-se2.0.jar oin your jre/lib/ext directory? > > > > > > Thanks, > > Alan > > > > > -----Original Message----- > > > From: Alan Cabrera > > > Sent: Friday, August 02, 2002 11:05 PM > > > To: 'Daniel S. Haischt' > > > Cc: [EMAIL PROTECTED] > > > Subject: RE: [OpenEJB-user] Problems with openejb test - going on > > > right after building OpenEJ B from scratch > > > > > > > > > This is weird. I can see why you would want to, and need to, add > > > that line. And yet, it works perfectly fine for me. I wonder why > > > that is? > > > > > > > -----Original Message----- > > > > From: Daniel S. Haischt [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, August 02, 2002 10:41 PM > > > > To: Alan Cabrera > > > > Cc: [EMAIL PROTECTED] > > > > Subject: AW: [OpenEJB-user] Problems with openejb test - going > > > > on right after building OpenEJ B from scratch > > > > > > > > > > > > hello, > > > > > > > > i just did a fresh clean checkout and i am getting the > same error. > > > > > > > > you have to add the line ... > > > > > > > > set CP=%OPENEJB_HOME%\lib\jdbc2_0-stdext.jar;%CP% > > > > > > > > to the bin/test.bat file. > > > > > > > > regards > > > > > > > > daniel s. haischt > > > > -- > > > > > > > > > -----Ursprüngliche Nachricht----- > > > > > Von: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED]]Im > Auftrag von > > > > > Alan Cabrera > > > > > Gesendet: Samstag, 3. August 2002 04:24 > > > > > An: '[EMAIL PROTECTED]' > > > > > Betreff: RE: [OpenEJB-user] Problems with openejb > test - going on > > > > > right after 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