Zahid,
 
Can you send me your runcmp script?
 
 
Thanks,
Alan
-----Original Message-----
From: Alan Cabrera [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 29, 2002 11:13 PM
To: 'Zahid Rahman'; [EMAIL PROTECTED]
Subject: RE: [OpenEJB-user] CMP example

Good news Zahid.  It looks like I'm able to reproduce this, although I'm not sure how I did this:
 
"_________________________________________________"
"|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|"
" "
"Running EJB compliance tests on EJB Server"
"_________________________________________________"
" 1. Starting OpenEJB Server..."
" 2. Starting test EJB client..."
............E.........Exception in thread "main" java.lang.NoClassDefFoundError: javax/sql/DataSource
        <<no stack trace available>>
 
I should be able to look into this this weekend.
 
Regards,
Alan
-----Original Message-----
From: Zahid Rahman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 8:28 AM
To: [EMAIL PROTECTED]
Subject: [OpenEJB-user] CMP example

I have attached a file called cmprun.out which contains the output from the batch file.
I have also attached the other files just in case.
 
This is the DOS output.
 
C:\openejb\app>runcmp > runcmp.out
Exception in thread "main" java.rmi.RemoteException: The bean encountered a non-a
pplication exception.; nested exception is:
        java.lang.NoClassDefFoundError: javax/sql/DataSource
java.lang.NoClassDefFoundError: javax/sql/DataSource
        <<no stack trace available>>
 
C:\openejb\app>
 
I also had the line too long problem ( caused by ejbserver.bat) so I downloaded the later version.
 
FROM: LASKOWSKI,JACEK  HP-Poland,ex1
                              DATE: 08/27/2002 00:08:24
                              SUBJECT: RE:  [OpenEJB-user] FW: CMP example
                              
                              Hi,
 
                              Well, javax.sql.DataSource is a part of
                              %OPENEJB_HOME%\lib\jdbc2_0-stdext.jar. The jar is being added by the
                              RunIt.bat script at the 9th line when it iterates through the available
                              *.jar files in %OPENEJB_HOME%\lib directory.
 
                              In order to see why it's happening change the first line from '@echo off' to
                              '@echo on' and send the output. It ought to show us the difference in our
                              envs.
 
                              As to the xaDataSource of Pointbase, it works because the class inherits
                              from javax.sql.DataSource, and it does fulfil the contract. Here is the
                              relevant snippet from EJB1.1 spec (page 255):
 
                              <!--
                              The res-type element specifies the type of the data source. The type is
                              specified by the Java interface (or class) expected to be implemented by the
                              data source.
                              Used in: resource-ref
                              -->
                              <!ELEMENT res-type (#PCDATA)>
 
                              Thus, javax.sql.DataSource and com.pointbase.xa.xaDataSource ought to work.
 
                              Thanks for pointing it out. The document will be updated accordingly.
 
                              -Jacek
                              
                               -----Original Message-----
                              From: David Blevins [mailto:<EMAIL: PROTECTED>]
                              Sent: Monday, August 26, 2002 11:54 PM
                              To: <EMAIL: PROTECTED>
                              Subject: [OpenEJB-user] FW: CMP example
 
 
 
                              -----Original Message-----
                              From: Zahid Rahman [mailto:<EMAIL: PROTECTED>]
                              Sent: Sunday, August 25, 2002 10:33 AM
                              To: David Blevins
                              Subject: CMP example
 

                              When I run the CMP bean example.
                              I get an error message saying
                              java.lang.NoClassDefFoundError: javax/sql/DataSource.
                              This is when I run the client.
 
                              I am actually using the pointbase database to run the CMP example.
                              The Jar files provided by Pointbase contains
                              a class called com.pointbase.xa.xaDataSource.
                              So I have  changed ejb-jar.xml file in the META-INF to read as follows :-
 
                                                          <resource-ref>
                                                            <res-ref-name>jdbc/pointbase</res-ref-name>
                              
                              <res-type>com.pointbase.xa.xaDataSource</res-type>
                                                            <res-auth>Container</res-auth>
 
                              I have included the JARS files which come with pointbase in the classpath
                              in both the runit.bat and the ejbserver.bat.
 
                              By my calculations I shouldn't be using javax.sql.datasource
                              so why am I getting this error ?
 
                              Any ideas ?
 
                              Regards,
                              zahid
 
 
 

                              ----- Original Message -----
                              From: David Blevins
                              To: <EMAIL: PROTECTED>
                              Sent: Saturday, August 24, 2002 8:50 PM
                              Subject: Re: openejb
 

                              That's an important note :)
 
                              We used to support JDK 1.2, but we stopped testing on about a year ago, so
                              things are tough for JDK 1.2 people.  I'd like to fix that, because from a
                              code perspective OpenEJB is fully capable on running with 1.2.  It's all the
                              missing J2EE libraries that make it difficult.
 
                              Antoher interesting note about JDK versions is that one of our contributors
                              (Daniel S. Haischt) is doing his thesis project on running OpenEJB in a
                              portable device like a handheld or PDA.  Among many things, it will require
                              him to make OpenEJB run on the Personal Java VM. 
 
                              Should be quite fun.
 
                              -David
                              -----Original Message-----
                              From: A mailing list for Enterprise JavaBeans development
                              [mailto:<EMAIL: PROTECTED>] On Behalf Of Zahid Rahman
                              Sent: Saturday, August 24, 2002 2:20 AM
                              To: <EMAIL: PROTECTED>
                              Subject: Re: openejb
 

                              May I add preferably JDK 1.3.1 +.
                              There is some discrimination against which version of JDK you use.
 
                              ----- Original Message -----
                              From: David Blevins
                              To: <EMAIL: PROTECTED>
                              Sent: Saturday, August 24, 2002 8:12 PM
                              Subject: Re: openejb
 

                              Not wrong so much, OpenEJB is for white people and Hindus...or tan, brown,
                              or black people...Christians, Moslems, or atheists...or anyone with a
                              heartbeat and a JDK ;-)
 
                              -David
                              -----Original Message-----
                              From: A mailing list for Enterprise JavaBeans development
                              [mailto:<EMAIL: PROTECTED>] On Behalf Of Zahid Rahman
                              Sent: Saturday, August 24, 2002 1:48 AM
                              To: <EMAIL: PROTECTED>
                              Subject: Re: openejb
 

                              You are wrong!
                              I can use it too because Mr. Richard Monson Haefel designed it.
                              He writes books which say. Don't be confused between remove and remove.
 
 
 
                              ----- Original Message -----
                              From: Enda
                              To: <EMAIL: PROTECTED>
                              Sent: Saturday, August 24, 2002 12:10 PM
                              Subject: Re: openejb
 

                              openejb is for the white people and the Hindus
                              ----- Original Message -----
                              From: Zahid Rahman
                              To: <EMAIL: PROTECTED>
                              Sent: Friday, August 23, 2002 10:36 AM
                              Subject: openejb
 

                              Does anyone know of a product called openejb ?

Reply via email to