pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Agustina Buccella <agusb@mail.ru>
To: peter@retep.org.uk
Cc: pgsql-interfaces@postgresql.org
Date: Thu, 23 Nov 2000 19:21:44 -0300
Message-ID: <001d01c0559b$cea6bea0$1251d2aa@1237> (raw)

Hello I find yours email from the mailing list of postgresql.

I have a problem with postgres driver and servlet

I´m using Suse 6.4, jakarta-tomcat servlet, and jdk1.1.8.

I set the correct CLASSPATH in the file wrapper.property 

# CLASSPATH environment 
wrapper.classpath=/usr/lib/jdk1.1.8/postresql.jar

I edit the server.xml file and add this lines

  <RequestInterceptor
            className="org.apache.tomcat.request.JDBCRealm"
            debug="99"
            driverName="org.postgresql.Driver"
            connectionURL="jdbc:postgresql://localhost:5432"
            connectionName="postgres"
            connectionPassword="postgres" />

But when I want to run Tomcat I have a fatal error:

FATAL:java.lang.RuntimeException: JDBCRealm.start.readXml: Something unusual has occured to cause the driver to fail. Please report this exception: java.lang.NullPointerException
java.lang.RuntimeException: JDBCRealm.start.readXml: Something unusual has occured to cause the driver to fail. Please report this exception: java.lang.NullPointerException
        at org.apache.tomcat.request.JDBCRealm.contextInit(JDBCRealm.java:437)
        at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:480)
        at org.apache.tomcat.core.ContextManager.init(ContextManager.java:440)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:197)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:237)

Please help me!!!!!

Thank yous very much!!!
Agustina

Message-ID: <001d01c0559b$cea6bea0$1251d2aa@1237>
Permalink:  ../001d01c0559b$cea6bea0$1251d2aa@1237/
Also on:    postgresql.org/message-id/001d01c0559b$cea6bea0$1251d2aa@1237

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: agusb@mail.ru, peter@retep.org.uk
  Subject: Re: 
  In-Reply-To: <001d01c0559b$cea6bea0$1251d2aa@1237>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox