Re: Running Lenya 2 as daemon
Richard Frovarp <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
On 2/20/2010 9:11 AM, Petteri Sulonen wrote: > 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 > Looks like the Tomcat instructions need to be updated. There is a war target for build ./build.sh war That will tell you the path to which it built the war. From there move the war into the webapp directory of Jetty, and make sure the libraries mentioned are in a path that Jetty looks. That should do it for you. Patches are submitted to our Bugzilla area. Follow the Bug Tracker link on the right hand side navigation. http://lenya.apache.org/community.html I'm not one of the TinyMCE users, so I'm not quite sure why that is setup the way it is. Submit your patch and we can take a look at it. Richard