Hi,

I'm having trouble setting up a context with jdbc.postgresql (noob). As far
as I know the context is fine, but when I have it enabled all pages are
returning "HTTP Status 404 - *The requested resource () is not available."

*My context:

<Context     path="/path"
               docBase="path"
               debug="5"
               reloadable="true"
               crossContext="true">

               <Resource   name="jdbc/path"
                auth="Container"
                type="javax.sql.DataSource"
                maxActive="100"
                maxIdle="10"
                maxWait="10000"
                username="user"
                password="password"
                driverClassName="org.postgresql.Driver"
                url="jdbc:postgresql://
123.123.123.123:5432/databasePRODUCTION"/>
</Context>

I have placed postgresql-8.3-604.jdbc4.jar in $tomcat/lib/. Tried setting up
log4j to help better diagnose the problem, but it's not producing anything
useful in the logs. I'm using the log4j example from this page:
http://tomcat.apache.org/tomcat-6.0-doc/logging.html

Please help!

-- 
Best Regards,
Stephen

Reply via email to