Solprovider Lenya Kongregate Registration for Free Flash Games and Chat with solprovider

Jetty as a Linux service

These are instructions for running Lenya on Jetty as a service on Linux. If you are running Lenya on Tomcat, go decipher the Tomcat instructions. (I may post them someday.)


In the "servlet)" section, add an ampersand (&) at the end of the line, and add the echo line:

echo $! >$LENYA_HOME/

Download init.d file

Download this file into your init.d directory.

Edit the file and configure JAVA_HOME, LENYA_HOME, lenyauser (unless your configuration matches mine.)
export JAVA_HOME=/opt/j2sdk1.4.2_08
export LENYA_HOME=/opt/apache-lenya-1.2.2

Someone reported changing one line for SuSE 9.2:
su - $lenyauser $lenyadir/ servlet >$lenyadir/start.log 2>&1 &

Turn Lenya on.

/sbin/chkconfig --add lenya

<< InstallationProxying >>

Contact Solprovider
Paul Ercolino