Frequently Asked Questions

Similar documents
Modules. Table of contents

OpenOffice Documents with Lenya

Manakin Workshop. Manakin Workshop DSpace User Group, February Scott Phillips Texas A&M University

Magnolia. Content Management Suite. Slide 1

How to be a Forrest developer

c122jan2714.notebook January 27, 2014

Plugin Infrastructure

Dreamweaver is a full-featured Web application

Dreamweaver is a full-featured Web application

Install instructions for Windows

Troubleshooting Single Sign-On

Troubleshooting Single Sign-On

Internet Explorer Faqs Page Setup Not Saving

Monitoring Apache Tomcat Servers With Nagios XI

Guardium UI Login using a Smart card

UIMA Simple Server User Guide

OU EDUCATE TRAINING MANUAL

Installing or Upgrading the Cisco Nexus Data Broker Software in Centralized Mode

A ColdFusion Management System Getting Started Documentation Copyright 2009, All Rights Reserved. FusonLink Inc.

Seamless Content Management with OpenOffice and Cocoon

Website Backend Manual

APAR PO06620 Installation Instructions

20 THINGS YOU DIDN T KNOW ABOUT WEBGUI. By Tavis Parker

Master Syndication Gateway V2. User's Manual. Copyright Bontrager Connection LLC

Creating Post(s) In WordPress

Setting Up the Development Environment

Using ZENworks with Novell Service Desk

SOFTWARE INSTALLATION README

ZENworks Service Desk 8.0 Using ZENworks with ZENworks Service Desk. November 2018

Configure the Cisco DNA Center Appliance

Effacts 4 Installation Guide

EUSurvey OSS Installation Guide

Web Collaborative Reviewer Installation Guide. Small Business Edition

System Administration

Mascot Insight Installation and setup guide

MEMBERSHIP & PARTICIPATION

EUSurvey Installation Guide

NetIQ Privileged Account Manager 3.5 includes new features, improves usability and resolves several previous issues.

AgileSCM Release 4.1. AgileSCM Release 4.0. AgileSCM Release 3.2. New Features. Bug Fixes. New Features. Bug Fixes

Copyright Maxprograms

FUEGO 5.5 WORK PORTAL. (Using Tomcat 5) Fernando Dobladez

IceWarp to IceWarp Migration Guide

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. WordPress

Managing Source Code With Subversion

In this tutorial you will learn how to:

Node.js. Node.js Overview. CS144: Web Applications

Using the vrealize Orchestrator Operations Client. vrealize Orchestrator 7.5

Data Feed Manager. End user instructions

Installation Guide Installing AuraPlayer Components on Tomcat in a Linux Environment

AuraPlayer Server Manager User Guide

CMS 101. For questions or issues: go.pacific.edu/webrequest

Foundstone 7.0 Patch 6 Release Notes

Qualys Cloud Platform (VM, PC) v8.x Release Notes

Mysql Tutorial Create Database Username Password Through Phpmyadmin

3. Optionally, if you want to use the new Web SSO feature, complete the steps in Adding Web Single Sign-On Functionality.

Scoreboard 2.16 Installation Guide. For Apache Tomcat 8.0 On Windows 2003 (or later) Server, 64-bit

DEDICATED SERVER SOFTWARE DOCUMENTATION

Contact: Systems Alliance, Inc. Executive Plaza III McCormick Road, Suite 1203 Hunt Valley, Maryland Phone: / 877.

This document is intended for use by Nagios Administrators that want to use Slack for notifications.

icontact for Salesforce Crash Course Mastering the Fundamentals Salesforce Lightning

Mysql Manual Error Log Location Windows Server

SOA Software Policy Manager Agent v6.1 for WebSphere Application Server Installation Guide

Security Guide. Configuration of Permissions

Notification Template Limitations. Bridge Limitations

Hortonworks Data Platform

RealTracs RETS Client - Pipeline

Backup using Quantum vmpro with Symantec Backup Exec release 2012

Apparo Fast Edit. Installation Guide 3.1

ultimo theme User Guide Extremely customizable Magento theme by Infortis Copyright Infortis All rights reserved

Software Tools Subversion

Build great products. Contour Enterprise Architect Connector Jama Software, Inc.

Browser Configuration Reference

emam and Adobe Premiere Panel Guide

Clearspan OpEasy Basic Provisioning User Guide MAY Release

ReCPro TM User Manual Version 1.15

User Scripting April 14, 2018

Install Flash Plugin Manually Internet Explorer 9 Webm

How to Publish Any NetBeans Web App

Quick Start Manual for Mechanical TA

Kaseya 2. Installation guide. Version R8. English

