Shiva,

        This error is usually produced when you don't provide user and password for
a container authenticated database connection. Maybe cloudscape database
didn't need login, but Access does. Have you created the Access database? In
this case, have you protected your database so a login is required? What are
your settings for the resource reference to the database?

        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 12:55
Para: [EMAIL PROTECTED]
Asunto: Re: "Cannot find principal mapping information for data source
with JNDI name jdbc/Access"


Hi Jose,

I have not provide any username and password to AccountDB database.same
examples runs fine with cloudscape.
Please let me know any other posibilities ?

regards
shiva

----- Original Message -----
From: Jose Gonz�lez G�mez <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 15:58
Subject: Re: "Cannot find principal mapping information for data source with
JNDI 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".

===========================================================================
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