Newbie to AEM : Connection refused when invoking a service
I am trying to run the example from : https://helpx.adobe.com/livecycle/help/aem/aem-livecycle-connector.html#Invoking%20via%20Service%20References%20from%20OSGi%20Service%20Registry
Here's the package download link on that page: https://helpx.adobe.com/content/help/en/livecycle/help/aem/aem-livecycle-connector/_jcr_content/main-pars/download/file.res/aem-lc-connector-sample-pkg-1.0.0.zip
Its a simple form that converts a word doc into pdf but i am not able to run it.
I tried to trace the issue in the log and disabled few Validation components to get around HTTP 403.
But now it errors out with and am stuck. Please advise. Please find the stacktrace from errors.log
12.08.2015 11:06:02.198 *INFO* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused 12.08.2015 11:06:02.198 *INFO* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Retrying request 12.08.2015 11:06:02.198 *INFO* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused 12.08.2015 11:06:02.198 *INFO* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Retrying request 12.08.2015 11:06:02.198 *INFO* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector I/O exception (java.net.ConnectException) caught when processing request: Connection refused 12.08.2015 11:06:02.198 *INFO* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] org.apache.commons.httpclient.HttpMethodDirector Retrying request 12.08.2015 11:06:02.199 *ERROR* [0:0:0:0:0:0:0:1 [1439395562195] POST /content/livecycle/connector/samples/pdfg.html HTTP/1.1] apps.livecycle.connector.samples.pdfg.POST$jsp Error occured while converting document to PDF com.adobe.idp.dsc.DSCRuntimeException: java.net.ConnectException: Connection refused at com.adobe.livecycle.dsc.clientsdk.internal.soap.AbstractHttpInvocationRequestExecutor.executeRequest(AbstractHttpInvocationRequestExecutor.java:73) at com.adobe.livecycle.dsc.clientsdk.internal.soap.CommonsClientMessageDispatcherFactory$CommonsClientMessageDispatcher.doSend(CommonsClientMessageDispatcherFactory.java:121) at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:69) at com.adobe.livecycle.dsc.clientsdk.internal.MessageDispatcherProxy$InvocationInterceptorChainImpl.doIntercept(MessageDispatcherProxy.java:64) at com.adobe.livecycle.dsc.clientsdk.internal.ClassLoaderInterceptor.intercept(ClassLoaderInterceptor.java:34) at com.adobe.livecycle.dsc.clientsdk.internal.MessageDispatcherProxy$InvocationInterceptorChainImpl.doIntercept(MessageDispatcherProxy.java:60) at com.adobe.livecycle.dsc.clientsdk.internal.security.SecurityInterceptor.intercept(SecurityInterceptor.java:128) at com.adobe.livecycle.dsc.clientsdk.internal.MessageDispatcherProxy$InvocationInterceptorChainImpl.doIntercept(MessageDispatcherProxy.java:60) at com.adobe.livecycle.dsc.clientsdk.internal.RequestProgressInterceptor.intercept(RequestProgressInterceptor.java:41) at com.adobe.livecycle.dsc.clientsdk.internal.MessageDispatcherProxy$InvocationInterceptorChainImpl.doIntercept(MessageDispatcherProxy.java:60) at com.adobe.livecycle.dsc.clientsdk.internal.MessageDispatcherProxy.send(MessageDispatcherProxy.java:41) at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:213) at com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.createPDF2(GeneratePdfServiceClient.java:620) at org.apache.jsp.apps.livecycle.connector.samples.pdfg.POST_jsp$1.run(POST_jsp.java:43)