Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eANN9LA16789 for ; Thu, 23 Nov 2000 18:09:21 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from machi.uncoma.edu.ar (machi.uncoma.edu.ar [170.210.80.32]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eANMDLA10626 for ; Thu, 23 Nov 2000 17:13:21 -0500 (EST) (envelope-from agusb@mail.ru) Received: from 1237 ([170.210.81.18]) by machi.uncoma.edu.ar (8.10.2/8.10.2) with SMTP id eANMAiP18376; Thu, 23 Nov 2000 19:10:51 -0300 Message-ID: <001d01c0559b$cea6bea0$1251d2aa@1237> From: "Agustina Buccella" To: Cc: Subject: Date: Thu, 23 Nov 2000 19:21:44 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C05582.9D67AA20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200011/243 X-Sequence-Number: 279 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C05582.9D67AA20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello I find yours email from the mailing list of postgresql. I have a problem with postgres driver and servlet I=B4m using Suse 6.4, jakarta-tomcat servlet, and jdk1.1.8. I set the correct CLASSPATH in the file wrapper.property=20 # CLASSPATH environment=20 wrapper.classpath=3D/usr/lib/jdk1.1.8/postresql.jar I edit the server.xml file and add this lines But when I want to run Tomcat I have a fatal error: FATAL:java.lang.RuntimeException: JDBCRealm.start.readXml: Something unusua= l has occured to cause the driver to fail. Please report this exception: ja= va.lang.NullPointerException java.lang.RuntimeException: JDBCRealm.start.readXml: Something unusual has = occured to cause the driver to fail. Please report this exception: java.lan= g.NullPointerException at org.apache.tomcat.request.JDBCRealm.contextInit(JDBCRealm.java:4= 37) at org.apache.tomcat.core.ContextManager.initContext(ContextManager= .java:480) at org.apache.tomcat.core.ContextManager.init(ContextManager.java:4= 40) 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 ------=_NextPart_000_001A_01C05582.9D67AA20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello I find yours email from the mailing = list of=20 postgresql.
 
I have a problem with postgres driver= and=20 servlet
 
I=B4m using Suse 6.4, jakarta-tomcat = servlet,=20 and jdk1.1.8.
 
I set the correct CLASSPATH in the file=20 wrapper.property 
 
# CLASSPATH environment
wrapper.classpath=3D/usr/lib/jdk1.1.8/postresql.jar

I edit=20 the server.xml file and add this lines
 
 =20 <RequestInterceptor
        &= nbsp;  =20 className=3D"org.apache.tomcat.request.JDBCRealm"
   &nbs= p;       =20 debug=3D"99"
          = ; =20 driverName=3D"org.postgresql.Driver"
      = ;     =20 connectionURL=3D"jdbc:postgresql://localhost:5432"
   &nb= sp;       =20 connectionName=3D"postgres"
       &n= bsp;   =20 connectionPassword=3D"postgres" />
 
But when I want to run Tomcat I have a fat= al=20 error:
 
FATAL:java.lang.RuntimeException:=20 JDBCRealm.start.readXml: Something unusual has occured to cause the driver = to=20 fail. Please report this exception:=20 java.lang.NullPointerException
java.lang.RuntimeException:=20 JDBCRealm.start.readXml: Something unusual has occured to cause the driver = to=20 fail. Please report this exception:=20 java.lang.NullPointerException
       = ; at=20 org.apache.tomcat.request.JDBCRealm.contextInit(JDBCRealm.java:437)
&nbs= p;      =20 at=20 org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:480)<= BR>       =20 at=20 org.apache.tomcat.core.ContextManager.init(ContextManager.java:440)
&nbs= p;      =20 at=20 org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:197)
  &n= bsp;    =20 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:237)
 
Please help me!!!!!
 
Thank yous very much!!!
Agustina
 
 
------=_NextPart_000_001A_01C05582.9D67AA20--