Closed garidan closed 10 years ago
Hi garidan, you must create a geodb called gp. For Database customization you must check the file properties located in geo-platform-configurator, under geoplatform-tools module. In src/main/resource you can find the file gp-db-properties. In this file you will find some properties to configure like owner the db and his password. We us jasypt to crypt and decrypt through Spring this properties but you can put the value without encryption such in this way for example: db_username=Pippo db_password=Pippo After done this operation you can execute the compilation skipping the test first. Then under the initializer module you can execute all tests to put data in the db. yuo can compile the Stack SOAP service to create the geo-platform Service stack with the option -Pwms,wfs... There some tests under client side that not running. Regards Giuseppe
I already created a pg postgis db and gave trust on all connections from localhost, so no need to change properties. Before doing this I got a different error on connection.
And what password do you have for user postgres?? Because in the properties file is configured a password that i think is not yours. Regards Giuseppe
2014-03-25 11:19 GMT+01:00 garidan notifications@github.com:
I already created a pg postgis db and gave trust on all connections from localhost, so no need to change properties. Before doing this I got a different error on connection.
Reply to this email directly or view it on GitHubhttps://github.com/geosdi/geo-platform/issues/67#issuecomment-38548557 .
Giuseppe La Scaleia CNR - IMAA geoSDI Sviluppo Software
C.da S. Loja 85050 Tito Scalo - POTENZA (PZ) Italia
phone: +39 0971427305 fax: +39 0971 427271 mob: +39 3312174998 mail: giuseppe.lascaleia@geosdi.org skype: glascaleia
I set on pg_hba conf "trust" so that any password from local connection is accepted. I tried it working from pgadmin..
Can you post the full error stack trace please? You can send me to giuseppe.lascaleia@geosdi.org Regards Giuseppe
2014-03-25 12:27 GMT+01:00 garidan notifications@github.com:
I set on pg_hba conf "trust" so that any password from local connection is accepted. I tried it working from pgadmin..
Reply to this email directly or view it on GitHubhttps://github.com/geosdi/geo-platform/issues/67#issuecomment-38553473 .
Giuseppe La Scaleia CNR - IMAA geoSDI Sviluppo Software
C.da S. Loja 85050 Tito Scalo - POTENZA (PZ) Italia
phone: +39 0971427305 fax: +39 0971 427271 mob: +39 3312174998 mail: giuseppe.lascaleia@geosdi.org skype: glascaleia
Did you resolve the problem? Please share. Thanks.
I have exactly the same error. I installed PostgreSQL 9.3, PostGIS 2.1, Maven 3.2.3, jdk 1.8. I also created db with the name gp and changed db_username and db_password. But after launching 'mvn clean install -P wms,wfs', I get the same result: [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Geo-Platform :: == All Services Module ............. SUCCESS [ 0.749 s] [INFO] Geo-Platform :: == WS DAO and Model Module ......... SUCCESS [ 0.047 s] [INFO] Geo-Platform :: == CORE Model ...................... SUCCESS [ 3.338 s] [INFO] Geo-Platform :: == CORE DAO ........................ SUCCESS [ 2.434 s] [INFO] Geo-Platform :: == CORE Initializer ................ FAILURE [ 7.909 s] [INFO] Geo-Platform :: == WS Base Util .................... SKIPPED
Dear @beddims, we need to have the entiere stack trace error to understand your issue. Can you produce a https://gist.github.com/? Or you can join our irc cannel (irc://irc.freenode.net/geo-platform) on freenode #geo-platform and we can try to give you support. P.S.: If you read our pom's file you can find that geo-platform needs to be builded using jdk 1.6. The Jdk 1.7 is also supported but not the jdk 1.8 at the moment. For sure you can try to build using jdk 1.6 or 1.7 and not the 1.8 version.
Using tag 1.6.x of geosdi, windows 8.1 64 bit, maven 3.2.1 jdk 1.7.0_51 postgres 9.3 postgis 2.1. Launched mvn clean install - P wms,wfs got error: [INFO] Geo-Platform :: == CORE DAO ....................... SUCCESS [ 2.235 s] [INFO] Geo-Platform :: == CORE Initializer ............... FAILURE [ 6.204 s] [INFO] Geo-Platform :: == WS Base Util ................... SKIPPED
And specifically in hibernate relation "public.gp_raster_layer" does not exists