<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change Alfresco Repository Port for Alfresco Share in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292877#M246007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is an old post and OP has probably moved on, but for completeness sake:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a default share-config-custom found in %TOMCAT_HOME%\shared\classes\alfresco\web-extension. This file overrides any share-config-custom.xml in the exploded share webapp folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this default share-config, you will find all the configurations for repository endpoint URLs. Open it, and change all instances of localhost:8080 to localhost:9090. Now your share should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Afterwards, you may want to merge your changes in the exploded share-config-custom into the share-config-custom available on the shared classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this doesn't work, ensure that the 'tomcat/shared/classes/' folder is on the classpath by ensuring in tomcat/conf/catalina.properties that the value for shared.loader looks like &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2014 07:28:40 GMT</pubDate>
    <dc:creator>mtielemans</dc:creator>
    <dc:date>2014-08-15T07:28:40Z</dc:date>
    <item>
      <title>Change Alfresco Repository Port for Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292875#M246005</link>
      <description>Hello All,I have created share-config-custom.xml into which I am customization of share and I am deploying it to webapps\share\WEB-INF\classes\alfresco\web-extensionI have changed my server port to 9090 and my alfresco repo and share are on same instance.I have added alfresco repo port configuration</description>
      <pubDate>Fri, 28 Jun 2013 07:36:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292875#M246005</guid>
      <dc:creator>pritesh_shah17</dc:creator>
      <dc:date>2013-06-28T07:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change Alfresco Repository Port for Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292876#M246006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco is no longer running at the default port 8080 but share is still trying to connect to port 8080 to talk to alfresco.&amp;nbsp; A simple fix would be to redirect (with iptables, if you're on linux, if windows or something else, you'll need to figure out how to do this for your platform) all connections to port 8080 to port 9090.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, that won't work if you are trying to run two alfrescos on the same machine.&amp;nbsp; I did that, and one was on 8080 and the other was on 9090.&amp;nbsp; If this is what you're doing, you'll want to go to tomcat/shared/classes/alfresco/web-extension (for the tomcat that's running on 9090).&amp;nbsp; edit share-config-custom.xml (or copy share-config-custom.xml.sample to share-config-custom.xml and edit share-config-custom.xml).&amp;nbsp; Once you're editing that file, replace all 8080 with 9090.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're also running share on one machine and alfresco on another (to reduce load on the alfresco machine, for instance) then you'd also replace localhost with whatever the alfresco machine's hostname or IP address is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gerald&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 08:47:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292876#M246006</guid>
      <dc:creator>bopolissimus</dc:creator>
      <dc:date>2013-06-28T08:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change Alfresco Repository Port for Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292877#M246007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is an old post and OP has probably moved on, but for completeness sake:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a default share-config-custom found in %TOMCAT_HOME%\shared\classes\alfresco\web-extension. This file overrides any share-config-custom.xml in the exploded share webapp folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this default share-config, you will find all the configurations for repository endpoint URLs. Open it, and change all instances of localhost:8080 to localhost:9090. Now your share should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Afterwards, you may want to merge your changes in the exploded share-config-custom into the share-config-custom available on the shared classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this doesn't work, ensure that the 'tomcat/shared/classes/' folder is on the classpath by ensuring in tomcat/conf/catalina.properties that the value for shared.loader looks like &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 07:28:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-alfresco-repository-port-for-alfresco-share/m-p/292877#M246007</guid>
      <dc:creator>mtielemans</dc:creator>
      <dc:date>2014-08-15T07:28:40Z</dc:date>
    </item>
  </channel>
</rss>

