cancel
Showing results for 
Search instead for 
Did you mean: 

See if Alfresco Server is available

kameljahloug
Champ in-the-making
Champ in-the-making
I am working with Alfresco and sometimes the server is down for low space or other problem , the thing is with my serverURL i want to check if he is available (Alfresco Server) i thought to make a ping but the adresse is to complexe for a simple ping ex : http://127.0.0.1:8084/alfresco/api/-default-/public/cmis/versions/1.0/atom
I am working in a J2EE Project
1 ACCEPTED ANSWER

gawadesk
Star Contributor
Star Contributor
Hi,

You can write a simple webscript (alive webscript) with authentication element as 'none' and can call this webscript using shell script. By making authentication element as none you make sure that no authentication needed to call webscript and can call webscript with guest user.

Thanks,
Krishna

View answer in original post

3 REPLIES 3

gawadesk
Star Contributor
Star Contributor
Hi,

You can write a simple webscript (alive webscript) with authentication element as 'none' and can call this webscript using shell script. By making authentication element as none you make sure that no authentication needed to call webscript and can call webscript with guest user.

Thanks,
Krishna

we have a monitoring tool in place that is doing a GET to http://server_ipSmiley Tongueort/alfresco/service/index without providing a user

=> if it returns 401 everything is fine

anything other indicates an issue with the application. we have seen that alfresco can freeze in a way, that webscript urls are callable and return http status 200 but the application is dead and does not respond anymore.

angelborroy
Community Manager Community Manager
Community Manager

We are using internal "touch" Alfresco URL http:/localhost:8080/alfresco/s/touch, ​which was used internally for clustering. An HTTP 200 means that everything is fine.

Hyland Developer Evangelist