UPGRADING STRM TO R1 PATCH

Remote Access to Unix Machines

X-Payments:FAQ. X-Payments user manual

2013 SP1. User's Guide

Aspera Connect Windows XP, 2003, Vista, 2008, 7. Document Version: 1

Advanced Online Media Dr. Cindy Royal Texas State University - San Marcos School of Journalism and Mass Communication

Getting the Source Code

Avaya CFA 7.1 Patch 1 (X01) Release Notes October 13, 2014

If you re the administrator on any network,

ADOBE DRIVE 4.2 USER GUIDE

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

FUSION REGISTRY COMMUNITY EDITION SETUP GUIDE VERSION 9. Setup Guide. This guide explains how to install and configure the Fusion Registry.

Setting up the Seagate D4 NAS with Hard Disk Sentinel Pro. By Gary Ryan. Adapted from:

Introduction Installing DNN The ControlBar Host Pages Site Administration Tools Configuring Project Modules...

Technical Note: ACTIVE Governance Cloning

Leading Practice: CA PPM Backup and Migration Strategy

Vector Issue Tracker and License Manager - Administrator s Guide. Configuring and Maintaining Vector Issue Tracker and License Manager

Introduction. Paradigm Publishing. SNAP for Microsoft Office SNAP for Our Digital World. System Requirements

Avaya AAPC 7.1 Patch 1 (X01) Release Notes October 13, 2014

Amazon WorkSpaces Application Manager. Administration Guide

Transcription:

Table of contents 1 Errors... 4 2 I get an error or an exception, where can I look at, what should I do?...4 3 General Lenya capabilities...4 4 Can a local Lenya instance generate a site that is deployed on a remote hosting service?...4 5 Installation, Setup, Virtual hosts etc...4 6 I have already deployed cocoon in my servlet engine. Can I install Lenya in parallel?...4 7 Can lenya be integrated into a virtual hosting environment?...5 8 Do I need to create a Lenya install for each virtual server?... 5 9 Is there a way to create multiple sites accessible via various methods of access control (based on who owns them)?...5 10 How do I enable email notifications?...5 11 Running Lenya... 5 12 Lenya CMS ui tabs are not displayed, whats wrong?... 5 13 I can't run the lenya.sh script in a linux shell...5 14 Why do I get an "illegal cookie" warning with all the lenya reference sites using Opera?...5 15 I get a java.net.urisyntaxexception error:...5 16 How can I create new users?... 6 17 When using Lenya, a blank page occurs... 6 18 I get a "Connection timed out" errors such as "org.apache.cocoon.processingexception: Unable to get transformer handler for cocoon://scheduler/default/xxx"... 6 19 Document Types (short: Doctypes)... 6 20 Where can I find lenya-documentation about the exact meaning of:... 6 21 How to create a new document type?...6 22 How to to use my own Relax NG schema for editing documents with Bitflux in Lenya?... 6 23 File-upload...6 24 How can I Upload XML Files?... 6 25 Compliance to standards... 7

26 How to port the default pub to XHTML?... 7 27 Revision Control...7 28 How do I break a lock on a document?... 7 29 Background:...7 30 Edit documents... 7 31 How can I delete a document?... 7 32 Asset management...7 33 Asset upload does not work. How do I enable asset uploads?...8 34 Fallback...8 35 How can I provide a different authoring login page for my publication?... 8 36 Internationalization (i18n)... 8 37 How do I switch the default language for an existing publication?... 8 38 Editors...8 39 BXE doesn't let me insert a <h1> heading?... 8 40 Customization... 8 41 How to Add Custom Logicsheets?... 8 Page 2

1. Errors 1. I get an error or an exception, where can I look at, what should I do? 2. General Lenya capabilities 1. Can a local Lenya instance generate a site that is deployed on a remote hosting service? 3. Installation, Setup, Virtual hosts etc. 1. I have already deployed cocoon in my servlet engine. Can I install Lenya in parallel? 2. Can lenya be integrated into a virtual hosting environment? 3. Do I need to create a Lenya install for each virtual server? 4. Is there a way to create multiple sites accessible via various methods of access control (based on who owns them)? 5. How do I enable email notifications? 4. Running Lenya 1. Lenya CMS ui tabs are not displayed, whats wrong? 2. I can't run the lenya.sh script in a linux shell. 3. Why do I get an "illegal cookie" warning with all the lenya reference sites using Opera? 4. I get a error: 5. How can I create new users? 6. When using Lenya, a blank page occurs. 7. I get a "Connection timed out" errors such as "org.apache.cocoon.processingexception: Unable to get transformer handler for cocoon://scheduler/default/xxx" 5. Document Types (short: Doctypes) 1. Where can I find lenya-documentation about the exact meaning of: 2. How to create a new document type? 3. How to to use my own Relax NG schema for editing documents with Bitflux in Lenya? 6. File-upload 1. How can I Upload XML Files? 7. Compliance to standards 1. How to port the default pub to XHTML? 8. Revision Control 1. How do I break a lock on a document? 1. Background: 9. Edit documents 1. How can I delete a document? 10. Asset management 1. Asset upload does not work. How do I enable asset uploads? 11. Fallback 1. How can I provide a different authoring login page for my publication? 12. Internationalization (i18n) 1. How do I switch the default language for an existing publication? 13. Editors 1. BXE doesn't let me insert a <h1> heading? 14. Customization 1. How to Add Custom Logicsheets? Page 3

