Krishnamohan Meduri's weblog
Monday Aug 07, 2006
Run Apache Lenya on Sun Java System Web Server 6.1
Apache Lenya is an Open Source Java/XML Content Management System that comes with revision control, site management, scheduling, search, WYSIWYG editors, and workflow.
You can run this application on Sun Java System Web Server 6.1. Before I get to the steps to do so, let's first decide on some terminology:
WS61_INSTALL_DIR specifies Sun Java System Web Server 6.1 installation directory.
LENYA_HOME specifies the directory where Lenya binary (tar or zip) is extracted
LENYA_WEBAPP_HOME specifies the directory where LENYA_HOME/
lenya.war is extracted.Steps to setup and run Lenya on SJS WS 6.1:
1. Download Apache Lenya 1.2.4 binary from http://lenya.apache.org/ and extract the tar or zip.
2. Create a new directory named
endorsed under
WS61_INSTALL_DIR/bin/https/jdk/jre/lib3. Copy the following three jar files from LENYA_WEBAPP_HOME
/WEB-INF/lib to
WS61_INSTALL_DIR/bin/https/jdk/jre/lib/endorsed
xalan-2.6.1-dev-20041008T0304.jar
xml-apis.jar
xercesImpl-2.6.2.jar
(I am not sure what will be the side effects of this change. But to get
Lenya running, this is a necessary step. Lenya seems to depend on these
jars heavily.)4. Deploy LENYA_HOME/
lenya.war to Web Server instance with say /lenya as uri.5. Start the web server instance and visit http://hostname:port/lenya in your browser. This shows the index page of Lenya.
To experiment, you can click "Lenya's Weblogs" link and create blogs.
From Lenya home page, you can also click "Default Publication" and open WYSIWYG Editors and do much more.
To my surprise, Apache Lenya sometimes throws some errors. I observed the same errors with jetty also which is a container bundled with Lenya binaries.
Posted at 10:56AM Aug 07, 2006 by kmeduri in Sun | Comments[2]
Does Lenya use Roller for its weblog management?
Roller is now an Apache project.
Posted by M. Mortazavi on August 07, 2006 at 11:55 AM PDT #
Posted by javaguru on October 12, 2006 at 11:50 AM PDT #