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 eB44cUF61992 for ; Sun, 3 Dec 2000 23:38:30 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from mail28.scannet.dk (mail28.scannet.dk [194.255.42.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eARKcMt73647 for ; Mon, 27 Nov 2000 15:38:23 -0500 (EST) (envelope-from larslind@systemudvikling.dk) Received: from systemudvikling.dk (213.237.38.131[213.237.38.131])by SCANNET03(MailMax 3.065) with ESMTP id 65432536 for ; Mon, 27 Nov 2000 21:38:35 +0100 WST Message-ID: <3A22C6EC.CF1DA2FA@systemudvikling.dk> Date: Mon, 27 Nov 2000 21:41:16 +0100 From: Lars Nielsen Lind X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: jdbc7.0-1.2.jar Content-Type: multipart/alternative; boundary="------------8AA26C01EA4829659283E371" X-Archive-Number: 200012/19 X-Sequence-Number: 356 --------------8AA26C01EA4829659283E371 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------8AA26C01EA4829659283E371 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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
 
  --------------8AA26C01EA4829659283E371--