geosdi / geo-platform

The first pure java opensource framework webgis oriented
Other
54 stars 31 forks source link

cannot build geosdi 1.6.x #86

Closed avgils closed 9 years ago

avgils commented 9 years ago

I'm having trouble building geo-platform 1.6.x on a virtual debian machine. My problem seems to be related to the already closed issues #73 and #67, but the answer given over there don't help me.

I installed maven: --version Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_75, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: "unix"

and postgres + postgis: psql --version psql (PostgreSQL) 9.2.9

I created an database called gp with postgis extension and I manualy inserted the tables by running the ddl as suggested in issue #73

First I runned the following command : cd $geoplatform/geoplatform-tools/geoplatform-configurator mvn clean install This works fine

Then I went on with running : cd $geoplatform/geoplatform-services mvn clean install -P wms,wfs

I already changed the gp-db.properties file and added the username and password of the database

This gives an building failure. I inserted the full terminal output below. Can you please help me with this? I'm having trouble with this already 2 weeks and I don't know what to try anymore.

root@gils:/home/gils/geoSDI2/geo-platform/geoplatform-services# mvn clean install -P wms, wfs [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Geo-Platform :: == All Services Module [INFO] Geo-Platform :: == WS DAO and Model Module [INFO] Geo-Platform :: == CORE Model [INFO] Geo-Platform :: == CORE DAO [INFO] Geo-Platform :: == CORE Initializer [INFO] Geo-Platform :: == WS Base Util [INFO] Geo-Platform :: == WS Modules [INFO] Geo-Platform :: == Publish Module [INFO] Geo-Platform :: == Publish Module Interface [INFO] Geo-Platform :: == Shared Beans [INFO] Geo-Platform :: == Publish Module Base Impl [INFO] Geo-Platform :: == WS Util [INFO] Geo-Platform :: == Publish Module Api [INFO] Geo-Platform :: == Publish Module Implementation [INFO] Geo-Platform :: == Scheduler Module [INFO] Geo-Platform :: == Scheduler Module Api [INFO] Geo-Platform :: == Scheduler Module Implementation [INFO] Geo-Platform :: == Catalog Module [INFO] Geo-Platform :: == GeoNetwork Catalog Module [INFO] Geo-Platform :: == GeoNetwork Catalog Module Api [INFO] Geo-Platform :: == GeoNetwork Catalog Module Impl [INFO] Geo-Platform :: == CSW Catalog Module [INFO] Geo-Platform :: == CSW Catalog Module Api [INFO] Geo-Platform :: == CSW Catalog Module Impl [INFO] Geo-Platform :: == Tracking Module [INFO] Geo-Platform :: == Tracking Module Api [INFO] Geo-Platform :: == Tracking Module Implementation [INFO] Geo-Platform :: == All Core Web Services [INFO] Geo-Platform :: == WS CORE API [INFO] Geo-Platform :: == OGC Module [INFO] Geo-Platform :: == WMS Module [INFO] Geo-Platform :: == WMS Module Api [INFO] Geo-Platform :: == WMS Module Implementation [INFO] Geo-Platform :: == WFS Module [INFO] Geo-Platform :: == WFS Module Api [INFO] Geo-Platform :: == WFS Module Implementation [INFO] Geo-Platform :: == WS Core Implementation [INFO] Geo-Platform :: == WS WebApp [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Geo-Platform :: == All Services Module 1.6-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-services --- [INFO] [INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-services --- [INFO] Skipping cobertura mojo for project with packaging type 'pom' [INFO] [INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-services --- [INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI2/geo-platform/.git' repository... [INFO] [GitCommitIdMojo] Initializing properties... [INFO] [GitCommitIdMojo] Using maven project properties... [INFO] [GitCommitIdMojo] Loading data from git repository... [INFO] [GitCommitIdMojo] ------------------git properties loaded------------------ [INFO] [GitCommitIdMojo] build.commit.message.short = Merged with Master [INFO] [GitCommitIdMojo] build.build.user.email = Unknown [INFO] [GitCommitIdMojo] build.commit.time = 13.02.2015 @ 17:09:45 CET [INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 10:31:08 CET [INFO] [GitCommitIdMojo] build.branch = 1.6.x [INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com [INFO] [GitCommitIdMojo] build.build.user.name = Unknown [INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia [INFO] [GitCommitIdMojo] build.commit.id.abbrev = 3b82c1f [INFO] [GitCommitIdMojo] build.commit.id = 3b82c1f2eb8db698cb25d11b8fe844cfaf5a0350 [INFO] [GitCommitIdMojo] build.commit.message.full = Merged with Master [INFO] [GitCommitIdMojo] --------------------------------------------------------- [INFO] [GitCommitIdMojo] Finished running. [INFO] [INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-services --- [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/pom.xml to /root/.m2/repository/org/geosdi/geoplatform-services/1.6-SNAPSHOT/geoplatform-services-1.6-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Geo-Platform :: == WS DAO and Model Module 1.6-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-core --- [INFO] [INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-core --- [INFO] Skipping cobertura mojo for project with packaging type 'pom' [INFO] [INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-core --- [INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI2/geo-platform/.git' repository... [INFO] [GitCommitIdMojo] Initializing properties... [INFO] [GitCommitIdMojo] Using maven project properties... [INFO] [GitCommitIdMojo] Loading data from git repository... [INFO] [GitCommitIdMojo] ------------------git properties loaded------------------ [INFO] [GitCommitIdMojo] build.commit.message.short = Merged with Master [INFO] [GitCommitIdMojo] build.build.user.email = Unknown [INFO] [GitCommitIdMojo] build.commit.time = 13.02.2015 @ 17:09:45 CET [INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 10:31:09 CET [INFO] [GitCommitIdMojo] build.branch = 1.6.x [INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com [INFO] [GitCommitIdMojo] build.build.user.name = Unknown [INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia [INFO] [GitCommitIdMojo] build.commit.id.abbrev = 3b82c1f [INFO] [GitCommitIdMojo] build.commit.id = 3b82c1f2eb8db698cb25d11b8fe844cfaf5a0350 [INFO] [GitCommitIdMojo] build.commit.message.full = Merged with Master [INFO] [GitCommitIdMojo] --------------------------------------------------------- [INFO] [GitCommitIdMojo] Finished running. [INFO] [INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-core --- [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/pom.xml to /root/.m2/repository/org/geosdi/geoplatform-core/1.6-SNAPSHOT/geoplatform-core-1.6-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Geo-Platform :: == CORE Model 1.6-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-model --- [INFO] Deleting file set: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/target (included: [], excluded: []) [INFO] [INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-model --- [INFO] [INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-model --- [INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI2/geo-platform/.git' repository... [INFO] [GitCommitIdMojo] Initializing properties... [INFO] [GitCommitIdMojo] Using maven project properties... [INFO] [GitCommitIdMojo] Loading data from git repository... [INFO] [GitCommitIdMojo] ------------------git properties loaded------------------ [INFO] [GitCommitIdMojo] build.commit.message.short = Merged with Master [INFO] [GitCommitIdMojo] build.build.user.email = Unknown [INFO] [GitCommitIdMojo] build.commit.time = 13.02.2015 @ 17:09:45 CET [INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 10:31:09 CET [INFO] [GitCommitIdMojo] build.branch = 1.6.x [INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com [INFO] [GitCommitIdMojo] build.build.user.name = Unknown [INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia [INFO] [GitCommitIdMojo] build.commit.id.abbrev = 3b82c1f [INFO] [GitCommitIdMojo] build.commit.id = 3b82c1f2eb8db698cb25d11b8fe844cfaf5a0350 [INFO] [GitCommitIdMojo] build.commit.message.full = Merged with Master [INFO] [GitCommitIdMojo] --------------------------------------------------------- [INFO] [GitCommitIdMojo] Finished running. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-model --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-model --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 31 source files to /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-model --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-model --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-model --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ geoplatform-model --- [INFO] Building jar: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/target/geoplatform-model-1.6-SNAPSHOT.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ geoplatform-model --- [INFO] Building jar: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/target/geoplatform-model-1.6-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-model --- [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/target/geoplatform-model-1.6-SNAPSHOT.jar to /root/.m2/repository/org/geosdi/geoplatform-model/1.6-SNAPSHOT/geoplatform-model-1.6-SNAPSHOT.jar [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/pom.xml to /root/.m2/repository/org/geosdi/geoplatform-model/1.6-SNAPSHOT/geoplatform-model-1.6-SNAPSHOT.pom [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-model/target/geoplatform-model-1.6-SNAPSHOT-sources.jar to /root/.m2/repository/org/geosdi/geoplatform-model/1.6-SNAPSHOT/geoplatform-model-1.6-SNAPSHOT-sources.jar [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Geo-Platform :: == CORE DAO 1.6-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-dao --- [INFO] Deleting file set: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target (included: [
], excluded: []) [INFO] [INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-dao --- [INFO] [INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-dao --- [INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI2/geo-platform/.git' repository... [INFO] [GitCommitIdMojo] Initializing properties... [INFO] [GitCommitIdMojo] Using maven project properties... [INFO] [GitCommitIdMojo] Loading data from git repository... [INFO] [GitCommitIdMojo] ------------------git properties loaded------------------ [INFO] [GitCommitIdMojo] build.commit.message.short = Merged with Master [INFO] [GitCommitIdMojo] build.build.user.email = Unknown [INFO] [GitCommitIdMojo] build.commit.time = 13.02.2015 @ 17:09:45 CET [INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 10:31:14 CET [INFO] [GitCommitIdMojo] build.branch = 1.6.x [INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com [INFO] [GitCommitIdMojo] build.build.user.name = Unknown [INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia [INFO] [GitCommitIdMojo] build.commit.id.abbrev = 3b82c1f [INFO] [GitCommitIdMojo] build.commit.id = 3b82c1f2eb8db698cb25d11b8fe844cfaf5a0350 [INFO] [GitCommitIdMojo] build.commit.message.full = Merged with Master [INFO] [GitCommitIdMojo] --------------------------------------------------------- [INFO] [GitCommitIdMojo] Finished running. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-dao --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-dao --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 37 source files to /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/classes [WARNING] /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/src/main/java/org/geosdi/geoplatform/core/dao/impl/GPMessageDAOImpl.java: Some input files use unchecked or unsafe operations. [WARNING] /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/src/main/java/org/geosdi/geoplatform/core/dao/impl/GPMessageDAOImpl.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] >>> hibernate3-maven-plugin:2.2:hbm2ddl (default) @ geoplatform-dao >>> [INFO] [INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-dao --- [INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI2/geo-platform/.git' repository... [INFO] [GitCommitIdMojo] Initializing properties... [INFO] [GitCommitIdMojo] Using maven project properties... [INFO] [GitCommitIdMojo] Loading data from git repository... [INFO] [GitCommitIdMojo] ------------------git properties loaded------------------ [INFO] [GitCommitIdMojo] build.commit.message.short = Merged with Master [INFO] [GitCommitIdMojo] build.build.user.email = Unknown [INFO] [GitCommitIdMojo] build.commit.time = 13.02.2015 @ 17:09:45 CET [INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 10:31:16 CET [INFO] [GitCommitIdMojo] build.branch = 1.6.x [INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com [INFO] [GitCommitIdMojo] build.build.user.name = Unknown [INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia [INFO] [GitCommitIdMojo] build.commit.id.abbrev = 3b82c1f [INFO] [GitCommitIdMojo] build.commit.id = 3b82c1f2eb8db698cb25d11b8fe844cfaf5a0350 [INFO] [GitCommitIdMojo] build.commit.message.full = Merged with Master [INFO] [GitCommitIdMojo] --------------------------------------------------------- [INFO] [GitCommitIdMojo] Finished running. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-dao --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] [INFO] <<< hibernate3-maven-plugin:2.2:hbm2ddl (default) @ geoplatform-dao <<< [INFO] [INFO] --- hibernate3-maven-plugin:2.2:hbm2ddl (default) @ geoplatform-dao --- [INFO] Configuration XML file loaded: file:/home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/src/test/resources/hibernate.cfg.xml 10:31:16,346 INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final 10:31:16,350 INFO org.hibernate.cfg.Environment - Hibernate 3.6.10.Final 10:31:16,352 INFO org.hibernate.cfg.Environment - hibernate.properties not found 10:31:16,354 INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist 10:31:16,358 INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling [INFO] Configuration XML file loaded: file:/home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/src/test/resources/hibernate.cfg.xml 10:31:16,432 INFO org.hibernate.cfg.Configuration - configuring from url: file:/home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/src/test/resources/hibernate.cfg.xml 10:31:16,871 INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null [INFO] No hibernate properties file loaded. 10:31:16,991 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPAccount 10:31:17,048 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPAccount on table gp_account 10:31:17,144 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPUser 10:31:17,161 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPApplication 10:31:17,162 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPAccountProject 10:31:17,163 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPAccountProject on table gp_account_project 10:31:17,166 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPProject 10:31:17,166 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPProject on table gp_project 10:31:17,169 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPViewport 10:31:17,169 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPViewport on table gp_viewport 10:31:17,185 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPFolder 10:31:17,185 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPFolder on table gp_folder 10:31:17,188 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPLayer 10:31:17,189 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPLayer on table gp_layer 10:31:17,200 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPVectorLayer 10:31:17,200 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPVectorLayer on table gp_vector_layer 10:31:17,205 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPRasterLayer 10:31:17,205 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPRasterLayer on table gp_raster_layer 10:31:17,216 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPAuthority 10:31:17,217 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPAuthority on table gp_authority 10:31:17,219 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GeoPlatformServer 10:31:17,220 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GeoPlatformServer on table gp_server 10:31:17,223 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPOrganization 10:31:17,223 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPOrganization on table gp_organization 10:31:17,232 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPMessage 10:31:17,232 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPMessage on table gp_message 10:31:17,244 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclSid 10:31:17,244 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclSid on table acl_sid 10:31:17,247 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclClass 10:31:17,247 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclClass on table acl_class 10:31:17,251 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclObjectIdentity 10:31:17,252 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclObjectIdentity on table acl_object_identity 10:31:17,254 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclEntry 10:31:17,255 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclEntry on table acl_entry 10:31:17,259 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.GuiComponent 10:31:17,259 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.GuiComponent on table gui_component 10:31:17,260 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GSAccount 10:31:17,260 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GSAccount on table gs_account 10:31:17,263 INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GSResource 10:31:17,263 INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GSResource on table gs_resource 10:31:17,297 INFO org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring 10:31:17,320 INFO org.hibernate.validator.util.Version - Hibernate Validator 4.2.0.Final 10:31:17,506 INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernatespatial.postgis.PostgisDialect 10:31:17,646 INFO org.hibernatespatial.HBSpatialExtension - Initializing HBSpatialExtension 10:31:17,654 INFO org.hibernatespatial.HBSpatialExtension - Attempting to load Hibernate Spatial Provider org.hibernatespatial.postgis.DialectProvider 10:31:17,654 INFO org.hibernatespatial.HBSpatialExtension - Attempting to load Hibernate Spatial Provider org.hibernatespatial.geodb.DialectProvider 10:31:17,655 INFO org.hibernatespatial.HBSpatialExtension - Checking for default configuration file. 10:31:17,661 INFO org.hibernatespatial.cfg.HSConfiguration - No configuration file hibernate-spatial.cfg.xml on the classpath. 10:31:17,661 INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernatespatial.postgis.PostgisDialect 10:31:17,668 INFO org.hibernate.tool.hbm2ddl.SchemaExport - Running hbm2ddl schema export 10:31:17,689 INFO org.hibernate.tool.hbm2ddl.SchemaExport - writing generated schema to file: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/classes/geoplatform-model.ddl

create table acl_class (
    id int8 not null,
    clazz varchar(500) not null unique,
    primary key (id)
);

create table acl_entry (
    id int8 not null,
    ace_order int4 not null,
    audit_failure bool not null,
    audit_success bool not null,
    granting bool not null,
    mask int4 not null,
    acl_object_identity int8 not null,
    sid int8 not null,
    primary key (id),
    unique (acl_object_identity, ace_order)
);

create table acl_object_identity (
    id int8 not null,
    entries_inheriting bool not null,
    object_id_identity int8 not null,
    object_id_class int8 not null,
    owner_sid int8,
    parent_object int8,
    primary key (id),
    unique (object_id_class, object_id_identity)
);

create table acl_sid (
    id int8 not null,
    principal bool not null,
    sid varchar(255) not null,
    organization_id int8,
    primary key (id),
    unique (principal, sid, organization_id)
);

create table gp_account (
    gp_account_type varchar(31) not null,
    id int8 not null,
    account_non_expired bool,
    account_temporary bool,
    creation_date timestamp,
    is_enabled bool not null,
    load_expanded_folders bool,
    email_address varchar(255) unique,
    name varchar(255),
    user_password varchar(255),
    send_email bool,
    user_name varchar(255) unique,
    app_id varchar(255) unique,
    gs_account int8,
    organization_id int8 not null,
    primary key (id)
);

create table gp_account_project (
    id int8 not null,
    base_layer varchar(255) not null,
    default_project bool,
    permission_mask int4 not null,
    account_id int8 not null,
    project_id int8 not null,
    primary key (id),
    unique (account_id, project_id)
);

create table gp_authority (
    id int8 not null,
    account_natural_id varchar(255) not null,
    authority varchar(255) not null,
    trusted_level varchar(255) not null,
    account_id int8,
    primary key (id)
);

create table gp_folder (
    id int8 not null,
    checked bool,
    expanded bool,
    name varchar(255) not null,
    number_of_descendants int4,
    position int4,
    shared bool,
    parent_id int8,
    project_id int8 not null,
    primary key (id)
);

create table gp_message (
    id int8 not null,
    commands varchar(255),
    commandsProperties varchar(255),
    creation_date timestamp,
    is_read bool,
    subject varchar(100),
    text TEXT,
    recipient_id int8 not null,
    sender_id int8 not null,
    primary key (id)
);

create table gp_organization (
    id int8 not null,
    address varchar(255),
    description TEXT,
    name varchar(255) not null unique,
    telephone varchar(255),
    url varchar(255),
    primary key (id)
);

create table gp_project (
    id int8 not null,
    creation_date timestamp,
    name varchar(255) not null,
    number_of_elements int4,
    shared bool,
    version int4,
    primary key (id)
);

create table gp_raster_layer (
    id int8 not null,
    abstract TEXT,
    alias_name varchar(255),
    max_x float8,
    max_y float8,
    min_x float8,
    min_y float8,
    cached bool,
    checked bool,
    cql_filter TEXT,
    layer_type varchar(255) not null,
    name varchar(255),
    position int4,
    shared bool,
    single_tile_request bool not null,
    srs varchar(255),
    time_filter TEXT,
    title varchar(255) not null,
    url_server varchar(255),
    keywords varchar(500),
    queryable bool,
    max_scale float4,
    min_scale float4,
    opacity float4,
    styles TEXT,
    folder_id int8,
    project_id int8 not null,
    primary key (id)
);

create table gp_server (
    id int8 not null,
    abstract TEXT,
    alias_name varchar(255),
    name varchar(255),
    capability_type varchar(255) not null,
    server_url varchar(255) not null unique,
    title varchar(255),
    organization_id int8 not null,
    primary key (id)
);

create table gp_vector_layer (
    id int8 not null,
    abstract TEXT,
    alias_name varchar(255),
    max_x float8,
    max_y float8,
    min_x float8,
    min_y float8,
    cached bool,
    checked bool,
    cql_filter TEXT,
    layer_type varchar(255) not null,
    name varchar(255),
    position int4,
    shared bool,
    single_tile_request bool not null,
    srs varchar(255),
    time_filter TEXT,
    title varchar(255) not null,
    url_server varchar(255),
    geometry geometry,
    folder_id int8,
    project_id int8 not null,
    primary key (id)
);

create table gp_viewport (
    id int8 not null,
    max_x float8,
    max_y float8,
    min_x float8,
    min_y float8,
    description varchar(255),
    is_default bool,
    name varchar(255) not null,
    zoom_level float8 not null,
    account_project_id int8,
    primary key (id)
);

create table gs_account (
    id int8 not null,
    authkey varchar(255),
    gs_user varchar(255),
    primary key (id)
);

create table gs_resource (
    id int8 not null,
    area geometry,
    attributes text,
    cluster_node varchar(255),
    cql_filter_read text,
    cql_filter_write text,
    default_style varchar(255),
    grant_type varchar(255),
    layer_name varchar(255),
    workspace varchar(255),
    gs_account int8,
    primary key (id)
);

create table gui_component (
    id int8 not null,
    component_id varchar(255) not null unique,
    primary key (id)
);

create index ACL_CLASS_INDEX on acl_class (clazz);

create index ACL_ENTRY_SID_INDEX on acl_entry (sid);

create index ACL_ENTRY_OBJECT_IDENTITY_INDEX on acl_entry (acl_object_identity);

alter table acl_entry 
    add constraint FK5302D47DF49F4E5E 
    foreign key (sid) 
    references acl_sid 
    on delete cascade;

alter table acl_entry 
    add constraint FK5302D47D968A7724 
    foreign key (acl_object_identity) 
    references acl_object_identity;

create index ACL_OBJECT_IDENTITY_ID_INDEX on acl_object_identity (object_id_identity);

create index ACL_OBJECT_IDENTITY_CLASS_INDEX on acl_object_identity (object_id_class);

alter table acl_object_identity 
    add constraint FK2A2BB0098AB32B8F 
    foreign key (parent_object) 
    references acl_object_identity;

alter table acl_object_identity 
    add constraint FK2A2BB009B32AB40E 
    foreign key (object_id_class) 
    references acl_class;

alter table acl_object_identity 
    add constraint FK2A2BB009F5AFDED2 
    foreign key (owner_sid) 
    references acl_sid 
    on delete cascade;

create index ACL_SID_INDEX on acl_sid (sid);

alter table acl_sid 
    add constraint FKBA4B0F99B42D5B70 
    foreign key (organization_id) 
    references gp_organization 
    on delete cascade;

create index USER_EMAIL_INDEX on gp_account (email_address);

create index USER_USERNAME_INDEX on gp_account (user_name);

create index APPLICATION_ID_INDEX on gp_account (app_id);

alter table gp_account 
    add constraint FK6DE044D7B42D5B70 
    foreign key (organization_id) 
    references gp_organization 
    on delete cascade;

alter table gp_account 
    add constraint FK6DE044D7B5A8024E 
    foreign key (gs_account) 
    references gs_account 
    on delete cascade;

create index PROJECT_ID_INDEX on gp_account_project (project_id);

create index ACCOUNT_ID_INDEX on gp_account_project (account_id);

alter table gp_account_project 
    add constraint FKBAF56FB111A84EC4 
    foreign key (project_id) 
    references gp_project 
    on delete cascade;

alter table gp_account_project 
    add constraint FKBAF56FB123750644 
    foreign key (account_id) 
    references gp_account 
    on delete cascade;

create index AUTHORITY_ACCOUNT_NATURAL_ID_INDEX on gp_authority (account_natural_id);

alter table gp_authority 
    add constraint FK3BBCBF6D23750644 
    foreign key (account_id) 
    references gp_account 
    on delete cascade;

create index FOLDER_NAME_INDEX on gp_folder (name);

alter table gp_folder 
    add constraint FK6FD9648411A84EC4 
    foreign key (project_id) 
    references gp_project 
    on delete cascade;

alter table gp_folder 
    add constraint FK6FD96484D9E0D054 
    foreign key (parent_id) 
    references gp_folder 
    on delete cascade;

create index ACCOUNT_RECIPIENT_ID_INDEX on gp_message (recipient_id);

create index ACCOUNT_SENDER_ID_INDEX on gp_message (sender_id);

alter table gp_message 
    add constraint FKECF7BAB15542193C 
    foreign key (sender_id) 
    references gp_account 
    on delete cascade;

alter table gp_message 
    add constraint FKECF7BAB19EB506D8 
    foreign key (recipient_id) 
    references gp_account 
    on delete cascade;

create index ORGANIZATION_NAME_INDEX on gp_organization (name);

create index PROJECT_NAME_INDEX on gp_project (name);

create index gp_raster_layer_LAYER_NAME_INDEX on gp_raster_layer (name);

create index RASTER_PROJECT_ID_INDEX on gp_raster_layer (project_id);

alter table gp_raster_layer 
    add constraint FK714C2BA57DEAF610 
    foreign key (folder_id) 
    references gp_folder 
    on delete cascade;

alter table gp_raster_layer 
    add constraint FK714C2BA511A84EC4 
    foreign key (project_id) 
    references gp_project 
    on delete cascade;

create index SERVER_NAME_INDEX on gp_server (name);

create index SERVER_URL_INDEX on gp_server (server_url);

alter table gp_server 
    add constraint FK857E7759B42D5B70 
    foreign key (organization_id) 
    references gp_organization 
    on delete cascade;

create index gp_vector_layer_LAYER_NAME_INDEX on gp_vector_layer (name);

create index VECTOR_PROJECT_ID_INDEX on gp_vector_layer (project_id);

alter table gp_vector_layer 
    add constraint FKADDA3AEB7DEAF610 
    foreign key (folder_id) 
    references gp_folder 
    on delete cascade;

alter table gp_vector_layer 
    add constraint FKADDA3AEB11A84EC4 
    foreign key (project_id) 
    references gp_project 
    on delete cascade;

create index ACCOUNT_PROJECT_ID_INDEX on gp_viewport (account_project_id);

create index VIEWPORT_NAME_INDEX on gp_viewport (name);

alter table gp_viewport 
    add constraint FK14DE933CBDC5CA95 
    foreign key (account_project_id) 
    references gp_account_project 
    on delete cascade;

create index GS_USER_INDEX on gs_account (gs_user);

create index LAYER_NAME_INDEX on gs_resource (layer_name);

alter table gs_resource 
    add constraint FK9612B201B5A8024E 
    foreign key (gs_account) 
    references gs_account 
    on delete cascade;

create index GUI_COMPONENT_ID_INDEX on gui_component (component_id);

create sequence ACL_CLASS_SEQ;

create sequence ACL_ENTRY_SEQ;

create sequence ACL_OBJECT_IDENTITY_SEQ;

create sequence ACL_SID_SEQ;

create sequence GP_ACCOUNT_PROJECT_SEQ;

create sequence GP_ACCOUNT_SEQ;

create sequence GP_AUTHORITY_SEQ;

create sequence GP_FOLDER_SEQ;

create sequence GP_LAYER_SEQ;

create sequence GP_MESSAGE_SEQ;

create sequence GP_ORGANIZATION_SEQ;

create sequence GP_PROJECT_SEQ;

create sequence GP_SERVER_SEQ;

create sequence GP_VIEWPORT_SEQ;

create sequence GS_ACCOUNT_SEQ;

create sequence GS_RESOURCE_SEQ;

create sequence GUI_COMPONENT_SEQ;

10:31:17,703 INFO org.hibernate.tool.hbm2ddl.SchemaExport - schema export complete [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-dao --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-dao --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-dao --- [INFO] [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ geoplatform-dao --- [INFO] Building jar: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/geoplatform-dao-1.6-SNAPSHOT.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ geoplatform-dao --- [INFO] Building jar: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/geoplatform-dao-1.6-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-dao --- [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/geoplatform-dao-1.6-SNAPSHOT.jar to /root/.m2/repository/org/geosdi/geoplatform-dao/1.6-SNAPSHOT/geoplatform-dao-1.6-SNAPSHOT.jar [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/pom.xml to /root/.m2/repository/org/geosdi/geoplatform-dao/1.6-SNAPSHOT/geoplatform-dao-1.6-SNAPSHOT.pom [INFO] Installing /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/geoplatform-dao-1.6-SNAPSHOT-sources.jar to /root/.m2/repository/org/geosdi/geoplatform-dao/1.6-SNAPSHOT/geoplatform-dao-1.6-SNAPSHOT-sources.jar [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Geo-Platform :: == CORE Initializer 1.6-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-initializer --- [INFO] Deleting file set: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/target (included: [**], excluded: []) [INFO] [INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-initializer --- [INFO] [INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-initializer --- [INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI2/geo-platform/.git' repository... [INFO] [GitCommitIdMojo] Initializing properties... [INFO] [GitCommitIdMojo] Using maven project properties... [INFO] [GitCommitIdMojo] Loading data from git repository... [INFO] [GitCommitIdMojo] ------------------git properties loaded------------------ [INFO] [GitCommitIdMojo] build.commit.message.short = Merged with Master [INFO] [GitCommitIdMojo] build.build.user.email = Unknown [INFO] [GitCommitIdMojo] build.commit.time = 13.02.2015 @ 17:09:45 CET [INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 10:31:18 CET [INFO] [GitCommitIdMojo] build.branch = 1.6.x [INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com [INFO] [GitCommitIdMojo] build.build.user.name = Unknown [INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia [INFO] [GitCommitIdMojo] build.commit.id.abbrev = 3b82c1f [INFO] [GitCommitIdMojo] build.commit.id = 3b82c1f2eb8db698cb25d11b8fe844cfaf5a0350 [INFO] [GitCommitIdMojo] build.commit.message.full = Merged with Master [INFO] [GitCommitIdMojo] --------------------------------------------------------- [INFO] [GitCommitIdMojo] Finished running. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-initializer --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-initializer --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-initializer --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-initializer --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/target/test-classes [WARNING] /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/src/test/java/org/geosdi/geoplatform/initializer/BaseInitializerTest.java: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/src/test/java/org/geosdi/geoplatform/initializer/BaseInitializerTest.java uses unchecked or unsafe operations. [WARNING] /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/src/test/java/org/geosdi/geoplatform/initializer/BaseInitializerTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-initializer --- [INFO] Surefire report directory: /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/target/surefire-reports


T E S T S

Running org.geosdi.geoplatform.initializer.BootstrapInitializerTest 10:31:22,241 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 10:31:22,241 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/target/test-classes/logback-test.xml] 10:31:22,417 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 10:31:22,425 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 10:31:22,507 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate] to INFO 10:31:22,508 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.hibernate] to false 10:31:22,508 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[org.hibernate] 10:31:22,509 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO 10:31:22,509 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 10:31:22,509 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration. 10:31:22,510 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2212078a - Registering current configuration as safe fallback point 10:31:22.645 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 10:31:22.662 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext] 10:31:22.664 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@17eba425, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f658567, org.springframework.test.context.transaction.TransactionalTestExecutionListener@72196653, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@618d0daa] 10:31:22.785 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-TEST.xml] 10:31:23.036 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-jasypt.xml] 10:31:23.139 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-crypt.xml] 10:31:23.185 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml] 10:31:23.270 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/geoplatform-dao-1.6-SNAPSHOT.jar!/geoplatform_datasource.xml] 10:31:23.449 [main] INFO o.s.c.s.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@4eab5491: startup date [Wed Feb 18 10:31:23 CET 2015]; root of context hierarchy 10:31:23.965 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-ws.properties] 10:31:23.966 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-ws.properties] 10:31:23.967 [main] WARN o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-ws.properties]: ${GP_DATA_DIR}/gp-ws.properties (No such file or directory) 10:31:23.968 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-db.properties] 10:31:23.973 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-db.properties] 10:31:23.973 [main] WARN o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-db.properties]: ${GP_DATA_DIR}/gp-db.properties (No such file or directory) 10:31:24.532 [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Building JPA container EntityManagerFactory for persistence unit 'geoplatform' 10:31:24.661 [main] INFO o.h.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final 10:31:24.667 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.6.10.Final 10:31:24.669 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found 10:31:24.671 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist 10:31:24.675 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling 10:31:24.743 [main] INFO org.hibernate.ejb.Version - Hibernate EntityManager 3.6.10.Final 10:31:24.757 [main] INFO org.hibernate.ejb.Ejb3Configuration - Processing PersistenceUnitInfo [ name: geoplatform ...] 10:31:24.962 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclObjectIdentity 10:31:24.998 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclObjectIdentity on table acl_object_identity 10:31:25.115 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclSid 10:31:25.121 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclSid on table acl_sid 10:31:25.123 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.GuiComponent 10:31:25.124 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.GuiComponent on table gui_component 10:31:25.125 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclClass 10:31:25.125 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclClass on table acl_class 10:31:25.130 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.acl.AclEntry 10:31:25.130 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.acl.AclEntry on table acl_entry 10:31:25.141 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPFolder 10:31:25.142 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPFolder on table gp_folder 10:31:25.146 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPAccount 10:31:25.154 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPAccount on table gp_account 10:31:25.192 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPProject 10:31:25.197 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPProject on table gp_project 10:31:25.204 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPLayer 10:31:25.209 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPLayer on table gp_layer 10:31:25.246 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPRasterLayer 10:31:25.247 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPRasterLayer on table gp_raster_layer 10:31:25.259 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPViewport 10:31:25.260 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPViewport on table gp_viewport 10:31:25.264 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GSResource 10:31:25.265 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GSResource on table gs_resource 10:31:25.282 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPApplication 10:31:25.286 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPUser 10:31:25.299 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPOrganization 10:31:25.315 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPOrganization on table gp_organization 10:31:25.318 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GeoPlatformServer 10:31:25.320 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GeoPlatformServer on table gp_server 10:31:25.324 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GSAccount 10:31:25.335 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GSAccount on table gs_account 10:31:25.337 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPAccountProject 10:31:25.346 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPAccountProject on table gp_account_project 10:31:25.351 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPAuthority 10:31:25.352 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPAuthority on table gp_authority 10:31:25.356 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPMessage 10:31:25.356 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPMessage on table gp_message 10:31:25.366 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: org.geosdi.geoplatform.core.model.GPVectorLayer 10:31:25.366 [main] INFO o.h.cfg.annotations.EntityBinder - Bind entity org.geosdi.geoplatform.core.model.GPVectorLayer on table gp_vector_layer 10:31:25.389 [main] INFO org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring 10:31:25.454 [main] INFO o.h.c.s.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. 10:31:25.465 [main] INFO o.h.HBSpatialExtension - Initializing HBSpatialExtension 10:31:25.469 [main] INFO o.h.HBSpatialExtension - Attempting to load Hibernate Spatial Provider org.hibernatespatial.postgis.DialectProvider 10:31:25.471 [main] INFO o.h.HBSpatialExtension - Attempting to load Hibernate Spatial Provider org.hibernatespatial.geodb.DialectProvider 10:31:25.471 [main] INFO o.h.HBSpatialExtension - Checking for default configuration file. 10:31:25.473 [main] INFO o.h.cfg.HSConfiguration - No configuration file hibernate-spatial.cfg.xml on the classpath. 10:31:25.492 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernatespatial.postgis.PostgisDialect 10:31:25.517 [main] INFO o.h.c.ConnectionProviderFactory - Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 10:31:25.529 [main] INFO o.h.e.c.InjectedDataSourceConnectionProvider - Using provided datasource 10:31:25.569 [main] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection to query metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) ~[commons-dbcp-1.4.jar:1.4] at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) ~[hibernate-entitymanager-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:113) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.10.Final.jar:3.6.10.Final] at org.springframework.orm.jpa.vendor.SpringHibernateEjbPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateEjbPersistenceProvider.java:51) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:252) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:254) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) [surefire-booter-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) [surefire-booter-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.16.jar:2.16] Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.Driver.makeConnection(Driver.java:393) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.Driver.connect(Driver.java:267) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) ~[commons-dbcp-1.4.jar:1.4] ... 53 common frames omitted 10:31:25.587 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernatespatial.postgis.PostgisDialect 10:31:25.589 [main] INFO o.h.engine.jdbc.JdbcSupportLoader - Disabling contextual LOB creation as connection was null 10:31:25.591 [main] INFO o.h.t.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions) 10:31:25.592 [main] INFO o.h.t.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 10:31:25.593 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled 10:31:25.593 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled 10:31:25.594 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: disabled 10:31:25.594 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled 10:31:25.594 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto 10:31:25.595 [main] INFO org.hibernate.cfg.SettingsFactory - Default schema: public 10:31:25.595 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1 10:31:25.595 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled 10:31:25.595 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled 10:31:25.595 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled 10:31:25.595 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 10:31:25.597 [main] INFO o.h.h.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory 10:31:25.597 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {} 10:31:25.597 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: enabled 10:31:25.597 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled 10:31:25.597 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: enabled 10:31:25.598 [main] INFO org.hibernate.cfg.SettingsFactory - Cache region factory : net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory 10:31:25.620 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: enabled 10:31:25.624 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled 10:31:25.624 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache factory: org.hibernate.cache.StandardQueryCacheFactory 10:31:25.631 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout 10:31:25.633 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: enabled 10:31:25.633 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled 10:31:25.634 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo 10:31:25.634 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled 10:31:25.634 [main] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled 10:31:25.653 [main] INFO o.hibernate.impl.SessionFactoryImpl - building session factory 10:31:25.659 [main] INFO org.hibernate.type.BasicTypeRegistry - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@28015e4 10:31:26.300 [main] INFO o.h.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured 10:31:26.304 [main] INFO o.h.tool.hbm2ddl.SchemaUpdate - Running hbm2ddl schema update 10:31:26.304 [main] INFO o.h.tool.hbm2ddl.SchemaUpdate - fetching database metadata 10:31:26.307 [main] ERROR o.h.tool.hbm2ddl.SchemaUpdate - could not get database metadata org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) ~[commons-dbcp-1.4.jar:1.4] at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) ~[hibernate-entitymanager-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:375) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.10.Final.jar:3.6.10.Final] at org.springframework.orm.jpa.vendor.SpringHibernateEjbPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateEjbPersistenceProvider.java:51) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:252) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:254) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) [surefire-booter-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) [surefire-booter-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.16.jar:2.16] Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.Driver.makeConnection(Driver.java:393) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.Driver.connect(Driver.java:267) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) ~[commons-dbcp-1.4.jar:1.4] ... 53 common frames omitted 10:31:26.313 [main] ERROR o.h.tool.hbm2ddl.SchemaUpdate - could not complete schema update org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) ~[commons-dbcp-1.4.jar:1.4] at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) ~[hibernate-entitymanager-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:375) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1872) [hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) [hibernate-entitymanager-3.6.10.Final.jar:3.6.10.Final] at org.springframework.orm.jpa.vendor.SpringHibernateEjbPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateEjbPersistenceProvider.java:51) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318) [spring-orm-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1627) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1564) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:956) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:747) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) [spring-context-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:252) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.11.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:254) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) [junit-4.11.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) [junit-4.11.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) [junit-4.11.jar:na] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit-4.11.jar:na] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) [spring-test-4.1.2.RELEASE.jar:4.1.2.RELEASE] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) [surefire-junit4-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) [surefire-booter-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) [surefire-booter-2.16.jar:2.16] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) [surefire-booter-2.16.jar:2.16] Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.Driver.makeConnection(Driver.java:393) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.postgresql.Driver.connect(Driver.java:267) ~[postgresql-9.2-1003-jdbc4.jar:na] at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) ~[commons-dbcp-1.4.jar:1.4] ... 53 common frames omitted 10:31:26.318 [main] INFO o.h.cache.UpdateTimestampsCache - starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache 10:31:26.320 [main] INFO o.hibernate.cache.StandardQueryCache - starting query cache at region: org.hibernate.cache.StandardQueryCache 10:31:27.190 [coreDAOCacheManager] INFO net.sf.ehcache.util.UpdateChecker - This is the latest GA release. 10:31:27.190 [coreDAOCacheManager] INFO net.sf.ehcache.util.UpdateChecker - New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.6]. Please check http://ehcache.org for the latest version. 10:31:27.441 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.441 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.381 sec <<< FAILURE! - in org.geosdi.geoplatform.initializer.BootstrapInitializerTest testBootstrap(org.geosdi.geoplatform.initializer.BootstrapInitializerTest) Time elapsed: 0.194 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700) at org.hibernate.loader.Loader.doQuery(Loader.java:801) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274) at org.hibernate.loader.Loader.doList(Loader.java:2542) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276) at org.hibernate.loader.Loader.list(Loader.java:2271) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:246) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:362) at com.sun.proxy.$Proxy63.getResultList(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._all(JPABaseDAO.java:206) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.findAll(GenericDAOImpl.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy50.findAll(Unknown Source) at org.geosdi.geoplatform.initializer.BaseInitializerTest.removeAllLayers(BaseInitializerTest.java:195) at org.geosdi.geoplatform.initializer.BaseInitializerTest.removeAll(BaseInitializerTest.java:171) at org.geosdi.geoplatform.initializer.BootstrapInitializerTest.testBootstrap(BootstrapInitializerTest.java:71)

Running org.geosdi.geoplatform.initializer.GPInitializerTest 10:31:27.480 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 10:31:27.482 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext] 10:31:27.485 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@35a9f47c, org.springframework.test.context.support.DirtiesContextTestExecutionListener@28f2146a, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2d1a5026, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1a8405ec] 10:31:27.569 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.569 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.578 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.578 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.601 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.601 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.606 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.606 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.615 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.615 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.623 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.623 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.642 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.642 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.647 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.647 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.658 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.658 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.661 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.661 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.670 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.670 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.677 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.677 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.694 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.694 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.699 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.699 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.722 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.722 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.730 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.730 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.747 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.747 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.751 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.751 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.769 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.769 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.778 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.778 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.784 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.785 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.788 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.788 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.794 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.794 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") 10:31:27.797 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null 10:31:27.798 [main] ERROR o.h.util.JDBCExceptionReporter - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres") Tests run: 24, Failures: 0, Errors: 24, Skipped: 0, Time elapsed: 0.125 sec <<< FAILURE! - in org.geosdi.geoplatform.initializer.GPInitializerTest testDecreasePositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testDecreasePositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testPersistCheckStatusLayer(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testPersistCheckStatusLayer(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testUpdateAncestorsDescendants(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testUpdateAncestorsDescendants(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testTransactionsOnLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testTransactionsOnLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testShiftPositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.003 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testShiftPositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.003 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testPersistCheckStatusFolderS(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.007 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testPersistCheckStatusFolderS(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.007 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testIncreasePositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testIncreasePositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.001 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testDecreasePositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.016 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testDecreasePositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.017 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testPersistCheckStatusFolder(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.022 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testPersistCheckStatusFolder(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.023 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testCheckDAOs(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.016 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testCheckDAOs(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.016 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testIncreasePositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.011 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testIncreasePositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.011 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

testShiftPositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.009 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy54.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)

testShiftPositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.009 sec <<< ERROR! org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:398) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64) at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:136) at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:29) at org.postgresql.jdbc3g.AbstractJdbc3gConnection.(AbstractJdbc3gConnection.java:21) at org.postgresql.jdbc4.AbstractJdbc4Connection.(AbstractJdbc4Connection.java:31) at org.postgresql.jdbc4.Jdbc4Connection.(Jdbc4Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:393) at org.postgresql.Driver.connect(Driver.java:267) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473) at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:60) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:159) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:439) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy46.remove(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.tearDown(GPInitializerTest.java:126)

10:31:27.818 [Thread-2] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@4eab5491: startup date [Wed Feb 18 10:31:23 CET 2015]; root of context hierarchy 10:31:27.822 [Thread-2] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'geoplatform' 10:31:27.822 [Thread-2] INFO o.hibernate.impl.SessionFactoryImpl - closing

Results :

Tests in error: BootstrapInitializerTest.testBootstrap:71->BaseInitializerTest.removeAll:171->BaseInitializerTest.removeAllLayers:195 » Persistence GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En... GPInitializerTest.setUp:86 » CannotCreateTransaction Could not open JPA Entity... GPInitializerTest.tearDown:126 » CannotCreateTransaction Could not open JPA En...

Tests run: 25, Failures: 0, Errors: 25, Skipped: 0

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Geo-Platform :: == All Services Module ............ SUCCESS [2.236s] [INFO] Geo-Platform :: == WS DAO and Model Module ........ SUCCESS [0.081s] [INFO] Geo-Platform :: == CORE Model ..................... SUCCESS [5.205s] [INFO] Geo-Platform :: == CORE DAO ....................... SUCCESS [3.702s] [INFO] Geo-Platform :: == CORE Initializer ............... FAILURE [9.781s] [INFO] Geo-Platform :: == WS Base Util ................... SKIPPED [INFO] Geo-Platform :: == WS Modules ..................... SKIPPED [INFO] Geo-Platform :: == Publish Module ................. SKIPPED [INFO] Geo-Platform :: == Publish Module Interface ....... SKIPPED [INFO] Geo-Platform :: == Shared Beans ................... SKIPPED [INFO] Geo-Platform :: == Publish Module Base Impl ....... SKIPPED [INFO] Geo-Platform :: == WS Util ........................ SKIPPED [INFO] Geo-Platform :: == Publish Module Api ............. SKIPPED [INFO] Geo-Platform :: == Publish Module Implementation .. SKIPPED [INFO] Geo-Platform :: == Scheduler Module ............... SKIPPED [INFO] Geo-Platform :: == Scheduler Module Api ........... SKIPPED [INFO] Geo-Platform :: == Scheduler Module Implementation SKIPPED [INFO] Geo-Platform :: == Catalog Module ................. SKIPPED [INFO] Geo-Platform :: == GeoNetwork Catalog Module ...... SKIPPED [INFO] Geo-Platform :: == GeoNetwork Catalog Module Api .. SKIPPED [INFO] Geo-Platform :: == GeoNetwork Catalog Module Impl . SKIPPED [INFO] Geo-Platform :: == CSW Catalog Module ............. SKIPPED [INFO] Geo-Platform :: == CSW Catalog Module Api ......... SKIPPED [INFO] Geo-Platform :: == CSW Catalog Module Impl ........ SKIPPED [INFO] Geo-Platform :: == Tracking Module ................ SKIPPED [INFO] Geo-Platform :: == Tracking Module Api ............ SKIPPED [INFO] Geo-Platform :: == Tracking Module Implementation . SKIPPED [INFO] Geo-Platform :: == All Core Web Services .......... SKIPPED [INFO] Geo-Platform :: == WS CORE API .................... SKIPPED [INFO] Geo-Platform :: == OGC Module ..................... SKIPPED [INFO] Geo-Platform :: == WMS Module ..................... SKIPPED [INFO] Geo-Platform :: == WMS Module Api ................. SKIPPED [INFO] Geo-Platform :: == WMS Module Implementation ...... SKIPPED [INFO] Geo-Platform :: == WFS Module ..................... SKIPPED [INFO] Geo-Platform :: == WFS Module Api ................. SKIPPED [INFO] Geo-Platform :: == WFS Module Implementation ...... SKIPPED [INFO] Geo-Platform :: == WS Core Implementation ......... SKIPPED [INFO] Geo-Platform :: == WS WebApp ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.753s [INFO] Finished at: Wed Feb 18 10:31:27 CET 2015 [INFO] Final Memory: 61M/146M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project geoplatform-initializer: There are test failures. [ERROR] [ERROR] Please refer to /home/gils/geoSDI2/geo-platform/geoplatform-services/geoplatform-core/geoplatform-initializer/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :geoplatfor

glascaleia commented 9 years ago

Hi, from log i see this message FATAL: password authentication failed for user "postgres" So i think there will be a problem with your postgres postgis installation. Regards Giuseppe

avgils commented 9 years ago

Thank you so much for the answer. I fixed the connection to the database and that works fine now. But now I'm getting another error, see new terminal output below. Can you help me on this error as well?

[INFO] Building Geo-Platform :: == Publish Module Api 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-publisher-api ---

[INFO] Deleting file set: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/target (included: [**], excluded: [])

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-publisher-api ---

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-publisher-api ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:21:54 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-publisher-api ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-publisher-api ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 1 source file to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/target/classes

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-publisher-api ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/src/test/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-publisher-api ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-publisher-api ---

[INFO] No tests to run.

[INFO]

[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ geoplatform-publisher-api ---

[INFO] Building jar: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/target/geoplatform-publisher-api-1.6-SNAPSHOT.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-publisher-api ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/target/geoplatform-publisher-api-1.6-SNAPSHOT.jar to /home/gils/.m2/repository/org/geosdi/geoplatform-publisher-api/1.6-SNAPSHOT/geoplatform-publisher-api-1.6-SNAPSHOT.jar

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-api/pom.xml to /home/gils/.m2/repository/org/geosdi/geoplatform-publisher-api/1.6-SNAPSHOT/geoplatform-publisher-api-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == Publish Module Implementation 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-publisher-impl ---

[INFO] Deleting file set: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target (included: [**], excluded: [])

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-publisher-impl ---

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-publisher-impl ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:21:55 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-publisher-impl ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 2 resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-publisher-impl ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 1 source file to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/classes

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-publisher-impl ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 2 resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-publisher-impl ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 2 source files to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/test-classes

[WARNING] /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/src/test/java/org/geosdi/geoplatform/services/SLDTest.java: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/src/test/java/org/geosdi/geoplatform/services/SLDTest.java uses or overrides a deprecated API.

[WARNING] /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/src/test/java/org/geosdi/geoplatform/services/SLDTest.java: Recompile with -Xlint:deprecation for details.

[INFO]

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-publisher-impl ---

[INFO] Surefire report directory: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/surefire-reports


T E S T S


Running org.geosdi.geoplatform.services.PublisherWSTest

12:21:57,438 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]

12:21:57,438 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/test-classes/logback-test.xml]

12:21:57,575 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

12:21:57,579 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]

12:21:57,670 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate] to INFO

12:21:57,671 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.hibernate] to false

12:21:57,671 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[org.hibernate]

12:21:57,672 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO

12:21:57,672 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]

12:21:57,673 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.AclDAOTest] to INFO

12:21:57,673 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.GPDAOTest] to INFO

12:21:57,673 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.ModelDAOTest] to TRACE

12:21:57,673 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.ServerDAOTest] to INFO

12:21:57,674 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.services.PublisherWSTest] to INFO

12:21:57,674 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.services.GPPublisherServiceImpl] to INFO

12:21:57,674 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.core.dao.impl.GPFolderDAOImpl] to INFO

12:21:57,675 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.core.dao.impl.GPLayerDAOImpl] to INFO

12:21:57,675 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

12:21:57,676 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@7233bb11 - Registering current configuration as safe fallback point

12:21:57.797 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]

12:21:57.821 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/web/context/request/RequestAttributes]

12:21:57.824 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@5d3704e9, org.springframework.test.context.support.DirtiesContextTestExecutionListener@47238cce, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6ef14cde, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@23edbbb9]

12:21:57.950 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-Test.xml]

12:21:58.247 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-jasypt.xml]

12:21:58.335 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/classes/applicationContext.xml]

12:21:58.499 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/geoplatform-publisher-base-impl/target/geoplatform-publisher-base-impl-1.6-SNAPSHOT.jar!/applicationContext.xml]

