<Tanzila.Moham
...@fao.org> wrote:
> Dear Thomas,
> As a workaround this is fine. I will do some testing on our side and if all
> is well I will include this modification in the next release.
> Thank-you and feel free to contact us if there are any more issues.
> Kind regards,
> Tanzila
> -----Original Message-----
> From: gwug-global-workstation-users-group@googlegroups.com
> [mailto:gwug-global-workstation-users-group@googlegroups.com] On Behalf Of
> tbeg
> Sent: 09 April 2010 21:11
> To: GWUG - Global Workstation Users Group
> Subject: install JDBC issue "no password provided"
> Hi list,
> I have some issues trying to install the latest Workstation 3.2
> I'm on a clean virtualbox guest with XP pro sp2 and jdk-6u18. After adjusting
> the devel.properties I get error:
> 2010-04-09 09:43:22,285 | LayerImporterWrapper_thread | INFO |
> LayerImporter | existLayerInFenix | 307 | Layer
> fenix:zzlayer_gaul0 not in DB
> 2010-04-09 09:43:26,050 | LayerImporterWrapper_thread | WARN |
> LayerImporter | importLayerData | 407 | importLayer
> org.geotools.data.DataSourceException: Connection test failed
> at
> org.geotools.data.jdbc.datasource.DataSourceUtil.buildDefaultDataSource(Dat aS
> ourceUtil.java:
> 123)
> at
> org.fao.fenix.map.upload.FixedPostgisDatastore258.<init>(FixedPostgisDatast or
> e258.java:
> 126)
> at org.fao.fenix.map.upload.PGHandler.importShp(PGHandler.java:
> 130)
> at
> org.fao.fenix.map.layer.LayerImporter.importLayerData(LayerImporter.java:
> 348)
> at
> org.fao.fenix.map.layer.LayerImporter.processLayer(LayerImporter.java:
> 251)
> at
> org.fao.fenix.map.layer.LayerImporter.scanDir(LayerImporter.java:212)
> at
> org.fao.fenix.map.layer.LayerImporter.synch(LayerImporter.java:168)
> at org.fao.fenix.map.layer.LayerImporter
> $1.run(LayerImporter.java:630)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (The server requested password-based
> authentication, but no password was provided.)
> at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.ja va
> :
> 1225)
> at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:
> 880)
> at
> org.geotools.data.jdbc.datasource.DataSourceUtil.buildDefaultDataSource(Dat aS
> ourceUtil.java:
> 121)
> ... 8 more
> devel.properties is not picked up? I adjusted fenix-web\web-inf
> \applicationContext.xml; <property name="url"
> value="jdbc:postgresql://localhost/fenix?
> user=fenix&password=Qwaszx&"/> and commented out the others. Now no
> errors and layers get loaded to the db.
> I'm however unsure if I should work around like this?
> Regards
> Thomas
> --
> To unsubscribe, reply using "remove me" as the subject.