tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mader, Steve" <>
Subject RE: DBtaglibs problem connecting via JNDI
Date Mon, 22 Oct 2001 16:03:08 GMT
I had this same issue with JRun 3.1.  I wrote my own connection tag to get
around this issue and figured it would be worked out in the final version of

-----Original Message-----
From: Don Coleman []
Sent: Monday, October 22, 2001 10:31 AM
To: ''
Cc: ''
Subject: RE: DBtaglibs problem connecting via JNDI

I'd expect that you have a problem with your connection pool.  Try testing
it outside of the tag library.  Make sure that the name you look up exists.
Check if the DataSource is null.  Check if the connection returned from the
datasource is null.  I had a problem with the Datasource returning null
Connections because my JDBC drivers were not being loaded.

-----Original Message----- 
From: Gustavo [ <> ] 
Sent: Sunday, October 21, 2001 4:44 AM 
Subject: 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 

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 

View raw message