tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Durst" <ddu...@larubber.com>
Subject RE: Resource issues
Date Thu, 09 Jan 2003 20:55:22 GMT
> Question 1: Is your jar containing org.prostgresql.Driver in common/lib?
yes, jdbc7.1-1.2.jar is in there
> Question 2: Is your resource defined in a Context or as a GlobalNaming
> Resource?
Context inside of localhost

<Context path="/admin" docBase="sfadmin" debug="0" privileged="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
prefix="store_front_admin" suffix=".log"/>
          <Resource name="jdbc/mydb" auth="Container"
type="javax.sql.Datasource"/>
          <ResourceParams name="jdbc/mydb">
            <parameter><name>factory</name><value>org.apache.commons.dbcp.BasicDataSourceFactory</value></parameter>
            <parameter><name>maxActive</name><value>100</value></parameter>
            <parameter><name>maxIdle</name><value>5</value></parameter>
            <parameter><name>maxWait</name><value>-1</value></parameter>
            <parameter><name>username</name><value>NOSORRY</value></parameter>
            <parameter><name>password</name><value>NOSORRY</value></parameter>
            <parameter><name>driverClassName</name><value>org.postgresql.Driver</value></parameter>
            <parameter><name>url</name><value>jdbc:postgresql://127.0.0.1:5432/larco</value></parameter>
         </ResourceParams>
       </Context>

> Question 3: Version of Tomcat?
4.1.18

> Attached is a small servlet which you can use to find out what is
> happening.
Already have my own test which is pretty muchly a dup of what they have on
the site.



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


Mime
View raw message