build identifier: m20090917-0800

i'm not able to access to a database using the postgresql jdbc driver postgresql-8.4-701.jdbc4.jar from http://jdbc.postgresql.org/. i use postgresql 8.4.1 on debian testing.

birt 2.5.1 came with the all-in-one package and was installed in the user's home directory. the jdbc driver is located in the user's home directory as well. 

the error message:

org.eclipse.birt.report.data.oda.jdbc.jdbcexception: there is an error in get connection, der verbindungsversuch schlug fehl..
at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.doco nnect(jdbcdrivermanager.java:262)
at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.getc onnection(jdbcdrivermanager.java:186)
at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.tryc reateconnection(jdbcdrivermanager.java:706)
at org.eclipse.birt.report.data.oda.jdbc.jdbcdrivermanager.test connection(jdbcdrivermanager.java:612)
at org.eclipse.birt.report.data.oda.jdbc.ui.util.driverloader.t estconnection(driverloader.java:120)
at org.eclipse.birt.report.data.oda.jdbc.ui.util.driverloader.t estconnection(driverloader.java:133)
at org.eclipse.birt.report.data.oda.jdbc.ui.profile.jdbcselecti onpagehelper.testconnection(jdbcselectionpagehelper.java:653 )
at org.eclipse.birt.report.data.oda.jdbc.ui.profile.jdbcselecti onpagehelper.access$7(jdbcselectionpagehelper.java:627)
at org.eclipse.birt.report.data.oda.jdbc.ui.profile.jdbcselecti onpagehelper$7.widgetselected(jdbcselectionpagehelper.java:5 49)
at org.eclipse.swt.widgets.typedlistener.handleevent(typedliste ner.java:228)
at org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java :84)
at org.eclipse.swt.widgets.widget.sendevent(widget.java:1176)
at org.eclipse.swt.widgets.display.rundeferredevents(display.ja va:3493)
at org.eclipse.swt.widgets.display.readanddispatch(display.java :3112)
at org.eclipse.jface.window.window.runeventloop(window.java:825 )
at org.eclipse.jface.window.window.open(window.java:801)
at org.eclipse.birt.report.designer.ui.dialogs.basedialog.open( basedialog.java:110)
at org.eclipse.birt.report.designer.data.ui.providers.editabled atasourcenodeprovider.performedit(editabledatasourcenodeprov ider.java:72)
at org.eclipse.birt.report.designer.internal.ui.views.defaultno deprovider.performrequest(defaultnodeprovider.java:426)
at org.eclipse.birt.report.designer.internal.ui.views.actions.e ditaction.doaction(editaction.java:90)
at org.eclipse.birt.report.designer.internal.ui.views.actions.a bstractelementaction.run(abstractelementaction.java:70)
at org.eclipse.birt.report.designer.internal.ui.views.renamelis tener.doubleclick(renamelistener.java:214)
at org.eclipse.jface.viewers.structuredviewer$1.run(structuredv iewer.java:821)
at org.eclipse.core.runtime.saferunner.run(saferunner.java:42)
at org.eclipse.core.runtime.platform.run(platform.java:888)
at org.eclipse.ui.internal.jfaceutil$1.run(jfaceutil.java:48)
at org.eclipse.jface.util.saferunnable.run(saferunnable.java:17 5)
at org.eclipse.jface.viewers.structuredviewer.firedoubleclick(s tructuredviewer.java:819)
at org.eclipse.jface.viewers.abstracttreeviewer.handledoublesel ect(abstracttreeviewer.java:1419)
at org.eclipse.jface.viewers.structuredviewer$4.widgetdefaultse lected(structuredviewer.java:1195)
at org.eclipse.jface.util.openstrategy.firedefaultselectioneven t(openstrategy.java:238)
at org.eclipse.jface.util.openstrategy.access$0(openstrategy.ja va:235)
at org.eclipse.jface.util.openstrategy$1.handleevent(openstrate gy.java:296)
at org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java :84)
at org.eclipse.swt.widgets.widget.sendevent(widget.java:1176)
at org.eclipse.swt.widgets.display.rundeferredevents(display.ja va:3493)
at org.eclipse.swt.widgets.display.readanddispatch(display.java :3112)
at org.eclipse.ui.internal.workbench.runeventloop(workbench.jav a:2405)
at org.eclipse.ui.internal.workbench.runui(workbench.java:2369)
at org.eclipse.ui.internal.workbench.access$4(workbench.java:22 21)
at org.eclipse.ui.internal.workbench$5.run(workbench.java:500)
at org.eclipse.core.databinding.observable.realm.runwithdefault (realm.java:332)
at org.eclipse.ui.internal.workbench.createandrunworkbench(work bench.java:493)
at org.eclipse.ui.platformui.createandrunworkbench(platformui.j ava:149)
at org.eclipse.ui.internal.ide.application.ideapplication.start (ideapplication.java:113)
at org.eclipse.equinox.internal.app.eclipseapphandle.run(eclips eapphandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher .runapplication(eclipseapplauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher .start(eclipseapplauncher.java:79)
at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipses tarter.java:368)
at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipses tarter.java:179)
at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodacce ssorimpl.java:39)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingme thodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at org.eclipse.equinox.launcher.main.invokeframework(main.java: 559)
at org.eclipse.equinox.launcher.main.basicrun(main.java:514)
at org.eclipse.equinox.launcher.main.run(main.java:1311)

reproducible: always

steps to reproduce:
1. create a postgresql database
2. create a data source
3. add the jdbc driver using the 'manage driver' dialog
4. click 'test connection...'
it seems this problem is the result of changes in debian; a description is given in message #505058: 

,----
| originally posted by: gunnar.stahl.gunnarstahl.org
| 
| the problem was caused by a pretty unbelievable thing introduced in
| debian. found out that java was no longer able to do any sort of
| network connections anymore. even connections to localhost failed...
| 
| someone decided to introduce a ipv6-only switch in netbase via
| /etc/sysctl.d/bindv6only.conf. while this may or may not be a
| usefull default behaviour for the general the result is that java is
| no longer able to do networking at all.
| 

| so to solve it you have to edit /etc/sysctl.d/bindv6only.conf and
| change the value of net.ipv6.bindv6only from "1" to "0". then do a
| "sudo invoke-rc.d procps restart". after that, java has networking
| again.
| 
| found that solution on
| "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056".
`----