hi,Nayak:
   JDDB-ODBC driver doesn't support MS Access database,so  u must
change your DBMS.Why not use SQL Server?

Tony Tian
Orientec Inc. Shanghai China

-----Original Message-----
From: Shivkumar B Nayak <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, September 26, 2000 4:49 PM
Subject: "Cannot find principal mapping information for data source with
JNDI name jdbc/Access"


>HI all,
>
>I am testing Account examples from J2EE under NT.Now I am trying with MS-
>Access through jdbc-odbc driver and
>successfully deployed.Problem is when I  run the client program i am
getting
>following error
>
> "Cannot find principal mapping information for data source with JNDI name
>jdbc/Access"
>
>My setting are as follows :-
>
>j2sdkee1.2->config->default.properties
> jdbc.drivers=sun.jdbc.odbc.JdbcOdbcDriver
> jdbc.datasources=jdbc/Access|jdbc:odbc:AccountDB
>
>AccountEJB.java
>      private String dbName = "java:comp/env/jdbc/AccountDB";
>
>Enterprise Bean Wizard
>     For Coded Name field, enter jdbc/AccountDB
>
>Deploying the J2EE Application
>     For the jdbc/AccountDB entry, enter jdbc/Access in the JNDI Name field
>
>Regards
>
>Shiva
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to