System configuration = Mandriva 10.x server 2005LE - Apache 2.0xx avec Virtual Hosts - Java 1.5x - Tomcat 5.x - mod-jk 1.2x
Version française du document : http://www.apachefrance.com/Forums/index.php?showtopic=3606
“DAISY_HOME /usr/share/daisy”
“OPENJMS_HOME /usr/share/daisy/openjms”
So, as root :
$: export DAISY_HOME=/usr/share/daisy
$: export OPENJMS_HOME=/usr/share/daisy/openjms
Verify ..
$: echo $DAISY_HOME
$: echo $OPENJMS_HOME
$: cd /usr/share/daisy/install (go directory <DAISY_HOME>/install)
Launch configuration script (as root)
$: ./daisy-openjms-config
Information required :
$: cd /usr/share/daisy/openjms/bin = go to directory <OPENJMS_HOME>/bin
Launch configuration script (console as root)
$: ./dbtool.sh -create -config $OPENJMS_HOME/config/openjms.xml
Dlog4j.configuration=$DAISY_HOME/misc/openjms-log4j.properties
I Get an error : >=== "pooled connection" try to connect as daisy@mandrake - host name not choosed as localhost but as ‘mandrake’ whose name is Mandriva Linux hostname
Solution >=== as Webmin/servers/Mysql - Global Options / Host permissions - Add host 'mandrake'
We retry configuration script:
$:./dbtool.sh -create -config $OPENJMS_HOME/config/openjms.xml
Dlog4j.configuration=$DAISY_HOME/misc/openjms-log4j.properties
Successfully created tables
go directory <OPENJMS_HOME>/bin
Launch script
$: ./startup.sh
Session is working and dedicated
$: export DAISY_HOME=/usr/share/daisy
go directory <DAISY_HOME>/install
$: ./daisy-repository-init
(information suggested or/and requested)
go directory <DAISY_HOME>/repository-server/bin & run daisy-repository-server
$: cd /usr/share/daisy/repository-server/bin
$: ./daisy-repository-server /var/local/daisydata
starting Merlin 3.3.0 ...
$: export DAISY_HOME=/usr/share/daisy
Go directory <DAISY_HOME>/install
$: ./daisy-wiki-init
Config Information requested :
The Daisy Wiki has the concept of multiple sites, these are multiple views on top of the same repository. You need at least one site to do something useful with the Daisy Wiki, so we are now going to create one. Open a command prompt or shell and set an environment variable DAISY_HOME, pointing to the directory where Daisy is installed.
Go directory <DAISY_HOME>/install
$: ./daisy-wiki-add-site
Create Daisy Wiki new site = collection docs, navigation, home page, siteconf.xml
Two Solutions:
Deploying on Tomcat The Daisy webapp can be freely moved out of the DAISY_HOME/daisywiki directory and deployed on another servlet container. It has no external dependencies: it needs no other stuff from DAISY_HOME, nor does it need access to the daisy data directory. Here is how you can deploy Daisy on Tomcat (this was tried with Tomcat 5.0.28):
……from.:.Daisy's webapp directory - DAISY_HOME/daisywiki/webapp)
……to……:.TOMCAT_HOME/webapps/cocoon (thus the webapp directory gets renamed to cocoon)
$: ls common/endorsed/
xercesImpl.jar xml-apis.jar
$: rm common/endorsed/*
$: cp webapps/cocoon/WEB-INF/lib/xercesImpl-<version>.jar common/endorsed/
$: cp webapps/cocoon/WEB-INF/lib/xml-apis.jar common/endorsed/
$: cp webapps/cocoon/WEB-INF/lib/xalan-<version>.jar common/endorsed/
Releases in Mandriva 2005LE working :
See this article Ici . http://www.apachefrance.com/Forums/index.php?showtopic=3584 - Translation comes later for this how-to
$: export DAISY_HOME=/usr/share/daisy
$: export OPENJMS_HOME=$DAISY_HOME/openjms
$: cd $DAISY_HOME/openjms/bin
$: ./startup.sh
$: export DAISY_HOME=/usr/share/daisy
$: cd $DAISY_HOME/repository-server/bin
$: ./daisy-repository-server /var/local/daisydata
Daisy requires an expanded webapp, not a war archive.
1° - Daisy Wiki
2° - Daisy Repository Server - kill process ...??
3° - OpenJMS.
$: cd <OPENJMS_HOME>/bin
$: ./shutdown -u admin -p <your-password>
| Name | Value |
|---|---|
| Category | Install & config |