From larslind@systemudvikling.dk Mon Dec 4 04:38:30 2000 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-- From jks@selectacast.net Mon Dec 4 21:35:59 2000 Received: from p1.selectacast.net (p1.selectacast.net [206.41.1.251]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB4LZxG43610 for ; Mon, 4 Dec 2000 16:35:59 -0500 (EST) (envelope-from jks@selectacast.net) Received: from selectacast.net (IDENT:jks@d1 [209.219.91.66]) by p1.selectacast.net (8.9.3/8.9.3) with ESMTP id QAA07964; Mon, 4 Dec 2000 16:36:04 -0500 Message-ID: <3A2C0E44.A1536494@selectacast.net> Date: Mon, 04 Dec 2000 16:36:04 -0500 From: Joseph Shraibman Organization: Xtenit, Inc. http://www.xtenit.com X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Lars Nielsen Lind CC: pgsql-interfaces@postgresql.org Subject: Re: jdbc7.0-1.2.jar References: <3A22C6EC.CF1DA2FA@systemudvikling.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200012/25 X-Sequence-Number: 362 Lars Nielsen Lind wrote: > > 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. > The user and password aren't the same as the linux user and password. They are seperate for postgres. See the admin pages for how to add a new user. -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com From petermount@maidstone.gov.uk Tue Dec 5 14:58:30 2000 Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB5EwUG51473 for ; Tue, 5 Dec 2000 09:58:30 -0500 (EST) (envelope-from petermount@maidstone.gov.uk) Received: from mailgate.maidstone.gov.uk ([194.159.6.98] helo=gatekeeper.maidstone.gov.uk) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 143JYL-0006uD-0A; Tue, 5 Dec 2000 14:58:45 +0000 Received: from exchange1.nt.maidstone.gov.uk (exchange1.maidstone.gov.uk [172.16.0.150]) by gatekeeper.maidstone.gov.uk (8.9.3/8.9.3) with ESMTP id OAA01059; Tue, 5 Dec 2000 14:58:45 GMT Received: by exchange1.nt.maidstone.gov.uk with Internet Mail Service (5.5.2650.21) id ; Tue, 5 Dec 2000 14:55:23 -0000 Message-ID: <1B3D5E532D18D311861A00600865478CF1B612@exchange1.nt.maidstone.gov.uk> From: Peter Mount To: "'Lars Nielsen Lind'" , pgsql-interfaces@postgresql.org Subject: RE: jdbc7.0-1.2.jar Date: Tue, 5 Dec 2000 14:55:21 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200012/35 X-Sequence-Number: 372 This looks like a bug in JBuilder. It's having some unusual problem trying to compile DriverManager.getConnection() which is part of the JDK not the driver, hence out of our control (no JDBC driver has anything to do with compiling apps). This is the second or third report of this I've seen, so it might be good to check on Borland/Imprise's site to see if anyone else has seen this behaviour before. Peter -- Peter Mount Enterprise Support Officer, Maidstone Borough Council Email: petermount@maidstone.gov.uk WWW: http://www.maidstone.gov.uk All views expressed within this email are not the views of Maidstone Borough Council -----Original Message----- From: Lars Nielsen Lind [mailto:larslind@systemudvikling.dk] Sent: Monday, November 27, 2000 8:41 PM To: pgsql-interfaces@postgresql.org Subject: [INTERFACES] jdbc7.0-1.2.jar 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