You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Gustavo <g_...@wanadoo.es> on 2001/10/21 10:43:39 UTC

DBtaglibs problem connecting via JNDI

I´m using Tomcat 4.0 and I would like to use DBTaglibs in my JSPs. I´ve tried with a test page and it works when I use url, driver, user and password attributes in the connection tag. 

But I would like to connect via JNDI and then it fails: 

    NullPointerException in apache.org....ConnectionTag.doStartTag


I´ve defined an entry in my server.xml file for the JNDI lookup and it seems to be correct.

Any ideas about what can be hapenning?

Thanks in advance,

Gustavo Mateos