Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Problems connecting to db

BAO RuiXian

2004-01-23

Replies:



fachhochschule.burkhart@(protected):

>>Note that the JDBC libraries are required by a definition of a resource
>>in server.xml (not by your application ). Try putting them drivers in
>>$TOMCAT_BASE/common/lib, to make them available to that resource.
>>  
>>
>
>Hello,
>I tried it and it didn't help.
>But as far as I understood, it shouldn't matter where the classes or jar
>files are, as long as they're in the classpath. Correct?
>
>
Hmm, not quite. Actually, Tomcat does not use classpath info. It has its
own rule to load library files. To know more, please have a look at this
link:

  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Best

Bao

>The problem, I think, is rather that something is wrong with the data I put
>into server.xml ... is that possible?
>
>Regards
>B. Burkhart
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.