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 ?
Solved! Go to Solution.
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 -
Keep in mind that the public API is a different endpoint to change. In total you need to the following endpoints:
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>
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 -
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.