cancel
Showing results for 
Search instead for 
Did you mean: 

Cant log into Share, changed 8080 to 8888 in ALL files

nicolasraoul
Star Contributor
Star Contributor
I installed Alfresco 3.3 on port 8888, I can log into /alfresco but not /share.

It is a regular problem, but I think I did everything needed:
- I changed 8080 to 8888 in EVERY .xml and .properties file in the whole Alfresco directory.
- I uncommented the first 3 endpoints in webscript-framework-config-custom.xml : alfresco-noauth, alfresco, alfresco-feed
- I uncommented alfresco.port and share.port in tomcat/shared/classes/alfresco-global.properties
- I created tomcat/shared/classes/alfresco/extension/custom-repository.properties containing repo.remote.endpoint.url=http://localhost:8888/alfresco/service

I really changed (manually) every occurrence of 8080, which is proved by the empty result of these 2 commands at Alfresco's root:
find . -name "*.xml" | xargs grep 8080
find . -name "*.properties" | xargs grep 8080


No special authentication, just out-of-the-box Alfresco.
Did I forget something?
I think I have read all of the numerous threads on the same topic.
Should be a FAQ, but the wiki does not help for recent versions of Alfresco.
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
- I uncommented the first 3 endpoints in webscript-framework-config-custom.xml : alfresco-noauth, alfresco, alfresco-feed
This is the issue - and it's a bug that we still ship with that file.

You need to make the changes inside share-config-custom.xml instead.

Thanks,
Mike

nicolasraoul
Star Contributor
Star Contributor
Thanks for your help MikeH.
I uncommented the last paragraph in tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml :

<config evaluator="string-compare" condition="Remote">
      <remote>
         <connector>
            <id>alfrescoCookie</id>
            <name>Alfresco Connector</name>
            <description>Connects to an Alfresco instance using cookie-based authentication</description>
            <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class>
         </connector>

         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfrescoCookie</connector-id>
            <endpoint-url>http://localhost:8888/alfresco/wcs</endpoint-url>
            <identity>user</identity>
            <external-auth>true</external-auth>
         </endpoint>
      </remote>
   </config>
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
But I still get the same error: "Failed to Login. The remote server may be unavailable or your authentication details have not been recognized."

I promise to update the wiki if I find a solution, but I have wasted enough time so I gave up and just use 8080 for now  Smiley Sad