OS: Ubuntu Server 10.04.4 LTS
Servlet container: Glassfish3 v. 3.1.1
java jdk 1.6.0_26
First tentative: I am building geostore from src after git clone following the building instructions. All work fine (git clone, postgresql db creation, ant & maven installation, …). when building the web application from src (with or without postgresql support is the same)
Command:
mvn clean install -Dovrdir=postgres -Ppostgres -e (or mvn clean install -e)
Response:
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] GeoStore - 0 Server Root
[INFO] GeoStore - Core
[INFO] GeoStore - Core - Model
[INFO] GeoStore - Core - Persistence
[INFO] GeoStore - Core - Services API
[INFO] GeoStore - Core - Services implementation
[INFO] GeoStore - Modules
[INFO] GeoStore - Modules - REST root
[INFO] GeoStore - Modules - REST API
[INFO] GeoStore - Modules - REST services
[INFO] GeoStore - Modules - REST client
[INFO] GeoStore - Modules - REST EXTJS services
[INFO] GeoStore - Modules - REST services test
[INFO] GeoStore - Web
[INFO] GeoStore - Webapp
[INFO] Master GeoStore POM
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoStore - 0 Server Root
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /opt/geostore/src/server/pom.xml to /root/.m2/repository/it/geosolutions/geostore/geostore-root/1.2-SNAPSHOT/geostore-root-1.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoStore - Core
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /opt/geostore/src/server/core/pom.xml to /root/.m2/repository/it/geosolutions/geostore/geostore-core/1.2-SNAPSHOT/geostore-core-1.2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoStore - Core - Model
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: /opt/geostore/src/server/core/model/target (included: [**], excluded: [])
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/geostore/src/server/core/model/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 18 source files to /opt/geostore/src/server/core/model/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/opt/geostore/src/server/core/model/src/main/java/it/geosolutions/geostore/core/model/SecurityRule.java:[60,68] illegal start of expression
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
/opt/geostore/src/server/core/model/src/main/java/it/geosolutions/geostore/core/model/SecurityRule.java:[60,68] illegal start of expression
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
/opt/geostore/src/server/core/model/src/main/java/it/geosolutions/geostore/core/model/SecurityRule.java:[60,68] illegal start of expression
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Feb 14 12:21:00 UTC 2013
[INFO] Final Memory: 23M/347M
[INFO] ------------------------------------------------------------------------
Second tentative: Deploying on glassfish the war file
This is the error on glassfish:
Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geostoreInitializer' defined in URL [file:/etc/glassfish3/glassfish/domains/domain1/applications/geostore-webapp-1.1.0/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'categoryService' defined in URL [jar:file:/etc/glassfish3/glassfish/domains/domain1/applications/geostore-webapp-1.1.0/WEB-INF/lib/geostore-services-impl-1.1.0.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'categoryDAO': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factor .... msg.seeServerLog
--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-develo...@googlegroups.com.
To post to this group, send an email to mapstore-...@googlegroups.com.
Visit this group at http://groups.google.com/group/mapstore-developers?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
2013/2/15 Gianfranco Mura <g.m...@riteco.it>
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsub...@googlegroups.com.
2013/2/15 Gianfranco Mura <g.m...@riteco.it>
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-develo...@googlegroups.com.
2013/2/19 Gianfranco Mura <g.m...@riteco.it>
2013/2/15 Gianfranco Mura <g.m...@riteco.it>
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsubscribe...@googlegroups.com.
2013/2/15 Gianfranco Mura <g.m...@riteco.it>
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsubscribe...@googlegroups.com.
To post to this group, send an email to mapstore-...@googlegroups.com.
Visit this group at http://groups.google.com/group/mapstore-developers?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
2013/2/19 Gianfranco Mura <g.m...@riteco.it>
2013/2/15 Gianfranco Mura <g.m...@riteco.it>
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsubscribe...@googlegroups.com.
2013/2/15 Gianfranco Mura <g.m...@riteco.it>
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-developers+unsubscribe...@googlegroups.com.
To post to this group, send an email to mapstore-...@googlegroups.com.
Visit this group at http://groups.google.com/group/mapstore-developers?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "mapstore-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-develo...@googlegroups.com.