1. Build Lenya as per the instructions at http://lenya.apache.org/. It doesn't matter whether it's standalone or for a .war 2. Install Jetty 6.1 in your preferred way (eg aptitude install jetty on Debian-derivatives). 3. Copy the directory [LENYA_SRC]/build/lenya/webapp to [JETTY_HOME]/webapps, and name it whatever you want to see in the URI path (eg "lenya"). 4. Install sun-java6-jdk and run Jetty with that, eg by making a symlink /usr/lib/jvm/default-java -> java-6-sun-1.6.0.15
To summarize, for the benefit of someone who might eventually be searching
this mailing list with a similar question, here's what I did to get Lenya
running as a webapp under a "standard" Jetty, started and stopped via
/etc/init.d in the usual way:
- Running Lenya 2 as daemon Petteri Sulonen
- Re: Running Lenya 2 as daemon Martin Dominguez
- Re: Running Lenya 2 as daemon Richard Frovarp
- Re: Running Lenya 2 as daemon Petteri Sulonen
- Re: Running Lenya 2 as daemon Richard Frovarp
- Re: Running Lenya 2 as daemon Petteri Sulonen
- Re: Running Lenya 2 as daemon Petteri Sulonen
- Re: Running Lenya 2 as daemon Petteri Sulonen
- Re: Re: Running Lenya 2 as ... psulonen
- Re: Running Lenya 2 as daemon Andreas Hartmann