aspose file tools
The moose likes Tomcat and the fly likes Tomcat DataSource pooling problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat DataSource pooling problem" Watch "Tomcat DataSource pooling problem" New topic

Tomcat DataSource pooling problem

Mario Mlinar

Joined: Feb 05, 2004
Posts: 1
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?
Jon Crosby

Joined: Mar 17, 2004
Posts: 1
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

Joined: Feb 20, 2001
Posts: 3695

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat DataSource pooling problem