Closed thanhgis closed 10 years ago
UPDATE: After removing PostgreSQL/PostGIS, the same errors were thrown.
Hi, your problem seems to be related to the DB schema. If you are using the geo-platform BaseApp you need at first to use the geo-platform's branch 1.6.x at second you need to import the DDL schema generated into a geodb called gp. You can find the schema in: $geo-platform/geoplatform-services/geoplatform-core/geoplatform-dao/target/classes. Please advise to me if this tip aders to your problem.
Dear andypower, Thanks for your prompt reply with solution. I will try this way. However, the problem occurred at the progress of installation of geo-platform-1.6.x. I cannot get success to install geo-platform-BaseApp. I will get back to you very soon. Thanks again.
Dear andypower, Thank you very much for your help. It works perfect now. I also installed BaseApp and it work well. BTW, how can I install Geo-portal interface with other tools like in http://test.geosdi.org/geo-portal/. Thanks again.
Dear andypower, I am trying to install geoplatform-gui from geo-platform-master (1.7) but it also error. The progress always stuck on the last line of below:
[INFO] ------------------------------------------------------------------------ [INFO] Building Geo-Platform :: == Api Module 1.7-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repo.geosdi.org/com/google/guava/guava/17.0/guava-17.0.jar Downloading: http://repo.geosdi.org/com/google/gwt/inject/gin/2.1.2/gin-2.1.2.jar Downloading: http://repo.geosdi.org/com/google/inject/guice/3.0/guice-3.0.jar Downloading: http://repo.geosdi.org/com/google/guava/guava-gwt/17.0/guava-gwt-17.0.jar Downloading: http://repo.geosdi.org/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar Downloading: http://repo.geosdi.org/com/extjs/gxt/2.3.0-gwt22/gxt-2.3.0-gwt22.jar Downloading: http://repo.geosdi.org/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar Downloading: http://repo.geosdi.org/javax/inject/javax.inject/1/javax.inject-1.jar Downloading: http://repo.geosdi.org/org/geosdi/geoplatform-gxt-resources/2.3.0/geoplatform-gxt-resources-2.3.0.jar Downloading: http://repo.geosdi.org/org/springframework/spring-test/4.0.5.RELEASE/spring-test-4.0.5.RELEASE.jar 10/1343 KB
Is it an error or I am an idiot? Please let me know how to deal with this error. Thank you.
I don't understand the problem. Can you explain better the problem?? Regards Giuseppe
Hi @thanhgis , the BaseApp offers a way to quickly checkout and deploy a light Geo-Portal with basic functionalities using owr framework. If you want to add the others tools like in the owr test page you need to add the corrispective modules dependencies to the base app pom.xml. We realized the framework geo-platform offering a multi-module architecture that can be quickly extended adding or removing maven modules. You don't need to use the master branch to have the other funcionalities because the master branch does not works with the Base app. If you want to learn how to add functionalities I can realize a brief wiki (tutorial) to explain the steps that you can follow. Give me feedback please. Regards
Dear andypower, Thanks alot for your so kind support. Please teach me how to add other functionalities (especially Manager Users, AOI (and let me know where the new created features are stored), Get Feature Info, Basic Map Editor tools, ...) to the Base app's pom.xml. Thanks again and waiting for your tutorials.
Hi @thanhgis, browse to the wiki section https://github.com/geosdi/geoplatform-base-app/wiki and read carefully all the instructions. You will be capable to add the geo-platform widgets to the base app. Regards
Great Nazz for the best wiki.
I tried many ways (probably all wrong) to get it up and running in my server without any success. So I need your help.
testPersistCheckStatusFolderS(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.009 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
testIncreasePositionsFolders(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.021 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
testDecreasePositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.009 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
testPersistCheckStatusFolder(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.014 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
testCheckDAOs(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.012 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
testIncreasePositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.008 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
testShiftPositionsLayers(org.geosdi.geoplatform.initializer.GPInitializerTest) Time elapsed: 0.006 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.id.SequenceGenerator.generateHolder(SequenceGenerator.java:112) at org.hibernate.id.SequenceHiLoGenerator$1.getNextValue(SequenceHiLoGenerator.java:86) at org.hibernate.id.enhanced.OptimizerFactory$LegacyHiLoAlgorithmOptimizer.generate(OptimizerFactory.java:410) at org.hibernate.id.SequenceHiLoGenerator.generate(SequenceHiLoGenerator.java:83) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69) at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:201) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:147) at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:71) at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:808) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:782) at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:786) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:839) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:262) at com.sun.proxy.$Proxy45.persist(Unknown Source) at com.googlecode.genericdao.dao.jpa.JPABaseDAO._persist(JPABaseDAO.java:99) at com.googlecode.genericdao.dao.jpa.GenericDAOImpl.persist(GenericDAOImpl.java:109) at org.geosdi.geoplatform.core.dao.impl.GPOrganizationDAOImpl.persist(GPOrganizationDAOImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy56.persist(Unknown Source) at org.geosdi.geoplatform.initializer.GPInitializerTest.setUp(GPInitializerTest.java:86)
Running org.geosdi.geoplatform.initializer.BootstrapInitializerTest 09:34:19.080 [main] INFO o.s.test.context.TestContextManager - 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] Hibernate: select gplayer0.id as id6, gplayer0.abstract as abstract6, gplayer0_.alias_name as alias36, gplayer0_.max_x as max46, gplayer0_.max_y as max56, gplayer0_.min_x as min66, gplayer0_.min_y as min76, gplayer0.cached as cached6, gplayer0.checked as checked6, gplayer0_.cql_filter as cql106, gplayer0_.layer_type as layer116, gplayer0.name as name6, gplayer0.position as position6, gplayer0.shared as shared6, gplayer0.srs as srs6, gplayer0_.time_filter as time166, gplayer0.title as title6, gplayer0_.url_server as url186, gplayer0_.folder_id as folder27, gplayer0.geometry as geometry7, gplayer0_.project_id as project37, gplayer0_.folder_id as folder713, gplayer0.keywords as keywords13, gplayer0.queryable as queryable13, gplayer0_.max_scale as max313, gplayer0_.min_scale as min413, gplayer0.opacity as opacity13, gplayer0_.project_id as project813, gplayer0.styles as styles13, gplayer0.clazz as clazz_ from ( select id, abstract, alias_name, max_x, max_y, min_x, min_y, cached, checked, cql_filter, layer_type, name, position, shared, srs, time_filter, title, url_server, geometry, folder_id, project_id, null::varchar as keywords, null::bool as queryable, null::float4 as max_scale, null::float4 as minscale, null::float4 as opacity, null::varchar as styles, 1 as clazz from public.gp_vector_layer union all select id, abstract, alias_name, max_x, max_y, min_x, min_y, cached, checked, cql_filter, layer_type, name, position, shared, srs, time_filter, title, url_server, null::geometry as geometry, folder_id, project_id, keywords, queryable, max_scale, minscale, opacity, styles, 2 as clazz from public.gp_rasterlayer ) gplayer0 09:34:19.318 [main] WARN o.h.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 42P01 09:34:19.318 [main] ERROR o.h.util.JDBCExceptionReporter - ERROR: relation "public.gp_vector_layer" does not exist Position: 1340 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.052 sec <<< FAILURE! - in org.geosdi.geoplatform.initializer.BootstrapInitializerTest testBootstrap(org.geosdi.geoplatform.initializer.BootstrapInitializerTest) Time elapsed: 0.052 sec <<< ERROR! javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:555) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:302) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208) at org.hibernate.loader.Loader.getResultSet(Loader.java:1953) at org.hibernate.loader.Loader.doQuery(Loader.java:802) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:333) at com.sun.proxy.$Proxy65.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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy52.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)
09:34:19.324 [Thread-2] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@7fad8c79: startup date [Thu Jul 10 09:34:16 ICT 2014]; root of context hierarchy 09:34:19.327 [Thread-2] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'geoplatform' 09:34:19.327 [Thread-2] INFO o.hibernate.impl.SessionFactoryImpl - closing
Results :
Tests in error: GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... GPInitializerTest.setUp:86 » Persistence org.hibernate.exception.SQLGrammarExc... BootstrapInitializerTest.testBootstrap:71->BaseInitializerTest.removeAll:171->BaseInitializerTest.removeAllLayers:195 » Persistence
Tests run: 13, Failures: 0, Errors: 13, Skipped: 0
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Geo-Platform :: == All Services Module ............ SUCCESS [02:33 min] [INFO] Geo-Platform :: == WS DAO and Model Module ........ SUCCESS [ 0.010 s] [INFO] Geo-Platform :: == CORE Model ..................... SUCCESS [07:26 min] [INFO] Geo-Platform :: == CORE DAO ....................... SUCCESS [04:52 min] [INFO] Geo-Platform :: == CORE Initializer ............... FAILURE [08:11 min] [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:48 min [INFO] Finished at: 2014-07-10T09:34:19+07:00 [INFO] Final Memory: 39M/79M [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 /opt/geo-platform-master/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 :geoplatform-initializer
[root@thanhgis geoplatform-services]#