09-13-2010 05:10 PM
<alfresco-config>
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<identity>user</identity>
</endpoint>
<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
<connector-id>http</connector-id>
<endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
</remote>
</config>
</alfresco-config>
- Edited the sample above to change the "localhost:8080" part of the URLs to match your local setup.11-01-2010 10:30 AM
What happens to the tomcat's port number in server.xml file under the conf directory, because I was thinking that, that's the port where the application is running from.Yes, that's exactly where you change it. But these steps details how you then configure Share to tell it where the repository is; it could be on a completely different IP address and port so we can't assume anything!
11-01-2010 10:35 AM
07-09-2012 02:12 AM
07-30-2012 02:13 AM
11-01-2012 09:21 PM
alfresco.context=alfresco
alfresco.host=${localname}
alfresco.port=8080
alfresco.protocol=http
share.context=share
share.host=${localname}
share.port=8080
share.protocol=http
03-12-2013 05:30 AM
03-12-2013 06:18 AM
iptables -t nat -A PREROUTING -p tcp –dport 80 -j REDIRECT –to-port 8080
07-17-2013 12:28 PM
10-04-2013 02:51 AM
05-29-2018 09:52 AM
What helped:
grep -R "port number here" --include="*.xml" "pattern" /opt/alfresco-community/
8080 -> 9191
/opt/alfresco-community/tomcat/webapps/alfresco/META-INF/maven/org.alfresco/alfresco-platform/pom.xml: <solr.port>8080</solr.port>
/opt/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/share-documentlibrary-config.xml: <repository-url>http://localhost:8080/alfresco</repository-url>
/opt/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/share-cmis-config.xml: <parameter key="org.apache.chemistry.opencmis.binding.atompub.url" value="http://localhost:8080/alfresco/cmisatom"/>
/opt/alfresco-community/tomcat/conf/server.xml: Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
/opt/alfresco-community/tomcat/conf/server.xml: <Connector port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1"
/opt/alfresco-community/tomcat/conf/server.xml: port="8080" URIEncoding="UTF-8" protocol="HTTP/1.1"
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: http://localhost:8080/alfresco/s/enterprise/admin/admin-repositoryinfo
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <share-url repositoryId="622f9533-2a1e-48fe-af4e-ee9e41667ea4">http://new-york-office:8080/share/</share-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <repository-url>http://localhost:8080/alfresco</repository-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <activiti-admin-url>http://localhost:8080/alfresco/activiti-admin</activiti-admin-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/api</endpoint-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: NOTE: If alfresco server location is not localhost:8080 then also combine changes from the
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/wcs</endpoint-url>
/opt/alfresco-community/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml: <endpoint-url>http://localhost:8080/alfresco/api</endpoint-url>
+ alfresco-global.properties
8005 -> 8006
/opt/alfresco-community/tomcat/conf/server.xml:<Server port="8005" shutdown="SHUTDOWN">
8009 -> 8010
/opt/alfresco-community/tomcat/conf/server.xml: <!-- Define an AJP 1.3 Connector on port 8009 -->
/opt/alfresco-community/tomcat/conf/server.xml: <Connector port="8009" URIEncoding="UTF-8" protocol="AJP/1.3" redirectPort="8443" />
8443 -> 8444
/opt/alfresco-community/tomcat/conf/server.xml: redirectPort="8443" maxHttpHeaderSize="32768" />
/opt/alfresco-community/tomcat/conf/server.xml: redirectPort="8443" maxHttpHeaderSize="32768" />
/opt/alfresco-community/tomcat/conf/server.xml: <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
/opt/alfresco-community/tomcat/conf/server.xml: <Connector port="8443" URIEncoding="UTF-8" protocol="HTTP/1.1"
/opt/alfresco-community/tomcat/conf/server.xml: <Connector port="8010" URIEncoding="UTF-8" protocol="AJP/1.3" redirectPort="8443" />
/opt/alfresco-community/tomcat/conf/server.xml: <Connector port="8443" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"+ alfresco-global.properties
Kind regards,
Aleksey Bykov
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.