Blogs

Change Alfresco ports in Alfresco 5

Sometimes we need to change the main ports of an Alfresco web application (i.e 8080 --> 9080), for example for running another Tomcat based app in your machine. This is a tip for Alfresco 5.x
 
  • Change 8080, 8443, 8009 and 8005 connector ports in $ALF_HOME/tomcat/conf/server.xml
  • Change JPDA 8000 in  $ALF_HOME/ tomcat/bin/catalina.sh if used
  • Change 8080, 8443 ports in $ALF_HOME/tomcat/shared/classes/alfresco-global.properties
 
  alfresco.port=8080
  share.port=8080
  solr.port=8080
  solr.port.ssl=8443
 
  • Change 8080 ports in $ALF_HOME/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml urls (at least 5 urls by default)
  • Change 8080 and 8443 in: 
 
  alfresco.port=8080
  alfresco.port.ssl=8443
 
$ALF_HOME/solr4/workspace-SpacesStore/conf/solrcore.properties
$ALF_HOME/solr4/archive-SpacesStore/conf/solrcore.properties
 
In Alfresco 4.x (with SOLR 1.4) you need :
 
$ALF_HOME/alf_data/solr/archive-SpacesStore/conf/solrcore.properties
 
$ALF_HOME/alf_data/solr/workspace-SpacesStore/conf/solrcore.properties 
 
If for any reason you have to run two Alfresco repositories in the same machine, you may have other port conflicts relating RMI (50500), FTP (2121), CIFS (1445,1137-1139), IMAP (1443) , SMTP (25), Hazelcast (5701) or Libreoffice (8100). You may need to check this:
 

Más entradas de blog

Java AutoCloseable interface

He estado haciendo unas prubas mínimas con las interfaz autocloseable introducida en java 7...

My top Alfresco Addons

Recently we upgraded to Alfresco 201602GA (5.1.e CE) with all their new capabilities such as...

Añadir comentarios