| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <002401c1c11d$70bcfa90$8615b3ac@wwwwh13x9ln7t6> |
| From: | "Yousry Abdallah" <Yousry DOT Abdallah AT epost DOT de> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | problem about postgresql and jdbc |
| Date: | Fri, 1 Mar 2002 13:34:32 +0100 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Hi,
i have trouble using PostgreSQL7.1.3 via jdbc on my Windows XP System
(using the actual cygwin distribution and j2sdk1.4.0).
The Database sends following error message after connection:
PacketReceiveFragment: read() failed: Connection reset by peer
The Java Program prints following stack trace:
---Single simple object test and transaction test
pl.PlException: org.postgresql.util.PSQLException:
Something unusual has occured to cause the driver to fail.
Please report this exception: Exception: java.lang.NullPointerException
Stack Trace:
java.lang.NullPointerException
at org.postgresql.Connection.openConnection(Unknown Source)
at org.postgresql.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at pl.test.PostgresqlDatabase.getNewConnection(Unknown Source)
at
pl.sql.RelationalDatabase.getConnection(RelationalDatabase.java:278)
at pl.PersistenceManager.getConnection(PersistenceManager.java:927)
at pl.PersistenceManager.saveObject(PersistenceManager.java:289)
at pl.PersistentObject.save(PersistentObject.java:133)
at pl.test.Test.performTest(Unknown Source)
at pl.test.Test.main(Unknown Source)
End of Stack Trace
Thanks in advance,
Yousry
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |