change default 8080 port for alfresco or zenoss?
March 24th, 2009 by amatesiRecently I was evaluating the final Alfresco Labs 3 document management nifty program, inside my little, trusty (and quite overloaded…), Ubuntu home server. I experienced a lot of problems related to the 8080 port, because Zenoss defaults to that and Alfresco wants that too.
I searched for some info on how to change alfresco default 8080 apache tomcat port and here’s what I found (from alfresco wiki page):
Edit those files and change 8080 to something else (like for example 8099):
- $ALF_HOME/tomcat/conf/server.xml
- $ALF_HOME/tomcat/webapps/share/WEB-INF/urlrewrite.xml
- $ALF_HOME/tomcat/webapps/share/WEB-INF/classes/alfresco/pagerenderer-config.xml
- $ALF_HOME/tomcat/webapps/share/WEB-INF/classes/alfresco/webscript-framework-config-test.xml
- $ALF_HOME/tomcat/webapps/share/WEB-INF/classes/alfresco/webscript-framework-config.xml
- $ALF_HOME/tomcat/webapps/share/WEB-INF/classes/alfresco/webscripts/org/alfresco/indexall.get.mediawiki.ftl
- $ALF_HOME/tomcat/shared/classes/alfresco/extension/custom-repository.properties and add an entry to overide the default: repo.remote.endpoint.url=http://localhost:8080/alfresco/service
They say the following about this mess:"It is planned for future versions to allow for central configuration of the port. It is not fixed yet, when this will be included."
I tried the modifications, but essentially I screwed my alfresco setup (more on this later maybe), so I removed and purged my alfresco.
I then decided to search for some info on how to change the default Zenoss 8080 port, and so I found that editing /usr/local/zenoss/zenoss/etc/zope.conf
and uncommenting line 840 with:
port-base 1000
- Avoid changing Alfresco’s port mess.
- Proceed with the Alfresco installation process.
Hope that helps!
Posted in GNU Linux, System Administrator, Uncategorized | 1 Comment »
