Hi, Jose,
But I found the same message when I use the example privided by j2ee.
When the account client executing, the message appeared on the j2ee console.
And what is the difference between Container managed database authentication
and Application managed database authentication?
Regards,
Que
----- Original Message -----
From: "Jose Gonz�lez G�mez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 6:28 PM
Subject: Re:"Cannot find principal mapping information for data source withJNDI name
jdbc/Access"
> Double check your deployment settings. If the authentication for the
> database is set to Container, and the database needs login, you should have
> in your entity bean, under Resource Ref's, User Name and Password with
> correct values.
>
> Regards
> Jose
>
> -----Mensaje original-----
> De: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]En nombre de Shivkumar B Nayak
> Enviado el: martes, 26 de septiembre de 2000 10:30
> Para: [EMAIL PROTECTED]
> Asunto: "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".
>
===========================================================================
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".