12:21:58.600 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/geoSDI3/geo-platform/geoplatform-services/gp-shared-beans/target/gp-shared-beans-1.6-SNAPSHOT.jar!/applicationContext.xml]

12:21:58.717 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext.xml]

12:21:58.831 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext-crypt.xml]

12:21:58.907 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext-jasypt.xml]

12:21:58.984 [main] INFO o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'gpPooledPBEStringEncryptor': replacing [Generic bean: class [org.geosdi.geoplatform.configurator.crypt.GPPooledPBEStringEncryptorDecorator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-jasypt.xml]] with [Generic bean: class [org.geosdi.geoplatform.configurator.crypt.GPPooledPBEStringEncryptorDecorator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext-jasypt.xml]]

12:21:58.985 [main] INFO o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'gpPBEConfig': replacing [Generic bean: class [org.jasypt.encryption.pbe.config.SimpleStringPBEConfig]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-jasypt.xml]] with [Generic bean: class [org.jasypt.encryption.pbe.config.SimpleStringPBEConfig]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext-jasypt.xml]]

12:21:58.986 [main] INFO o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'propertyConfigurer': replacing [Generic bean: class [org.jasypt.spring31.properties.EncryptablePropertySourcesPlaceholderConfigurer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-jasypt.xml]] with [Generic bean: class [org.jasypt.spring31.properties.EncryptablePropertySourcesPlaceholderConfigurer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext-jasypt.xml]]

