View Single Post
  #7  
Old 10-19-2016, 07:57 AM
dbrund dbrund is offline
Member
 
Join Date: Oct 2016
Posts: 5
dbrund has 10 reputation points
Default

Yes. I have tried the following:

contextStore = ContextStoreServiceFactory.getContextStoreWebServi ce("135.169.17.45");
contextStore = ContextStoreServiceFactory.getContextStoreWebServi ce("breeze1-105.collaboratory.avaya.com");
contextStore = ContextStoreServiceFactory.getContextStoreWebServi ce("http://135.169.17.45/services/CSRest/cs/contexts/");
contextStore = ContextStoreServiceFactory.getContextStoreWebServi ce("127.0.0.1");

The code is in an init() method in the myCallListener class created by the Avaya archeytype. The code currently looks like:

Code:
	public void init() {
		logger.info("Entered call listener...");
        try {
    		logger.info("setting contextstore service...");
			contextStore = ContextStoreServiceFactory.getContextStoreWebService("135.169.17.45");
			logger.info("context store service set...");
		} 
        catch (Exception e) {
        	logger.info("caught exception: " + e.getMessage());
        }
        finally {
        	logger.info("In finally block");
        	if (contextStore == null){
        		logger.info("contextStore is null");
        	}
        	else {
        		logger.info("contextStore is not null");
        		logger.info(contextStore.toString());
        	}
        }
When I deploy the service and look at the log file, the statements in red are shown.
Reply With Quote