It is not possible to completely turn off the Tomcat HTTP Port and still have the Wiki, Weblog, and Workspaces functions still operate. They require the Tomcat HTTP Port be open for internal communications to function. The solution provided below is a manual edit that you can make to the server.xml file that will cause Tomcat to only respond to requests from itself (127.0.0.1).
Note: To close the Tomcat HTTP Port you can run the command line utility start_docushare tomcat http off update-only. However, this command line utility does not make the modification listed below to the server.xml file and will cause wiki and weblog functions to no longer work.
Note: The solution provided below is a manual edit that you can make to the server.xml file that will cause Tomcat to only respond to requests from itself (127.0.0.1). All requests from other sources will be denied access.
Note: This solution applies to DocuShare 6.00.01. The start_docushare tomcat http off command is not supported in DocuShare 6.5
Note: You must be an Windows Administrator to perform this solution.
Note: To perform this solution it requires that you stop DocuShare.
From the DocuShare Server,
1. Stop DocuShare
2. Open a Command Prompt window
3. Change into the Xerox\Docushare\bin directory
Note: Depending on your environment the DocuShare installation path may vary.
4. Type start_docushare tomcat http off update-only and press enter.
5. Close the Command Prompt window.
6. Open Windows Explorer
7. Browse to the Xerox\Docushare\tomcat\conf directory
8. Make a copy of the server.xml file and name it server.xml.bak
9. Open the original server.xml file in a text editor such as NotePad
10. Search for the following line:
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
11. Look to see if the entry in blue below exists.
· If the entry exists then just add the area that is displayed in red to the existing entry (as seen below).
· If the entire entry does not exist then add the entire entry below (including the entry in red).
<Connector URIEncoding="UTF-8" port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" address="127.0.0.1" disableUploadTimeout="true" />
Note: If you are adding the entire entry be sure that you add it between the <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> line and the <!-- Note : To disable connection timeouts, set connectionTimeout value to 0 --> line.
12. Save the modified copy of the server.xml file
13. Restart DocuShare
14. Try accessing the DocuShare page, if you use the wiki, weblog and workspaces functions in DocuShare you should test them as well.