12:21:58.991 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [jar:file:/home/gils/.m2/repository/org/geosdi/geoplatform-configurator/1.6-SNAPSHOT/geoplatform-configurator-1.6-SNAPSHOT.jar!/applicationContext-CAS.xml]

12:21:59.066 [main] INFO o.s.c.s.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@2d3cd0ba: startup date [Wed Feb 18 12:21:59 CET 2015]; root of context hierarchy

12:21:59.669 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-ws.properties]

12:21:59.670 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-ws.properties]

12:21:59.670 [main] WARN o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-ws.properties]: ${GP_DATA_DIR}/gp-ws.properties (No such file or directory)

12:21:59.670 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-db.properties]

12:21:59.671 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-db.properties]

12:21:59.673 [main] WARN o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-db.properties]: ${GP_DATA_DIR}/gp-db.properties (No such file or directory)

12:21:59.780 [main] INFO o.s.c.s.PropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-cas.properties]

12:21:59.780 [main] INFO o.s.c.s.PropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-cas.properties]

12:21:59.781 [main] WARN o.s.c.s.PropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-cas.properties]: ${GP_DATA_DIR}/gp-cas.properties (No such file or directory)

12:21:59.980 [main] INFO org.quartz.impl.StdSchedulerFactory - Using default implementation for ThreadExecutor

