This content has been marked as final. Show 1 reply
In >18.104.22.168 version you have a class call AdfConnectionFacade that provide you testing functionality:
Off reference about AdfConnectionFacade: http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/c23_ridc.htm#CHDIADHF
It includes how to get an IdcClient and test functionality.
If you're in a previous version I recommend you don't connect using your code because is dependent of an IP.
For testing connectivity you can use next approach:
String connectionName = DocLibADFConfigUtils.getPrimaryConnectionName(); IdcClient idcClient = StellentUtils.getIdcClient(connectionName);
- Use org.apache.commons.httpclient classes to do a Network connectivity test.
- If connectivity with UCM is OK then use IdcService "PING_SERVER" to check UCM status (if it's able or is having problems).
Also you can try get IdcClient directly. It should throw an exception if can't connect to UCM that you can use as "Not connectivity".
I hope this help you.