Blog

Lighttpd, Tomcat, mod_proxy

Just a quick guide to setting up Lighttpd (http://www.lighttpd.net/) and Tomcat using mod_proxy. there are only two steps involved here:

1. Make sure mod_proxy is enabled in the list of server.modules

server.modules = ("mod_proxy",
...

2. Add a HTTP host block to redirect requests on localhost to port 8080 for Tomcat.
$HTTP["host"] =~ “127.0.0.1|localhost” {
proxy.server = (
“” =>
(”tomcat” => (”host” => “127.0.0.1″, “port” => 8080, “fix-redirects” => 1) )
)}

Eclipse Not Starting

Had a weird issue with Eclipse not starting, it would bomb out with the following exception:  Bash |  copy |? JVM terminated. Exit code=1/usr/bin/java-Dosgi.requiredJavaVersion=1.5-XX:MaxPermSize=768m-Xms256m-Xmx1024m-jar /home/jon/eclipsercp/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar-os linux-ws gtk-arch x86_64-showsplash-launcher /home/jon/eclipsercp/eclipse-name Eclipse--launcher.library /home/jon/eclipsercp/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.3.R33x_v20080118/eclipse_1023.so-startup /home/jon/eclipsercp/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar-exitdata 257000e-clean-vm /usr/bin/java-vmargs-Dosgi.requiredJavaVersion=1.5-XX:MaxPermSize=768m-Xms256m-Xmx1024m-jar /home/jon/eclipsercp/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar Under the workspace folder there are a number of files and directories:  Bash |  copy |? .plugins.mylynversion.ini.lock.log Normally deleting the .lock file seems to cure this problem, but ...

PHP, Apache, Windows (Grrr)

Posted under Design and Architecture by admin on Thursday 17 July 2008 at 2:22 pm Ok just a few quick notes on stupid Apache, PHP and stupid Windows I wanted to share with people. If you ever have to setup Apache and PHP on Windows there are a few caveats you need to be aware ...

Linux Time Synchronization Using NTP

Setting up time synchronization on Linux is dead simple.  The example shown here is for Debian Etch 4.0:  Bash |  copy |? apt-get install ntpapt-get install ntpdate Make sure your timezone is set correctly:  Bash |  copy |? tzconfig then choose your country and location and that’s it.

Funplug and Passwordless SSH

Gargh, passwordless SSH… it’s pretty straightforward, maybe it’s just knowing where to look when things aren’t quite going to plan. Basically I want to setup passwordless SSH from: My client (in this case my D-Link DNS-323 nasbox) … to … My server (running Debian Etch 4.0). The following steps are required: 1. Generate a set ...