[Daisy] Deploying on Tomcat: daisyswiki.data parameter
Jean Meyer
jean.meyer at telecomint.eu
Wed Jul 18 06:10:19 CDT 2007
Hi all,
To deploy on Tomcat the page
http://cocoondev.org/daisydocs-2_0/admin/208-cd.html explains:
However, this does not work if you want to deploy the Daisy Wiki
webapp multiple times inside the same servlet container, using
different wikidata directories. In that case, you might either
specify the daisyswiki.data parameter inside your WEB-INF/web.xml
<http://cocoondev.org/daisydocs-2_0/admin/313-cd.html>, or inside
the context file
CATALINA_HOME/conf/Catalina/your.domain.tld/ROOT.xml. If you prefer
to stick to the latter method, which has the advantage that it will
survive an update of your daisy installation, your context file
should look like:
<?xml version="1.0" encoding="UTF-8"?>
<Context reloadable="true">
<!-- specify wiki data directoty -->
<Parameter name="daisywiki.data" value="/path/to/your/daisy/wiki/data" override="false" />
...
</Context>
In my directory C:\apache-tomcat-5.5.23\conf\Catalina\localhost I have 2
files:
- host-manager.xml:
<!-- Context configuration file for the Tomcat Host Manager Web App
$Id: host-manager.xml 303743 2005-03-11 22:39:26Z remm $ -->
<Context
docBase="${catalina.home}/server/webapps/host-manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false">
</Context>
- manager.xml
<!-- Context configuration file for the Tomcat Manager Web App $Id:
manager.xml 303123 2004-08-26 17:03:35Z remm $ -->
<Context
docBase="${catalina.home}/server/webapps/manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"></ResourceLink>
</Context>
Does the mentioned file ROOT.xml correspond here to host-manager.xml or
do I have to create a new ROOT.xml ?
Best Regards,
Jean
More information about the daisy
mailing list