File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Driverclass not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Driverclass not found" Watch "Driverclass not found" New topic

Driverclass not found


Joined: Jan 11, 2006
Posts: 2

I am trying to create connection pooling in tomcat with SQL Server.
I have defined my JNDI thru tomcat Administrator page.
Afterwards My Application's dtasource is not accesible and thros the following error

ApplicationDispatcher[/admin] Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: Exception retrieving attribute 'driverClassName'

I have plced the


in CATALINA_HOME/common/lib

Still i'm getting error..what may be the problem???

Thanks in Advance...
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Hello "soft man"-

Welcome to JavaRanch.

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

Enyoy your time here.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Exception retrieving attribute 'driverClassName'

What value does that attribute have? Are you using it in a JSP page?

Joined: Jan 11, 2006
Posts: 2
Hi Ulf Dittmer ,

Thanks for ur response..

i just trying to create datasource thru "tomcat Administration" page. i'm not using any JSP..
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Thank you for changing your name.
However, it still doesn't conform to the naming policy here.
Please go back and make sure you enter your first and last name.

Thank you.
[ January 12, 2006: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Driverclass not found
It's not a secret anymore!