02-28-2017 06:15 AM
Hello expert!
In my development environment I have changed the next tag in share-config-custom.xml file ,then I can login share Successfully,but I get the error: Alfresco is running without Share Services. See your System Administrator for more details. the logs like this:
2017-02-28 19:07:45,200 INFO [webscripts.connector.RemoteClient] [http-bio-8081-exec-10] Exception calling (GET) http://localhost:8080/alfresco/api/-default-/private/alfresco/versions/1/modulepackages/alfresco-sha...
2017-02-28 19:07:45,206 INFO [webscripts.connector.RemoteClient] [http-bio-8081-exec-10] Error status 503 Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
but I have changed the share-config-custom.xml,the endpoint-url is the right url.what are the other configuration which we have to take care of ?
03-03-2017 02:06 PM
For the warning "Alfresco is running without share services ... " you need to apply alfresco-share-services amp to alfresco.war. This link from Alfresco Community is very helpful -
02-28-2017 10:35 AM
Keep in mind that the public API is a different endpoint to change. In total you need to the following endpoints:
02-28-2017 09:19 PM
Thank you for your reply! how to set the endpoint for alfresco-api?
my share-config-custom.xml in the share.war under web-extension dir like this:
<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://my domain:8004/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://my domain:8004/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://my domain:8004/alfresco//s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
<endpoint>
<id>activiti-admin</id>
<name>Activiti Admin UI - user access</name>
<description>Access to Activiti Admin UI, that requires user authentication</description>
<connector-id>activiti-admin-connector</connector-id>
<endpoint-url>http://my domain:8004/alfresco//activiti-admin</endpoint-url>
<identity>user</identity>
</endpoint>
</remote>
03-03-2017 02:06 PM
For the warning "Alfresco is running without share services ... " you need to apply alfresco-share-services amp to alfresco.war. This link from Alfresco Community is very helpful -
Explore our Alfresco products with the links below. Use labels to filter content by product module.