This might be a stupid question, but are you sure you created a DSN for your Access database and called it AccountDB? Brooks Duncan, CMA Java Programmer Sideware Systems [EMAIL PROTECTED] -----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Shivkumar B Nayak Sent: Tuesday, September 26, 2000 1:30 AM To: [EMAIL PROTECTED] 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".
