Hi Zahid,

I'm downloading PointBase DB, so I'll be able to look into the issue during
the weekend. I'll be writing down an addendum to the CMP example document
where all the steps will be described thourougly. Stay tuned...

-Jacek

> -----Original Message-----
> From: Zahid Rahman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 28, 2002 12:23 PM
> To: LASKOWSKI,JACEK (HP-Poland,ex1)
> Cc: [EMAIL PROTECTED]
> Subject: Re: [OpenEJB-user] CMP example
> 
> 
> Essentially this the error message I have after doing some 
> trouble shooting.
> I am not sure what the answer is ?
> 
> java.rmi.RemoteException: The bean encountered a 
> non-application exception.;
> nested exception is:
>         org.exolab.castor.jdo.DatabaseNotFoundException: The 
> persistence
> engine pointbase is not supported in this Castor configuration
> org.exolab.castor.mapping.MappingException: The persistence 
> engine pointbase
> is not supported in this Castor configuration
>         <<no stack trace available>>
> 
> Regards,
> Zahid
> 
> ----- Original Message -----
> From: "LASKOWSKI,JACEK (HP-Poland,ex1)" <[EMAIL PROTECTED]>
> To: "'Zahid Rahman'" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 28, 2002 8:24 AM
> Subject: RE: [OpenEJB-user] CMP example
> 
> 
> > Hi Zahid,
> >
> > Am I reading it right that you was running the example with 
> the older
> > OpenEJB release ? The CMP document says:
> >
> > [...]
> > Everything was tested on MS Windows 2000 with PostgreSQL 
> 7.2.1 installed
> on
> > Cygwin 1.3.12-2 as well as with Sun JDK 1.3.1_04 and PostgreSQL JDBC
> driver.
> >
> > [...]
> >
> > , thus it's adviced to run it with OpenEJB 0.8.1 and up. 
> Otherwise, you
> > might prepare yourself for dealing not only with the 
> problems with the
> > example, but also with some of 
> already-fixed-in-the-recent-release bugs.
> >
> > How is your environment different from that ?
> >
> > -Jacek
> > -----Original Message-----
> > From: Zahid Rahman [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 27, 2002 2:28 PM
> > 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
> ?
> 


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to