pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francesco Lunelli <francesco@ifl.it>
To: pgsql-docs@postgresql.org
Subject: JDBC driver problems with tomcat
Date: Tue, 27 Nov 2001 18:01:18 +0100
Message-ID: <3C03C6DE.3030400@ifl.it> (raw)

Hello to everybody,
I am running postgresquel 6.5.3 and tomcat 4.0.
Everything works fine when I access databases from servlets or JSP but I 
can't authenticate users with  JDBCRealms in tomcat using postgresql 
databases.
If I try to start Tomcat I get this error from the JDBC driver. I am 
using  the driver jdbc6.5-1.2.jar

java.lang.NullPointerException:
        at java.util.StringTokenizer.<init>(StringTokenizer.java:93)
        at postgresql.Driver.parseURL(Driver.java:240)
        at postgresql.Driver.connect(Driver.java:109)
        at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:548)
        at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3334)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Is there a way to use Postgresql  in JDBRealms?
Thanks in advance
Francesco Lunelli




view thread (2+ messages)  latest in thread

Message-ID: <3C03C6DE.3030400@ifl.it>
Permalink:  ../3C03C6DE.3030400@ifl.it/
Also on:    postgresql.org/message-id/3C03C6DE.3030400@ifl.it

 · 

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-docs@postgresql.org
  Cc: francesco@ifl.it
  Subject: Re: JDBC driver problems with tomcat
  In-Reply-To: <3C03C6DE.3030400@ifl.it>

* 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