Hi all,

This problem has has been posted before.
But I've searched the list to find the solution in vain.

I'm trying to migrate my web applications from tomcat 4.0 to 4.1.18

My database connnections are handled within declaration in the server.xml 
(see the default context definition below)
file

everything works fine in tomcat 4.0

But in the 4.1.18 version, the server is unable to load my driver class 
Name and create a connection.

the driver jar file is both version in common/lib .

if someone could help .

Meissa


<DefaultContext>
          <Environment name="ressourceDir" type="java.lang.String"
                      value="d:\dev\webs\properties"/> 
 
          <Resource name="jdbc/formation" auth="Container"
                    type="javax.sql.DataSource"/> 
 
 
 
 
           <ResourceParams name="jdbc/formation">
 <parameter><name>user</name><value>formation</value></parameter>
 <parameter><name>password</name><value>formation</value></parameter>
            <parameter>
            <parameter><name>driverClassName</name>
              <value>com.sybase.jdbc2.jdbc.SybDriver</value></parameter>
            <parameter><name>driverName</name>
 <value>jdbc:sybase:Tds:s198000AMSB:5000/formation</value></parameter>    
          </ResourceParams>
 
 
 
 
 
 
 
 
 </DefaultContext> 

Reply via email to