Deferred Document Submission: unknown protocol: null

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Deferred Document Submission: unknown protocol: null

Israel T
I have a recently updated a CONNECT (4.4.1) instance, that was using the previous XDR endpoint: http://localhost:7080/CONNECTGateway/EntityService/EntityDocSubmissionDeferredRequestUnsecured

From this post Connect 4.2 with Direct deployed but cant get to XDR wsdl, it looks like the new endpoint to hit would be:

http://localhost:7080/Gateway/DocumentSubmission/1_1/EntityService/EntityDocSubmissionDeferredRequestUnsecured

When I submit to that new endpoint, I am getting the following stack trace back:

[#|2016-09-27T22:06:52.362+0000|WARNING|glassfish3.1.2|org.apache.cxf.phase.PhaseInterceptorChain|_ThreadID=116;_ThreadName=Thread-2;|Interceptor for {urn:ihe:iti:xdr:2007}XDRDeferredRequest20PortTypeService#{urn:ihe:iti:xdr:2007}ProvideAndRegisterDocumentSet-bDeferredRequest has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
       	at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:48)
       	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
       	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
       	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
       	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
       	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
       	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
       	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:133)
       	at com.sun.proxy.$Proxy298.provideAndRegisterDocumentSetBDeferredRequest(Unknown Source)
       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       	at java.lang.reflect.Method.invoke(Method.java:606)
       	at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokeTheMethod(WebServiceProxyHelper.java:273)
       	at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokePort(WebServiceProxyHelper.java:355)
       	at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokePortWithRetry(WebServiceProxyHelper.java:402)
       	at gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper.invokePort(WebServiceProxyHelper.java:327)
       	at gov.hhs.fha.nhinc.messaging.client.CONNECTBaseClient.invokePort(CONNECTBaseClient.java:54)
       	at gov.hhs.fha.nhinc.docsubmission.nhin.deferred.request.proxy20.NhinDocSubmissionDeferredRequestProxyWebServiceSecuredImpl.provideAndRegisterDocumentSetBRequest20(NhinDocSubmissionDeferredRequestProxyWebServiceSecuredImpl.java:104)
       	at gov.hhs.fha.nhinc.docsubmission.nhin.deferred.request.proxy20.NhinDocSubmissionDeferredRequestProxyWebServiceSecuredImpl$$FastClassByCGLIB$$9f76a9e8.invoke(<generated>)
       	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
       	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
       	at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
       	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
       	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
       	at gov.hhs.fha.nhinc.docsubmission.nhin.deferred.request.proxy20.NhinDocSubmissionDeferredRequestProxyWebServiceSecuredImpl$$EnhancerByCGLIB$$14466255.provideAndRegisterDocumentSetBRequest20(<generated>)
       	at gov.hhs.fha.nhinc.docsubmission.entity.deferred.request.OutboundDocSubmissionDeferredRequestStrategyImpl_g1.execute(OutboundDocSubmissionDeferredRequestStrategyImpl_g1.java:85)
       	at gov.hhs.fha.nhinc.docsubmission.entity.deferred.request.OutboundDocSubmissionDeferredRequestStrategyImpl_g1.execute(OutboundDocSubmissionDeferredRequestStrategyImpl_g1.java:67)
       	at gov.hhs.fha.nhinc.orchestration.OrchestrationContext.execute(OrchestrationContext.java:40)
       	at gov.hhs.fha.nhinc.docsubmission.entity.deferred.request.OutboundDocSubmissionDeferredRequestDelegate.process(OutboundDocSubmissionDeferredRequestDelegate.java:71)
       	at gov.hhs.fha.nhinc.docsubmission.outbound.deferred.request.StandardOutboundDocSubmissionDeferredRequest.sendToNhinProxy(StandardOutboundDocSubmissionDeferredRequest.java:147)
       	at gov.hhs.fha.nhinc.docsubmission.outbound.deferred.request.StandardOutboundDocSubmissionDeferredRequest.getResponseFromTarget(StandardOutboundDocSubmissionDeferredRequest.java:125)
       	at gov.hhs.fha.nhinc.docsubmission.outbound.deferred.request.StandardOutboundDocSubmissionDeferredRequest.provideAndRegisterDocumentSetBAsyncRequest(StandardOutboundDocSubmissionDeferredRequest.java:77)
       	at gov.hhs.fha.nhinc.docsubmission.outbound.deferred.request.StandardOutboundDocSubmissionDeferredRequest$$FastClassByCGLIB$$6de0a047.invoke(<generated>)
       	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
       	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
       	at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
       	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
       	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
       	at gov.hhs.fha.nhinc.docsubmission.outbound.deferred.request.StandardOutboundDocSubmissionDeferredRequest$$EnhancerByCGLIB$$1e82e6fa.provideAndRegisterDocumentSetBAsyncRequest(<generated>)
       	at gov.hhs.fha.nhinc.docsubmission._11.entity.deferred.request.EntityDocSubmissionDeferredRequestImpl.provideAndRegisterDocumentSetBAsyncRequest(EntityDocSubmissionDeferredRequestImpl.java:64)
       	at gov.hhs.fha.nhinc.docsubmission._11.entity.deferred.request.EntityDocSubmissionDeferredRequestUnsecured.provideAndRegisterDocumentSetBAsyncRequest(EntityDocSubmissionDeferredRequestUnsecured.java:56)
       	at gov.hhs.fha.nhinc.docsubmission._11.entity.deferred.request.EntityDocSubmissionDeferredRequestUnsecured$$FastClassByCGLIB$$12a37775.invoke(<generated>)
       	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
       	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
       	at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
       	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
       	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
       	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
       	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
       	at gov.hhs.fha.nhinc.docsubmission._11.entity.deferred.request.EntityDocSubmissionDeferredRequestUnsecured$$EnhancerByCGLIB$$9ce26414.provideAndRegisterDocumentSetBAsyncRequest(<generated>)
       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       	at java.lang.reflect.Method.invoke(Method.java:606)
       	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
       	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
       	at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)
       	at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)
       	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
       	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
       	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
       	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
       	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
       	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
       	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
       	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
       	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
       	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:218)
       	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:198)
       	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
       	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158)
       	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:243)
       	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:163)
       	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
       	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:219)
       	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
       	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
       	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
       	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
       	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
       	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
       	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
       	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
       	at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
       	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
       	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
       	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
       	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
       	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
       	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
       	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
       	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
       	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
       	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
       	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
       	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
       	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
       	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
       	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.MalformedURLException: unknown protocol: null
       	at org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduit.setupConnection(AsyncHTTPConduit.java:133)
       	at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:467)
       	at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
       	... 112 more
