Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HELP! DBCP configuraiton for Tomcat 5

 
JW Li
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic