This task provides information for running Share in a separate Tomcat instance. These
instructions are for Windows deployments, but Linux-based deployments can use the same
methods.
- Install a new Tomcat instance.
- Modify the /conf/server.xml file for the new Tomcat instance as
follows:
- Change the port number in the line (for example, to 8006):
<Server port="8005" shutdown="SHUTDOWN">
- Change the port number in the section (for example, to 8180):
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" ....
- Move the share.war file from the original Tomcat
\webapps directory to the new Tomcat /webapps
directory.
- (Optional) Configure the original Alfresco Tomcat
deployment.
- Start the original Tomcat. You can use Alfresco supplied
batch files.
- If you are running the Share Tomcat on a separate machine, you must modify the override
file in the Share Tomcat web-extension directory, as follows:
- Open the share-config-custom.xml file.
- Change any instance of the server and port to the correct name or IP address of the
Alfresco
server.
http://yourserver:8080
- Save the file without the .sample extension.
- Start the new Share Tomcat. You can use copies of the Alfresco supplied
batch files, or your own methods.