Hello,

The datasource.classname property of your
$JONAS_ROOT/InstantDB1.properties
file should be 
        datasource.classname org.enhydra.instantdb.jdbc.idbDriver.class
instead of
        datasource.classname org/enhydra/instantdb/jdbc/idbDriver.class

Kind regards
Hélène.


Martyn Wilson wrote:
> 
> Thanks for the previous responses, I do need some more guidance though.
> 
> I am trying to run the example beans to test the installation of Jonas.
> 
> The session bean works but I am having problems with the Entity ones.
> 
> When I run 'EJBServer &' in the $JONAS_ROOT/examples/src/eb directory I
> get the following return:
> 
> bash-2.03# EJBServer &
> [2] 4323
> bash-2.03# JOnAS Server, version 2.0, running on rmi.
> Cannot load JDBC driver : java.lang.ClassNotFoundException:
> org/enhydra/instantd
> b/jdbc/idbDriver.class
> Mapping datasource jdbc:idb=Account.prp on jdbc_1
> EJBHome:eb.JOnASAccountExplBeanAccountHome for AccountExpl available
> EJBHome:eb.JOnASAccountImplBeanAccountHome for AccountImpl available
> EJBServer is ready
> 
> This is in my $JONAS_ROOT/examples/src/eb/jonas.properties file:
> 
> jonas.datasources               InstantDB1
> 
> This is in my $JONAS_ROOT/InstantDB1.properties file:
> 
> datasource.name         jdbc_1
> datasource.url          jdbc:idb=Account.prp
> datasource.classname    org/enhydra/instantdb/jdbc/idbDriver.class
> 
> jdbc.connchecklevel     1
> jdbc.connmaxage         30
> jdbc.connmaxthreads     4
> jdbc.connexcltimeout    30
> jdbc.connteststmt       set date format "yyyy/mm/dd"
> 
> This is my CLASSPATH:
> 
> bash-2.03# echo $CLASSPATH
> :/usr/local/jonas_jdk1.2//examples/classes::/usr/local/jonas_jdk1.2//examples/cl
> 
> asses:/usr/local/lib/idb.jar:/usr/local/lib/idbexmpl.jar:/usr/local/lib/classes1
> 
> 11.zip:/usr/local/lib/jndi.jar:/usr/local/lib/providerutil.jar:/usr/local/lib/rm
> 
> iregistry.jar:/usr/local/jonas_jdk1.2//lib/RMI_jonas.jar:/usr/local/jonas_jdk1.2
> 
> /:/usr/local/lib/ejb.jar:/usr/local/lib/jdbc2_0-stdext.jar:/usr/local/lib/jndi.j
> 
> ar:/usr/local/lib/jta-spec1_0_1.jar:/usr/local/lib/providerutil.jar:/usr/local/l
> 
> ib/rmiregistry.jar:/usr/local/j2sdkee1.2.1/lib/j2ee.jar:/usr/local/idb3_14/Class
> 
> es/idb.jar:/usr/local/idb3_14/Classes/idbexmpl.jar:/usr/local/idb3_14/Classes/id
> 
> bf.jar:/org/enhydra/instantd:/org/enhydra/instantd
> 
> Do I have everything configured properly?
> 
> Thank you.
> 
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                       PLEASE, TAKE INTO ACCOUNT MY NEW EMAIL
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to