-----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
|
Title: Message
- RE: [OpenEJB-user] FW: CMP example David Blevins
- RE: [OpenEJB-user] FW: CMP example LASKOWSKI,JACEK (HP-Poland,ex1)
- FW: [OpenEJB-user] FW: CMP example Alan Cabrera
- Re: [OpenEJB-user] FW: CMP exampl... Zahid Rahman