Monty3dog - 2006-10-17

A brief post-install memo. It was quick, painless and with minimum changes to the source. Might be useful to somebody here.

The system is CentOS4.4 with latest rpms updated via yum from standard repositories plus dag rpmforge.( MySQL version is 5.0.22.)
I also use http://www.tummy.com/Community/Articles/tomcat-centos/ to cleanly install Tomcat-5.0.30 as rpm.
CVWserver installation went by the book and I'll omit it.
To install CVWdocserver:
1.Download source and dbdump file.
2.Unpack source to a temporary directory.
3.Copy CVWdocserver/jakarta/tomcat/webapps/app to /var/lib/tomcat5/webapps/app
4.Adjust permissions (ex. chown -R root:tomcat4 /var/lib/tomcat5/webapps/app)
5.Create database 'docserv' and populate it from dbdump file.
6.Create mysql user 'dsuser' with password 'dsuser2' (use old_password option!) and allow it to access 'docserv' database from localhost.
NOTE: These user and password are taken from app/WEB-INF/web.xml file. They can be different if needed.
7.Temporary directory can be now deleted (nothing from there is needed anymore, even startup file since Tomcat and Mysql can be restarted with 'service [program] restart'.

To install Windows CVW client (My company is all M$Windows, so I'll use only this one, sorry):
1.Run Installation binary.
2.Edit Server.cvw file as follows:
    #
    # Property file for CVW
    #
    cvw.server.host=[my host]
    cvw.server.port=8888
    cvw.server.name=[my server]
    cvw.docserver.host=[my host]
    cvw.docserver.port=8080
    cvw.docserver.url=/app/docservlet
    cvw.version=4.0.0
    cvw.debug=false

Connect, try to import external document, sync with server and check /var/log/tomcat5/catalina.out for something like
Xwhere
resultSet is [MS Word Document]
Xwhere
resultSet is [Adobe PDF Document]
Another place to check is /var/log/tomcat5/localhost.log...txt and tables from 'docserv' database. 'docdata' and 'dochistory' should have new data.
The numbered subfolders of Tomcat's /webapps/app directory should have the initial versions of synchronized documents.

Dixi.