aspose file tools*
The moose likes Tomcat and the fly likes HELP!  DBCP configuraiton for Tomcat 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HELP!  DBCP configuraiton for Tomcat 5" Watch "HELP!  DBCP configuraiton for Tomcat 5" New topic
Author

HELP! DBCP configuraiton for Tomcat 5

JW Li
Ranch Hand

Joined: Mar 11, 2003
Posts: 33
Hi,

I followed the DBCP configuration instruction on Tomcat documentation, and got the DataSource via JNDI; however, when I use the dataSource to getConnection, it throws a NullPointerException from DBCP code:



Here's my configuration:

in server.xml:



in web.xml:


Can anyone help me with this configuration issue? Thanks a lot!!!
Ari Schenck
Greenhorn

Joined: Nov 12, 2004
Posts: 1
Have you resolved this issue? I am having the same problem here... and am not finding much on the topic. What is your version of tomcat, oracle, et cetera? Perhaps we can find something in common.

Thanks

Ari
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP! DBCP configuraiton for Tomcat 5