12:21:59.997 [main] INFO o.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl

12:21:59.997 [main] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.1 created.

12:21:59.998 [main] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized.

12:21:59.999 [main] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'GPPublisherScheduler' with instanceId 'NON_CLUSTERED'

Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.

NOT STARTED.

Currently in standby mode.

Number of jobs executed: 0

Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 5 threads.

Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

12:21:59.999 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'GPPublisherScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

12:22:00.000 [main] INFO org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 2.2.1

12:22:00.000 [main] INFO org.quartz.core.QuartzScheduler - Scheduler GPPublisherScheduler_$_NON_CLUSTERED started.

12:22:00.040 [main] INFO o.g.g.s.utility.PublishUtility - Geoportal dir: /home/gils/Geoportal/

12:22:00.041 [main] INFO o.g.g.s.GPPublisherBasicServiceImpl - GEOPORTAL DIR @@@@@@@@@@@@@@@@@@@@@ /home/gils/Geoportal/

12:22:00.041 [main] INFO o.g.g.s.GPPublisherBasicServiceImpl - GEOSERVER AT: http://localhost:8989/geoserver, USER: admin, PWD: geoserver, USING DIR: /Geoportal/

12:22:00.152 [main] INFO o.g.g.s.GPPublisherBasicServiceImpl - DB_POSTGIS_PARAMETER @@@@@@@@@@@@@@@@@@@@@@@@ PostGISUtility{ hostPostgisDatastore = localhost, portPostgisDatastore = 5432, dbNamePostgisDatastore = preview_gp, userNameDBPostgisDatastore = postgres, passwordDBPostgisDatastore = 0x,postgres,0x}

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.975 sec - in org.geosdi.geoplatform.services.PublisherWSTest

Running org.geosdi.geoplatform.services.SLDTest

12:22:00.236 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]

12:22:00.244 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/web/context/request/RequestAttributes]

12:22:00.244 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@10770d26, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7800423b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@58fc6d09, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@245a9783]

12:22:00.591 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

12:22:00.592 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request

12:22:00.592 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

12:22:00.595 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request

12:22:00.595 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

12:22:00.596 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request

12:22:00.596 [main] INFO i.g.geoserver.rest.HTTPUtils - Couldn't connect to [http://localhost:8989/geoserver/rest/styles/population.sld]

12:22:00.596 [main] INFO o.g.geoplatform.services.SLDTest - ##################### Style: null

12:22:00.604 [main] ERROR o.g.geoplatform.services.SLDTest - Error on performing SLD Test: java.lang.NullPointerException maybe the Geoserver is unavailable?

12:22:00.606 [main] INFO i.g.g.rest.GeoServerRESTReader - Loading from REST path /rest/layers/topp:states.xml

12:22:00.607 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

12:22:00.611 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request

12:22:00.611 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

12:22:00.611 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request

12:22:00.612 [main] INFO o.a.c.httpclient.HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused

12:22:00.612 [main] INFO o.a.c.httpclient.HttpMethodDirector - Retrying request

12:22:00.613 [main] INFO i.g.geoserver.rest.HTTPUtils - Couldn't connect to [http://localhost:8989/geoserver/rest/layers/topp:states.xml]

12:22:00.614 [main] ERROR o.g.geoplatform.services.SLDTest - Error on performing SLD Test: java.lang.NullPointerException maybe the Geoserver is unavailable?

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.388 sec - in org.geosdi.geoplatform.services.SLDTest

12:22:00.647 [Thread-0] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@2d3cd0ba: startup date [Wed Feb 18 12:21:59 CET 2015]; root of context hierarchy

12:22:00.649 [Thread-0] INFO o.g.g.services.PublisherCleaner - -------------------> DESTROY STARTUP-GEO-PLATFORM SERVICE

Results :

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0

[INFO]

[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ geoplatform-publisher-impl ---

[INFO] Building jar: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/geoplatform-publisher-impl-1.6-SNAPSHOT.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-publisher-impl ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/target/geoplatform-publisher-impl-1.6-SNAPSHOT.jar to /home/gils/.m2/repository/org/geosdi/geoplatform-publisher-impl/1.6-SNAPSHOT/geoplatform-publisher-impl-1.6-SNAPSHOT.jar

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-publisher/publisher-impl/pom.xml to /home/gils/.m2/repository/org/geosdi/geoplatform-publisher-impl/1.6-SNAPSHOT/geoplatform-publisher-impl-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == Scheduler Module 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-scheduler ---

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-scheduler ---

[INFO] Skipping cobertura mojo for project with packaging type 'pom'

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-scheduler ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:02 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-scheduler ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/pom.xml to /home/gils/.m2/repository/org/geosdi/geoplatform-scheduler/1.6-SNAPSHOT/geoplatform-scheduler-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == Scheduler Module Api 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-scheduler-api ---

[INFO] Deleting file set: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/target (included: [**], excluded: [])

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-scheduler-api ---

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-scheduler-api ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:02 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-scheduler-api ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-scheduler-api ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 2 source files to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/target/classes

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-scheduler-api ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/src/test/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-scheduler-api ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-scheduler-api ---

[INFO] No tests to run.

[INFO]

[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ geoplatform-scheduler-api ---

[INFO] Building jar: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/target/geoplatform-scheduler-api-1.6-SNAPSHOT.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-scheduler-api ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/target/geoplatform-scheduler-api-1.6-SNAPSHOT.jar to /home/gils/.m2/repository/org/geosdi/geoplatform-scheduler-api/1.6-SNAPSHOT/geoplatform-scheduler-api-1.6-SNAPSHOT.jar

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-api/pom.xml to /home/gils/.m2/repository/org/geosdi/geoplatform-scheduler-api/1.6-SNAPSHOT/geoplatform-scheduler-api-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == Scheduler Module Implementation 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-scheduler-impl ---

[INFO] Deleting file set: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/target (included: [**], excluded: [])

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-scheduler-impl ---

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-scheduler-impl ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:02 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- build-helper-maven-plugin:1.7:add-resource (add-resource) @ geoplatform-scheduler-impl ---

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geoplatform-scheduler-impl ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 7 resources

[INFO] Copying 7 resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geoplatform-scheduler-impl ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 8 source files to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/target/classes

[WARNING] /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/src/main/java/org/geosdi/geoplatform/jobs/EmailTask.java: Some input files use unchecked or unsafe operations.

[WARNING] /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/src/main/java/org/geosdi/geoplatform/jobs/EmailTask.java: Recompile with -Xlint:unchecked for details.

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geoplatform-scheduler-impl ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/src/test/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geoplatform-scheduler-impl ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geoplatform-scheduler-impl ---

[INFO] No tests to run.

[INFO]

[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ geoplatform-scheduler-impl ---

[INFO] Building jar: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/target/geoplatform-scheduler-impl-1.6-SNAPSHOT.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-scheduler-impl ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/target/geoplatform-scheduler-impl-1.6-SNAPSHOT.jar to /home/gils/.m2/repository/org/geosdi/geoplatform-scheduler-impl/1.6-SNAPSHOT/geoplatform-scheduler-impl-1.6-SNAPSHOT.jar

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-scheduler/scheduler-impl/pom.xml to /home/gils/.m2/repository/org/geosdi/geoplatform-scheduler-impl/1.6-SNAPSHOT/geoplatform-scheduler-impl-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == Catalog Module 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geoplatform-catalog ---

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geoplatform-catalog ---

[INFO] Skipping cobertura mojo for project with packaging type 'pom'

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geoplatform-catalog ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:03 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geoplatform-catalog ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/pom.xml to /home/gils/.m2/repository/org/geosdi/geoplatform-catalog/1.6-SNAPSHOT/geoplatform-catalog-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == GeoNetwork Catalog Module 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geonetwork-catalog ---

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geonetwork-catalog ---

[INFO] Skipping cobertura mojo for project with packaging type 'pom'

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geonetwork-catalog ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:03 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geonetwork-catalog ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/pom.xml to /home/gils/.m2/repository/org/geosdi/geonetwork-catalog/1.6-SNAPSHOT/geonetwork-catalog-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == GeoNetwork Catalog Module Api 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

Downloading: http://repo.terracotta.org/maven2/it/geosolutions/geonetwork-manager/1.0-SNAPSHOT/maven-metadata.xml

Downloading: http://download.java.net/maven/2/it/geosolutions/geonetwork-manager/1.0-SNAPSHOT/maven-metadata.xml

Downloading: http://repo.boundlessgeo.com/main/it/geosolutions/geonetwork-manager/1.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata it.geosolutions:geonetwork-manager:1.0-SNAPSHOT/maven-metadata.xml from/to boundlessgeo (http://repo.boundlessgeo.com/main/): Connection to http://repo.boundlessgeo.com refused

[WARNING] Failure to transfer it.geosolutions:geonetwork-manager:1.0-SNAPSHOT/maven-metadata.xml from http://repo.boundlessgeo.com/main/ was cached in the local repository, resolution will not be reattempted until the update interval of boundlessgeo has elapsed or updates are forced. Original error: Could not transfer metadata it.geosolutions:geonetwork-manager:1.0-SNAPSHOT/maven-metadata.xml from/to boundlessgeo (http://repo.boundlessgeo.com/main/): Connection to http://repo.boundlessgeo.com refused

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geonetwork-catalog-api ---

[INFO] Deleting file set: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/target (included: [**], excluded: [])

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geonetwork-catalog-api ---

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geonetwork-catalog-api ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:24 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geonetwork-catalog-api ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geonetwork-catalog-api ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 5 source files to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/target/classes

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geonetwork-catalog-api ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/src/test/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geonetwork-catalog-api ---

[INFO] No sources to compile

[INFO]

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geonetwork-catalog-api ---

[INFO] No tests to run.

[INFO]

[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ geonetwork-catalog-api ---

[INFO] Building jar: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/target/geonetwork-catalog-api-1.6-SNAPSHOT.jar

[INFO]

[INFO] --- maven-install-plugin:2.3:install (default-install) @ geonetwork-catalog-api ---

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/target/geonetwork-catalog-api-1.6-SNAPSHOT.jar to /home/gils/.m2/repository/org/geosdi/geonetwork-catalog-api/1.6-SNAPSHOT/geonetwork-catalog-api-1.6-SNAPSHOT.jar

[INFO] Installing /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-api/pom.xml to /home/gils/.m2/repository/org/geosdi/geonetwork-catalog-api/1.6-SNAPSHOT/geonetwork-catalog-api-1.6-SNAPSHOT.pom

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Geo-Platform :: == GeoNetwork Catalog Module Impl 1.6-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ geonetwork-catalog-impl ---

[INFO] Deleting file set: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-impl/target (included: [**], excluded: [])

[INFO]

[INFO] --- cobertura-maven-plugin:2.5.2:clean (default) @ geonetwork-catalog-impl ---

[INFO]

[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ geonetwork-catalog-impl ---

[INFO] [GitCommitIdMojo] Running on '/home/gils/geoSDI3/geo-platform/.git' repository...

[INFO] [GitCommitIdMojo] Initializing properties...

[INFO] [GitCommitIdMojo] Using maven project properties...

[INFO] [GitCommitIdMojo] Loading data from git repository...

[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------

[INFO] [GitCommitIdMojo] build.commit.message.short = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] build.build.user.email = Unknown

[INFO] [GitCommitIdMojo] build.commit.time = 17.02.2015 @ 16:18:36 CET

[INFO] [GitCommitIdMojo] build.build.time = 18.02.2015 @ 12:22:24 CET

[INFO] [GitCommitIdMojo] build.branch = 1.6.x

[INFO] [GitCommitIdMojo] build.commit.user.email = glascaleia@gmail.com

[INFO] [GitCommitIdMojo] build.build.user.name = Unknown

[INFO] [GitCommitIdMojo] build.commit.user.name = Giuseppe La Scaleia

[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f122a48

[INFO] [GitCommitIdMojo] build.commit.id = f122a4815bd1ecb7fc088d21923fcdac91edb79e

[INFO] [GitCommitIdMojo] build.commit.message.full = FIXED Heavy Bug On GeoPlatformMap Widget on Resize Browser Events

[INFO] [GitCommitIdMojo] ---------------------------------------------------------

[INFO] [GitCommitIdMojo] Finished running.

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ geonetwork-catalog-impl ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 2 resources

[INFO] skip non existing resourceDirectory /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-impl/src/main/resources/template

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ geonetwork-catalog-impl ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 3 source files to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-impl/target/classes

[INFO]

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ geonetwork-catalog-impl ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 1 resource

[INFO]

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ geonetwork-catalog-impl ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 1 source file to /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-impl/target/test-classes

[INFO]

[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ geonetwork-catalog-impl ---

[INFO] Surefire report directory: /home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-impl/target/surefire-reports


T E S T S


Running org.geosdi.geoplatform.services.GPCatalogServiceTest

12:22:25,722 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]

12:22:25,723 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/home/gils/geoSDI3/geo-platform/geoplatform-services/geoplatform-modules/geoplatform-catalog/geonetwork-catalog/geonetwork-impl/target/test-classes/logback-test.xml]

12:22:25,920 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

12:22:25,924 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]

12:22:26,021 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO

12:22:26,022 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]

12:22:26,025 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.geosdi.geoplatform.services.GPCatalogServiceTest] to INFO

12:22:26,026 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.

12:22:26,027 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4811a6da - Registering current configuration as safe fallback point

12:22:26.143 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]

12:22:26.162 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/web/context/request/RequestAttributes]

