As a test/experiment, I've been trying to get RC4 running on EC2. After
installing in /usr/local and defining the GEOSERVER_HOME environment variable,
starting up geoserver produces the following console output:
$ $GEOSERVER_HOME/bin/startup.sh
GEOSERVER DATA DIR is /usr/local/geoserver-2.1-RC4/data_dir
1 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger@1908ca1
via org.mortbay.log.Slf4jLog
345 [main] WARN org.mortbay.log - Deprecated configuration used for
/usr/local/geoserver-2.1-RC4/webapps
371 [main] INFO org.mortbay.log - jetty-6.1.8
Apr 18, 2011 4:07:43 PM it.geosolutions.imageio.gdalframework.GDALUtilities
loadGDAL
WARNING: Failed to load the GDAL native libs. This is not a problem unless you
need to use the GDAL plugins: they won't be
enabled.java.lang.UnsatisfiedLinkError: no gdaljni in java.library.path
1 [main] WARN org.geoserver.logging - Could not find configuration file
for logging
3119 [main] INFO /geoserver - Initializing Spring root WebApplicationContext
1048 [main] ERROR org.vfny.geoserver.global -
----------------------------------
- GEOSERVER_DATA_DIR: /usr/local/geoserver-2.1-RC4/webapps/geoserver/data
----------------------------------
1793 [main] WARN org.geoserver - No 'workspaces' directory found, unable to
load any stores.
1809 [main] WARN
org.springframework.beans.factory.support.DisposableBeanAdapter - Invocation
of destroy method failed on bean with name 'geoServerLoader':
java.lang.NullPointerException
and it goes rapidly downhill from there.
The problem seems to be in specifying the data directory; initially it's
correct (/usr/local/geoserver-2.1-RC4/data_dir) but then seems to get changed
to /usr/local/geoserver-2.1-RC4/webapps/geoserver/data , which .
I also tried geoserver 2.0.3 with the same result, but everything works fine on
my local machine (OSX 10.6, OS independent binary).
There seems to be lots of evidence of successful installations on EC2, so I
must be overlooking something obvious (permissions, ownership?).
Any suggestions as to what might be the problem?
Thanks,
Rick
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users