1 Errors 2 I get an error or an exception, where can I look at, what should I do? 1. Read this FAQ carefully 2. Search the wiki 3. Search the mailing lists: User or Dev 4. If all that fails, ask the user mailing list and provide following informations: as possible all error output with somewhat descriptive package names what web container are you running on what system what lenya/cocoon versions are you using what do the error logs of your container say (eg: "tomcat/logs/catalina.out" for Tomcat) what do the error logs of lenya say, these can be found in lenya/web-inf/logs, look here for the output of error.log 3 General Lenya capabilities 4 Can a local Lenya instance generate a site that is deployed on a remote hosting service? Yes. Using the StaticHTMLExporter task, Lenya can generate static html, css, and other supported files. Lenya maintains the directory structure of the generated site, which can then be uploaded to another site. To enable the StaticHTMLExporter task, configure the tasks.xconf file located in / $PUBLICATION_DIRECTORY/$YOUR_PROJECT_NAME/config/tasks/. Enable the StaticHTMLExporter as a sub-task of the <task id="publish"> task, <task id="publish">... <task id="export" class="org.apache.lenya.cms.publishing.statichtmlexporter"> <parameter name="export-path" value="work/export/pending"/> <parameter name="substitute-regexp" value="/lenya/$your_project_name/live/"/> <parameter name="substitute-replacement" value="/"/> <parameter name="my-server-port" value="$the_server_port_running_lenya"/> </task> </task> When publishing files, the static files will be stored in the "export-path" directory. As of Lenya 1.2, this task is included in the publish task, but commented out by default. And alternative way is to use the Cocoon CLI as there may be some issues with the StaticHTMLExporter, or to call WGet directly outside of lenya. 5 Installation, Setup, Virtual hosts etc. 6 I have already deployed cocoon in my servlet engine. Can I install Lenya in parallel? Yes you can. Page 4

7 Can lenya be integrated into a virtual hosting environment? Yes, the probably most simple setup would be to use a standard Apache webserver with mod_proxy and then connect the various "URL prefixes" to the various other servers. See the Mod Proxy tutorial for reference. 8 Do I need to create a Lenya install for each virtual server? No, you can run all publications within one servlet container context, which are being called by the virtual servers within Apache for instance. 9 Is there a way to create multiple sites accessible via various methods of access control (based on who owns them)? Yes, with the Lenya access control framework this is no problem. 10 How do I enable email notifications? Set enabled="true" in lenya/config/notification/notification.xconf Set the property in pubname/config/tasks/targets.xml to your smtp server <property name="mail.mailhost" value="localhost"/> 11 Running Lenya 12 Lenya CMS ui tabs are not displayed, whats wrong? As of Lenya 1.2, this is no longer a problem. It used to be a problem with Xalan. 13 I can't run the lenya.sh script in a linux shell. The lenya.sh script has DOS line breaks. Fix it like that. dos2unix lenya.sh chmod +x lenya.sh Then start it with your prefered param......and lenya will work like a charm 14 Why do I get an "illegal cookie" warning with all the lenya reference sites using Opera? cocoon issues a cookie containing /lenya. If the path to the Lenya publication does conflict with the cookie-path, Opera will (rightfully) complain. 15 I get a java.net.urisyntaxexception error: java.net.urisyntaxexception: Illegal character in path at index 21: file:/d:/build/tomcat 4.1/webapps/lenya/lenya/pubs/blog/config/ac/passwd/ The installation path may not contain spaces: Lenya Installation Instructions Page 5

