Install Shared Tomcat

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



InstallationTomcat
In some cases, your server is already running Apache Tomcat, and you want to install Alfresco along with other applications. 

Here are the steps you need to go through to deploy to a shared Tomcat environment:


  1. Copy the alfresco.war file to tomcat/webapps
  2. Copy the contents of the <Alfresco_Root>/tomcat/shared/classes/alfresco folder to the equivalent location on your shared tomcat server.
  3. Edit tomcat/shared/classes/alfresco/extension/custom-repository.properties and customize the dir.root property to point to where you want your Alfresco server to store its content. Also edit any relevant database properties including uncommenting the correct JDBC driver string
  4.   Edit tomcat/shared/classes/alfresco/extension/custom-hibernate-dialect.properties to reflect your preferred database.
  5.   Edit your tomcat startup script to modify the heap allocation to at least 1024 MB and a MaxPermSize of 128 MB.
     export JAVA_OPTS='-Xms128m -Xmx1024m -XX:MaxPermSize=128m -server '

  6. Either create a policy file in tomcat/conf/policy.d or disable the tomcat security manager by editing /etc/default/tomcat.

Refer also to Install Tomcat6

Attachments

    Outcomes