As of version 4.0, some documents -- including PDFs and those from Microsoft Office -- are supported in a preview view. Converting content from its native format into one that can be previewed (the original document is not altered during conversion) can consume a large amount of CPU resources. For this reason, the conversion software must be deployed on a node that is separate from where production instances of the application are deployed.
This document describes a simple Jive SBS environment with a single conversion node. In the following, "application node" will specify the server running just the Jive SBS application and "conversion node" will specify the server running the conversion utilities.
There are two services dedicated to document conversion:
Jive Document Conversion Daemon Service (JDCD) -- Handles preview and thumbnail creation for any document, such as those from Word and Powerpoint, as well as conversion from 2007 to 2003.
su - jive apprestart
On Linux service jive-joosd stop && chkconfig jive-joosd off Stopping jive-joosd: OK service jive-jdcd stop && chkconfig jive-jdcd off Stopping jive-jdcd: OK On Solaris svcadm disable jive/joosd:default svcadm disable jive/jdcd:default
You can verify these services no longer start with the following command:
On Linux chkconfig --list On Solaris svcs -a |grep jive
Run all of these commands as root unless otherwise noted.
su - jive apprestart
You can list all services with the following command; use discretion with the services you disable:
chkconfig --list
Consider disabling the following:
On Linux chkconfig acpid off chkconfig atd off chkconfig autofs off chkconfig avahi-daemon off chkconfig cpuspeed off chkconfig cups off chkconfig gpm off chkconfig haldaemon off chkconfig kudzu off chkconfig lvm2-monitor off chkconfig messagebus off chkconfig netfs off chkconfig nfslock off chkconfig portmap off chkconfig rpcgssd off chkconfig rpcidmapd off chkconfig smartd off On Solaris svcadm disable jive/application:default svcadm disable jive/httpd:default svcadm disable jive/database:default svcadm enable jive/joosd:default (included in the next comment) svcadm enable jive/jdcd:default (included in the next comment)
su - jive -c 'apprm sbs' service jive-application stop && chkconfig jive-application off Stopping jive-application: OK service jive-httpd stop && chkconfig jive-httpd off Stopping jive-httpd: Stopping jive-httpd: OK service jive-database stop && chkconfig jive-database off Stopping jive-database: waiting for server to shut down.... done server stopped
On Linux chkconfig jive-joosd on chkconfig jive-jdcd on On Solaris svcadm enable jive/joosd:default svcadm enable jive/jdcd:default
vi /etc/jive/conf/joosd.conf
Add the following line:
OPTIONS='--debug -a 0.0.0.0 -z 0.0.0.0'
Restart the service:
On Linux /etc/init.d/jive-joosd restart Stopping jive-joosd: OK Starting jive-joosd: joosd started successfully. OK On Solaris svcadm restart jive/joosd:default
vi /etc/jive/conf/jive-jdcd.conf
Add the following line to the file:
OPTIONS=' --debug -a 0.0.0.0'
Restart the service:
On Linux /etc/init.d/jive-jdcd restart Stopping jive-jdcd: OK Starting jive-jdcd: jdcd started successfully. OK On Solaris svcadm restart jive/jdcd:default
mkdir /tmp/jdcd chown -R jive.jive /tmp/jdcd
On the node that hosts the application, you use the admin console to configure the application to communicate with conversion nodes you've set up.
The admin console's Document Conversion Settings page is set up so that most of the values you'll likely need are prepopulated so that you don't have to set them. Most of these needn't change.
Admin Console: System > Settings > Document Conversion
By the same token, the JMS Settings port number should typically stay at its default value.
xls, xlsx
If you're seeing evidence that might indicate that ports are closed where they should be open, try using netcat (nc) to verify that the ports you need are open.
nc -l 8850
telnet 10.61.32.156 8850
The application uses a small database to queue documents for conversion. If this database becomes corrupt, you might see a logged error with the message "Failed to create database 'derbydb'." If this occurs, try clearing the directory at /usr/local/jive/applications/<app_name>/home/jms/ and restart the application. If you have the application deployed in a cluster, you'll need to do this for each application node.