Debian Configuration– Tomcat on Boot, revision

I revised my startup script for Tomcat to use a non-privileged user for security reasons. I used the following page as my resource: #!/bin/sh # /etc/init.d/tomcat6: start Tomcat6 server. test -f /opt/apache-tomcat-6.0.32/bin/ || exit 0 PATH=$PATH:/opt/apache-tomcat-6.0.32/bin/ case “$1” in start) export JAVA_HOME=/opt/jre1.6.0_26/ logger -t Tomcat6 “Starting Tomcat 6…” exec su – tomcat -c /opt/apache-tomcat-6.0.32/bin/ | logger -t Tomcat6 ;; stop) export JAVA_HOME=/opt/jre1.6.0_26/ logger -t … Continue reading Debian Configuration– Tomcat on Boot, revision

GeoServer Optimization

As we move away from a simple stack of PostGIS/GeoServer/GeoWebCache/Openlayers to wrapping a MapFish print service into the stack, it’s time to think more seriously about optimizing and stabilizing GeoServer. In preparation for this step, I’ve been setting up a series of VMWare ESX-hosted Debian Linux VMs to function as the cluster of geospatial services. Fortunately for me, there’s plenty of great advice in Andre … Continue reading GeoServer Optimization

Debian Configuration– Tomcat on Boot

Start-up scripts in Debian Linux aren’t exactly straight forward for the un-initiated.  Actually, if memory serves me, they aren’t any more straight forward on Ubuntu Linux either, but such is heredity. We are transitioning some of our GeoServer instances over to 64-bit Debian Linux.  In my test Ubuntu environment, I had a hack in place to force the Tomcat Java Servlet to launch on startup, … Continue reading Debian Configuration– Tomcat on Boot