AppSuite:DocumentConverterWSInstall

Revision as of 12:52, 7 February 2013 by Stx12 (talk | contribs) (document converter web service installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installation of Document Converter Web service (OSGi variant)

FIXME

Installation of Document Converter Web service (war variant)

The OX Document Converter Web service can be provided as a single *.war file, using the following naming convention:

 * documentconverterws_${PACKAGE_VERSION}.war

This package contains all necessary runtime, configuration and other files like predefined HTML pages etc. to make up the complete web service. It can be installed using the standard deployment tools given for your specific kind of ApplicationServer (e.g. Jetty, Tomcat, Glassfish, …).

System requirements

In this example the application server tomcat is used.

apt-get install tomcat6 tomcat6-admin

Edit the file /etc/tomcat6/tomcat-users.xml so that the use tomcat with the role manager-gui exists:

<user username='tomcat' password='xxxxx' roles='tomcat,manager-gui' />

Afterwards the tomcat service needs to be (re-)started.

/etc/init.d/tomcat6 restart
mkdir /var/log/open-xchange/documentconverterws
mkdir /var/opt/open-xchange
chown tomcat6 /var/opt/open-xchange

Open in your browser the URL http://<localhost>:8080 and follow the manager-webapp link. There you find the entry "WAR File to deploy". Download the latest documentconverterws.war file from http://xxxxx/documentconverterws FIXME, rename the file to documentconverterws.war and upload this file via "WAR File to deploy". After this you will see the documentconverws App running.