Deploying Share into a separate Tomcat instance

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.

  1. Install a new Tomcat instance.
  2. Modify the /conf/server.xml file for the new Tomcat instance as follows:
    1. Change the port number in the line (for example, to 8006):
      <Server port="8005" shutdown="SHUTDOWN">
    2. 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" .... 
  3. Move the share.war file from the original Tomcat \webapps directory to the new Tomcat /webapps directory.
  4. (Optional) Configure the original Alfresco Tomcat deployment.
  5. Start the original Tomcat. You can use Alfresco supplied batch files.
  6. 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:
    1. Open the share-config-custom.xml file.
    2. Change any instance of the server and port to the correct name or IP address of the Alfresco server.
      http://yourserver:8080
    3. Save the file without the .sample extension.
  7. Start the new Share Tomcat. You can use copies of the Alfresco supplied batch files, or your own methods.
Did this page help you?

Click here to provide feedback.