16 How can I create new users? Log in initially as "alice" with password "levi". Then go to the admin tab and you'll see a link for users. You can then add new users and delete existing ones. 17 When using Lenya, a blank page occurs. This could be caused by an exception which is not caught by Lenya. Look into the log files of your servlet container (Tomcat) or the command line if logging is not enabled. 18 I get a "Connection timed out" errors such as "org.apache.cocoon.processingexception: Unable to get transformer handler for cocoon://scheduler/default/xxx" Make sure your machine can get a connection to itself under all its hostnames. Test by pinging all hostnames. Edit your hosts file if necessary. 19 Document Types (short: Doctypes) 20 Where can I find lenya-documentation about the exact meaning of: page-envelope document-id document-type context-precis etc. see Page envelope module 21 How to create a new document type? See Adding Custom Resource Type. 22 How to to use my own Relax NG schema for editing documents with Bitflux in Lenya? You have to create a new document type. You have to add the appropriate menu item. 23 File-upload 24 How can I Upload XML Files? Does Lenya have something along the lines of a form that will allow people to upload XML files, have them validated, etc, then publish on a live site? There is the one form editor (a big text area to edit XML in). Another possibility is to use WebDAV to import XML files. Page 6

25 Compliance to standards 26 How to port the default pub to XHTML? The Default publication is validated as HTML Transitional, how to port it to XHTML? The final serialization done in pipeline is to HTML (publication-sitemap.xmap line 154 ATM). You can change it to XHTML there. 27 Revision Control 28 How do I break a lock on a document? Also known as: How can manage this error: "Could not check out the file Reason : The resource has already been checked out by another user" unfortunately, currently there is no GUI way to break a lock (but have a look on the Background). you have to go into content/rcml/content/authoring/yourpage/index_en.xml.rcml and look at the entries in there <!CheckOut> <Identity>lenya</Identity> <Time>1083252253647</Time> </!CheckOut> if the most recent (the ones on top) are CheckOut and no corresponding CheckIn you have a lock. you can break the lock by removing the CheckOut line. 29 Background: If you edit a document, it gets checked out. This means you telling lenya that you want the exclusive right to change the document. Lenya will lock this document for other users (so it cannot be edit by someone else). After you finished editing the document, save it and exit the editor. By doing so the document gets checked in again. This means you are telling lenya that you want to drop the exclusiv right to change the document. If for some reason it does not get checked in (browser crash?) the document remains locked. Log in initially as "alice" with password "levi". Try to open the document (e.g. with the forms editor) and hit CANCEL. Then it should be checked-in again. 30 Edit documents 31 How can I delete a document? To remove a document you have two options: 1. you can either archive it (and restore it later): In the site tab go to Edit->Archive. 2. or you can delete it: In the site tab go to Edit->Delete 32 Asset management Page 7

33 Asset upload does not work. How do I enable asset uploads? Edit the file lenya/web-inf/web.xml, look for "enable-uploads" and change the param-value to "true". This is also a build option you can set in local.build.properties. 34 Fallback 35 How can I provide a different authoring login page for my publication? You've to use Fallbacks. In sitemap.xmap put the login xsl under fallback. <map:match type="step" pattern="showscreen"> <map:generate type="serverpages" src="lenya/content/ac/login.xsp"/> <map:transform src="lenya/{fallback:xslt/ac/login.xsl}"> <map:parameter name="publication_name" value="{page-envelope:publication-id}"/> </map:transform> <map:call resource="style-cms-page"/> </map:match> And now write your alternative login.xsl in the publication filesystem, under config/ac (webapps/lenya/ lenya/pubs/[pubname]/config/ac) 36 Internationalization (i18n) 37 How do I switch the default language for an existing publication? Go to lenya/pubs/<youpubname>/config/publication.xconf and move the default="true" attribute to your default language. 38 Editors 39 BXE doesn't let me insert a <h1> heading? This is a setting in lenya/lenya/resources/misc/bxeng/contextmenu.xml - all tags appearing there cannot be inserted by the BXE popup menu. 40 Customization 41 How to Add Custom Logicsheets? Custom logicsheets can be put in <yourpub>/java/src. You have to add a patch file for cocoon.xconf, for instance <yourpub>/config/ logicsheets.xconf: <xconf xpath="/cocoon/markup-languages/xsp-language/target-language[@name = 'java']" unless="/cocoon/markup-languages/xsp-language/target-language[@name = 'java']/builtinlogicsheet[parameter[@name = 'prefix' and @value = 'mylogicsheet']]"> <builtin-logicsheet> <parameter name="prefix" value="mylogicsheet"/> Page 8

<parameter name="uri" value="http://foo/bar/mylogicsheet"/> <parameter name="href" value="resource://org/myproject/mylogicsheet.xsl"/> </builtin-logicsheet>... (more logicsheets) </xconf> Page 9