Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat DataSource pooling problem

 
Mario Mlinar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Tomcat 4.1.27.
I have a small application using DataSource pooling. Which works fine so far.
After reloading my application via an ant Manager my application can�t get a connection with this message:
java.sql.SQLException: Cannot load JDBC driver class 'null'
After I restarting Tomcat it works all well again ...
Can anybody help me?
Thanks.
 
Jon Crosby
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you found a solution to this problem yet? I have seen many of these questions in the forums, but never an answer that solves the problem. I have duplicated the Tomcat 4 online docs exactly but I am getting the same error message as you.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never seen it affect a DataSource connection before, but 4.1.27 had a known 'class reloading' bug that would kill a web application that was reloaded through the manager.

There is a hotfix available for that specific version, but otherwise, 4.1.30 is the current stable release, and it does not have this bug.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic