pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedjdbc7.0-1.2.jar
3+ messages / 3 participants
[nested] [flat]
* jdbc7.0-1.2.jar
@ 2000-11-27 20:41 Lars Nielsen Lind <larslind@systemudvikling.dk>
2000-12-04 21:36 ` Re: jdbc7.0-1.2.jar Joseph Shraibman <jks@selectacast.net>
0 siblings, 1 reply; 3+ messages in thread
From: Lars Nielsen Lind @ 2000-11-27 20:41 UTC (permalink / raw)
To: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: jdbc7.0-1.2.jar
2000-11-27 20:41 jdbc7.0-1.2.jar Lars Nielsen Lind <larslind@systemudvikling.dk>
@ 2000-12-04 21:36 ` Joseph Shraibman <jks@selectacast.net>
0 siblings, 0 replies; 3+ messages in thread
From: Joseph Shraibman @ 2000-12-04 21:36 UTC (permalink / raw)
To: Lars Nielsen Lind <larslind@systemudvikling.dk>; +Cc: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: jdbc7.0-1.2.jar
@ 2000-12-05 14:55 Peter Mount <petermount@maidstone.gov.uk>
0 siblings, 0 replies; 3+ messages in thread
From: Peter Mount @ 2000-12-05 14:55 UTC (permalink / raw)
To: 'Lars Nielsen Lind' <larslind@systemudvikling.dk>; pgsql-interfaces
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-12-05 14:55 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-27 20:41 jdbc7.0-1.2.jar Lars Nielsen Lind <larslind@systemudvikling.dk>
2000-12-04 21:36 ` Joseph Shraibman <jks@selectacast.net>
2000-12-05 14:55 RE: jdbc7.0-1.2.jar Peter Mount <petermount@maidstone.gov.uk>
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