pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lars Nielsen Lind <larslind@systemudvikling.dk>
To: pgsql-interfaces@postgresql.org
Subject: jdbc7.0-1.2.jar
Date: Mon, 27 Nov 2000 21:41:16 +0100
Message-ID: <3A22C6EC.CF1DA2FA@systemudvikling.dk> (raw)

Hi.

I have some problems with PostgreSQL 7.0.2 and JBuilder 4 Foundation and
JavaServer Pages. My development platform is Red Hat 7.0 and JDK 1.3.

When I try to compile my JavaBean (DatabaseHandler) it freeze's when it
reach the no. 2 codeline (have printed "1"):

1.) System.out.println("1");
2.) conn =
DriverManager.getConnection("jdbc:postgresql:testdatabase","user","1234");

3.) System.out.println("2");

Where "user" = linux database admin and "1234" = linux password.

JBuilder never finishes the compile sequence....and when I use the
JavaBean with JavaServer Pages I get a java.lang.NullPointerException.

I start the PostgreSQL database server with this command:

/usr/bin/postmaster -D -i /home/user/databaseserver

I have added the following line to /etc/profile:

CLASSPATH=$CLASSPATH:/usr/lib/pgsql/jdbc7.0-1.2.jar

In JBuilder 4 Foundation the /usr/lib/pgsql/jdbc7.0-1.2.jar have been
added to the Class tab in the Configure JDKs dialog box.


Lars Nielsen Lind
E-mail address: larslind@systemudvikling.dk

view thread (3+ messages)  latest in thread

Message-ID: <3A22C6EC.CF1DA2FA@systemudvikling.dk>
Permalink:  ../3A22C6EC.CF1DA2FA@systemudvikling.dk/
Also on:    postgresql.org/message-id/3A22C6EC.CF1DA2FA@systemudvikling.dk

 · 

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: larslind@systemudvikling.dk
  Subject: Re: jdbc7.0-1.2.jar
  In-Reply-To: <3A22C6EC.CF1DA2FA@systemudvikling.dk>

* 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