Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo /sbin/service tomcat stop
sudo rm -rf /srv/gwc
sudo /sbin/service tomcat start

upgrade the deploy automation and deploy

Code Block
cd /usr/share/apache-tomcat-7.0.30/webapps
sudo svn export http://eas.googlecode.com/svn/trunk/geoserver/deploy_geoserver_init.sh
sudo dos2unix deploy_geoserver_init.sh
sudo ./deploy_geoserver_init.sh

After the start up inspect the the log file.

Code Block
view /usr/share/apache-tomcat-7.0.30/webapps/geoserver_configuration/logs/geoserver.log

This exception is OK because we do not use this plugin:

Code Block
DEBUG...
Unable to load kakadu JPEG2000 reader spi
java.lang.ClassNotFoundException: it.geosolutions.imageio.plugins.jp2k.JP2KKakaduImageReaderSpi
...

The should be no exceptions besides this one.

install geoserver image pyramid plugin
Code Block
cd downloads/
wget http://iweb.dl.sourceforge.net/project/geoserver/GeoServer%20Extensions/2.1.4/geoserver-2.1.4-pyramid-plugin.zip
unzip geoserver-2.1.4-pyramid-plugin.zip
sudo cp gt-imagepyramid-2.7.5.jar /usr/share/apache-tomcat-7.0.30/webapps/geoserver/WEB-INF/lib
sudo /sbin/service tomcat restart

...

Code Block
LD_LIBRARY_PATH_DEFAULT=/usr/local/lib
export LD_LIBRARY_PATH_DEFAULT

LD_LIBRARY_PATH=$LD_LIBRARY_PATH_DEFAULT
export LD_LIBRARY_PATH

on geoserver

build 2012 image pyramid

Follow instructions in main:
http://code.google.com/p/eas/source/browse/trunk/bin/build_pyramids.py

upgrade the deploy automation and deploy

...

Code Block
cd /usr/share/apache-tomcat-7.0.30/webapps
sudo svn export http://eas.googlecode.com/svn/trunk/geoserver/deploy_geoserver_init.sh
sudo dos2unix deploy_geoserver_init.sh
sudo ./deploy_geoserver_init.sh

After the start up inspect the the log file.

Code Block
view /usr/share/apache-tomcat-7.0.30/webapps

...

/geoserver_configuration/logs/geoserver.log

This exception is OK because we do not use this plugin:

Code Block
DEBUG...
Unable to load kakadu JPEG2000 reader spi
java.lang.ClassNotFoundException: it.geosolutions.imageio.plugins.jp2k.JP2KKakaduImageReaderSpi
...

The should be no exceptions besides this one.

deploy web application

Code Block
# see warning at top
cd /var/www/html
sudo ./deploy_eas_init.sh
# make sure web application works and is correct version

...