|#]

As far as I can tell my internalConnectionInfo file should be set up properly as this has appeared to be the culprit in past instances, although hitting a different endpoint.

stack_trace_1.txt
internalConnectionInfo.xml

It looks like it is getting to the point of looking for the appropriate service to map to and I have a feeling that it has something to do with my internalConnectionInfo file, but I don't really know where to look as the XDR endpoints aren't really referenced too often other than the sample entries in the source code tests.

These are the few log entries that are printed out before the error above:

[#|2016-09-27T22:06:52.360+0000|INFO|glassfish3.1.2|gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper|_ThreadID=116;_ThreadName=Thread-2;|Target Sys properties Home Comm ID: urn:oid:2.16.840.1.113883.13.34.110.2|#]

[#|2016-09-27T22:06:52.360+0000|INFO|glassfish3.1.2|gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper|_ThreadID=116;_ThreadName=Thread-2;|Target Sys properties Home Comm Description: CMS Validation - esMD CONNECT Gateway Home Community Identifier|#]

[#|2016-09-27T22:06:52.360+0000|INFO|glassfish3.1.2|gov.hhs.fha.nhinc.webserviceproxy.WebServiceProxyHelper|_ThreadID=116;_ThreadName=Thread-2;|Target Sys properties Home Comm Name: CMS Validation - esMD CONNECT Gateway Home Community ID|#]

Let me know if there is any other information that I could provide or if there is a concrete list of services and their url endpoints that I might be looking at wrong.

Thanks in advance!
Reply | Threaded
Open this post in threaded view
|

Re: Deferred Document Submission: unknown protocol: null

Israel T
[Resolved]

Someone from my team was able to find the answer to this here: Interoperability Between 3.1 and 3.3 - Document Submission Deferred Request and Response.

The serviceKey for this request used to be xdrrequest and it is now DocSubmissionDeferredReq.

Even when looking at the source code and a clean Internal Connection Info file, it was not apparent what the appropriate serviceKey should be after upgrading our CONNECT instance.

I believe that I saw a few lists of services in Word Document form on the Confluence wiki, so hopefully those can match what is in the internalConnectionInfo file or at least have a more proper list of the services and what their serviceKeys on the wiki.

Thanks.