Re: Running Lenya 2 as daemon

Petteri Sulonen <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
Thanks. My preferred way would be to run it under the latest Jetty set
up with Tanuki's wrapper.

I tried to run it under Jetty 6.1.20 installed on Ubuntu in the usual
way (with aptitude), but it failed with a NoClassDefFoundError
(org/apache/regexp/RESyntaxException, caused by
java.lang.ClassNotFoundException:
org.apache.regexp.RESyntaxException).

I didn't do much work on this, though: I just took the webapp
directory from the standalone build and dropped it under
[JETTY_HOME]/webapps, and dropped the .jars under build/lenya/lib into
[JETTY_HOME]/lib/ext. That clearly didn't work. Do I need to build it
differently, e.g. using the instructions for Tomcat, or am I doing
something else wrong?

Thanks again,

(BTW, how do I go about submitting a patch? The TinyMCE editor is set
up very slightly wrong in the default configuration; some of the
buttons and functions don't quite work, and all it took to fix them
was to add the required elements (b, i, sub, sup) to
tiny_valid_elements.js.)

/Petteri

On Sat, Feb 20, 2010 at 4:56 PM, Richard Frovarp <[email protected]> wrote:
> On 2/20/2010 4:02 AM, Petteri Sulonen wrote:
>>
>> Hi, folks --
>>
>> Is there an init script available somewhere to run Lenya 2
>> (standalone) as a Unix daemon? I found one for Lenya 1.2.5, but not
>> 2.0.3, but it appears that ./lenya.sh for 2.0.3 doesn't accept 'stop'
>> as a parameter, so it's not easily portable.
>>
>> If not, what's the recommended way of accomplishing this?
>>
>> TIA,
>>
>> /Petteri
>>
>
> My recommended way would be to run it under a properly configured Java
> application server that is setup as a daemon. You of course could use Jetty
> or Tomcat for the job. While I have ran it for demonstration purposes from
> the script, I don't like doing that long term.
>
> Richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.