I've been staring at this for two weeks and didn't see that.

Thanks for the spare set of eyes.  That's it.




|---------+--------------------------->
|         |           Ricardo Moral   |
|         |           <ricardo_moral@y|
|         |           ahoo.com>       |
|         |                           |
|         |           11/05/2002 09:41|
|         |           AM              |
|         |           Please respond  |
|         |           to "Tomcat Users|
|         |           List"           |
|         |                           |
|---------+--------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                           |
  |        To:      Tomcat Users List <[EMAIL PROTECTED]>                 
                                           |
  |        cc:                                                                         
                                           |
  |        Subject: Re: JNDI JDBC Question                                             
                                           |
  
>-------------------------------------------------------------------------------------------------------------------------------|




Are you writing the driver class name this way:
'com.ibm.as400.access.AS400JDBCDriver()'? when you
configure the BasicDataSource...? I think the problem
may be that you must not use the '()' at the end of
the class name.


--- Brian Kautz <[EMAIL PROTECTED]> wrote:
> I have a Class Not Found Exception error I am not
> certain how to fix.
>
> I have a file called jt400.jar in my
> CATALINA_HOME/common/lib .  My
> servlets access the classes in this jar with no
> problem.
>
> One of the classes in this jar is my JDBC Driver
> class.  Again it works
> fine from a servlet making direct connections using
> this driver.  However
> when trying to use the connect pooling, this same
> driver can not be
> accessed by the JNDI services.  My servlet gets the
> error Cannot load JDBC
> driver class
> 'com.ibm.as400.access.AS400JDBCDriver()' , but
> tomcat's stdout
> records that the real problem is:
>
> Cannot load JDBC driver class
> 'com.ibm.as400.access.AS400JDBCDriver()'
> java.lang.ClassNotFoundException:
> com/ibm/as400/access/AS400JDBCDriver()
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:140)
>         at
>
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
> rce.java:523)
>         at
>
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
> .java:312)
>         at org.apache.jsp.jsp.JDBCTest2_jsp.
> _jspService(JDBCTest2_jsp.java:56)
>
> Why can my servlets find the driver, but the
> connection pool cannot?
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:   <
mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <
mailto:tomcat-user-help@;jakarta.apache.org>







--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to