12:22:26.164 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@16ecb69e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@ec94ad4, org.springframework.test.context.transaction.TransactionalTestExecutionListener@414fabe1, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@559d6246]

12:22:26.345 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml]

12:22:26.612 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-jasypt.xml]

12:22:26.699 [main] INFO o.s.c.s.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@3fd76922: startup date [Wed Feb 18 12:22:26 CET 2015]; root of context hierarchy

12:22:26.960 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-ws.properties]

12:22:26.961 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-ws.properties]

12:22:26.962 [main] WARN o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-ws.properties]: ${GP_DATA_DIR}/gp-ws.properties (No such file or directory)

12:22:26.962 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from class path resource [gp-db.properties]

12:22:26.967 [main] INFO o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Loading properties file from URL [file:${GP_DATA_DIR}/gp-db.properties]

12:22:26.967 [main] WARN o.j.s.p.EncryptablePropertySourcesPlaceholderConfigurer - Could not load properties from URL [file:${GP_DATA_DIR}/gp-db.properties]: ${GP_DATA_DIR}/gp-db.properties (No such file or directory)

log4j:WARN No appenders could be found for logger (it.geosolutions.geonetwork.util.HTTPUtils).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

12:23:33.080 [main] ERROR o.g.g.services.util.GPCatalogClient - Could not login to GeoNetwork service

12:23:38.096 [main] ERROR o.g.g.services.util.GPCatalogClient - Could not login to GeoNetwork service

Tests run: 6, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 72.496 sec <<< FAILURE! - in org.geosdi.geoplatform.services.GPCatalogServiceTest

testExtractDatasFromMetadata(org.geosdi.geoplatform.services.GPCatalogServiceTest) Time elapsed: 47.869 sec <<< FAILURE!

java.lang.AssertionError: Error parsing GN response: null

at org.junit.Assert.fail(Assert.java:88)

at org.geosdi.geoplatform.services.GPCatalogServiceTest.testExtractDatasFromMetadata(GPCatalogServiceTest.java:151)

testAnonymousVSPrivateGPCatalogFinderService(org.geosdi.geoplatform.services.GPCatalogServiceTest) Time elapsed: 18.012 sec <<< FAILURE!

java.lang.AssertionError: Could not login to GeoNetwork service

at org.junit.Assert.fail(Assert.java:88)

at org.geosdi.geoplatform.services.GPCatalogServiceTest.testAnonymousVSPrivateGPCatalogFinderService(GPCatalogServiceTest.java:134)

testGPCatalogClient(org.geosdi.geoplatform.services.GPCatalogServiceTest) Time elapsed: 5.014 sec <<< FAILURE!

java.lang.AssertionError: Could not login to GeoNetwork service

at org.junit.Assert.fail(Assert.java:88)

at org.geosdi.geoplatform.services.GPCatalogServiceTest.testGPCatalogClient(GPCatalogServiceTest.java:109)

12:23:38.116 [Thread-0] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@3fd76922: startup date [Wed Feb 18 12:22:26 CET 2015]; root of context hierarchy

Results :

Failed tests:

GPCatalogServiceTest.testExtractDatasFromMetadata:151 Error parsing GN response: null

GPCatalogServiceTest.testAnonymousVSPrivateGPCatalogFinderService:134 Could not login to GeoNetwork service

GPCatalogServiceTest.testGPCatalogClient:109 Could not login to GeoNetwork service

Tests run: 6, Failures: 3, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Geo-Platform :: == All Services Module ............ SUCCESS [1.925s]

[INFO] Geo-Platform :: == WS DAO and Model Module ........ SUCCESS [0.059s]

[INFO] Geo-Platform :: == CORE Model ..................... SUCCESS [4.766s]

[INFO] Geo-Platform :: == CORE DAO ....................... SUCCESS [3.363s]

[INFO] Geo-Platform :: == CORE Initializer ............... SUCCESS [18.249s]

[INFO] Geo-Platform :: == WS Base Util ................... SUCCESS [0.348s]

[INFO] Geo-Platform :: == WS Modules ..................... SUCCESS [0.061s]

[INFO] Geo-Platform :: == Publish Module ................. SUCCESS [0.087s]

[INFO] Geo-Platform :: == Publish Module Interface ....... SUCCESS [0.326s]

[INFO] Geo-Platform :: == Shared Beans ................... SUCCESS [0.195s]

[INFO] Geo-Platform :: == Publish Module Base Impl ....... SUCCESS [2.252s]

[INFO] Geo-Platform :: == WS Util ........................ SUCCESS [0.257s]

[INFO] Geo-Platform :: == Publish Module Api ............. SUCCESS [0.215s]

[INFO] Geo-Platform :: == Publish Module Implementation .. SUCCESS [7.572s]

[INFO] Geo-Platform :: == Scheduler Module ............... SUCCESS [0.042s]

[INFO] Geo-Platform :: == Scheduler Module Api ........... SUCCESS [0.118s]

[INFO] Geo-Platform :: == Scheduler Module Implementation SUCCESS [0.494s]

[INFO] Geo-Platform :: == Catalog Module ................. SUCCESS [0.027s]

[INFO] Geo-Platform :: == GeoNetwork Catalog Module ...... SUCCESS [0.015s]

[INFO] Geo-Platform :: == GeoNetwork Catalog Module Api .. SUCCESS [21.739s]

[INFO] Geo-Platform :: == GeoNetwork Catalog Module Impl . FAILURE [1:13.278s]

[INFO] Geo-Platform :: == CSW Catalog Module ............. SKIPPED

[INFO] Geo-Platform :: == CSW Catalog Module Api ......... SKIPPED

[INFO] Geo

glascaleia commented 9 years ago

Very strange. Our CI System build and i try on my mac and all tests passed. However try to compile skipping tests or add @Ignore on all tests that failure. Regards Giuseppe

avgils commented 9 years ago

Thank you for the answer. I just restarted the installation and all test passed. Maybe I had a network issue or something.

I'm right now trying to install geoplatform-base-app. The installation stops at,

Downloading: http://repo.geosdi.org/org/geosdi/geoplatform-gxt-resources/2.3.0/geoplatform-gxt-resources-2.3.0.jar

I restarted the installation several times, waited for over an hour and restarted my computer, but it keeps stopping at that specific line. Any idea where that comes from?

avgils commented 9 years ago

I heard from someone else that he had the same problem. This specific file was send to hem and he installed that one locally. This worked out well for him. Maybe this is also a good solution for me?

Regards

Anna