I checked all the setup in this thread but could not figure out what parameter it is talking about and if that’s the reason caused error “no message body writer has been found’, does anybody have any clue?
Sep 06, 2018 2:38:22 PM com.infor.cloverleaf.gjdws.WSRawClient processMessageFromCloverleaf
SEVERE: Caught retryable exception trying to process message from Cloverleaf
com.lawson.cloverleaf.driver.RetryException: webClient got exception calling
at com.infor.cloverleaf.gjdws.WSRawClient.processMessageFromCloverleaf(WSRawClient.java:229)
at com.lawson.cloverleaf.driver.FromCloverleafLink.doMsg(FromCloverleafLink.java:46)
Caused by: javax.ws.rs.ProcessingException: org.apache.cxf.interceptor.Fault: No message body writer has been found for class java.io.ByteArrayInputStream, ContentType: application/x-www-form-urlencoded
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1149)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1094)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:894)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:865)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:428)
at com.infor.cloverleaf.gjdws.WSRawClient.processMessageFromCloverleaf(WSRawClient.java:223)
… 1 more
Caused by: org.apache.cxf.interceptor.Fault: No message body writer has been found for class java.io.ByteArrayInputStream, ContentType: application/x-www-form-urlencoded
at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.doWriteBody(WebClient.java:1222)
at org.apache.cxf.jaxrs.client.AbstractClient$AbstractBodyWriter.handleMessage(AbstractClient.java:1091)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:649)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1093)
… 5 more
Caused by: javax.ws.rs.ProcessingException: No message body writer has been found for class java.io.ByteArrayInputStream, ContentType: application/x-www-form-urlencoded
at org.apache.cxf.jaxrs.client.AbstractClient.reportMessageHandlerProblem(AbstractClient.java:780)
at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:491)
at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.doWriteBody(WebClient.java:1217)
… 9 more
Caused by: java.net.SocketException: A system call received a parameter that is not valid.
at java.net.SocketInputStream.socketRead(SocketInputStream.java:127)
at java.net.SocketInputStream.read(SocketInputStream.java:181)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at com.ibm.jsse2.a.a(a.java:26)
at com.ibm.jsse2.a.a(a.java:118)
at com.ibm.jsse2.as.a(as.java:129)
at com.ibm.jsse2.as.i(as.java:387)
at com.ibm.jsse2.as.a(as.java:615)
at com.ibm.jsse2.as.startHandshake(as.java:91)
at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:154)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:9)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1297)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1272)
at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:95)
at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:236)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1320)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1280)
at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:267)
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47)
at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
at org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:80)
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:197)
at org.apache.cxf.helpers.IOUtils.copyAndCloseInput(IOUtils.java:156)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.copyInputToOutput(BinaryDataProvider.java:194)
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:154)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:477)
… 10 more
[java:wrte:ERR /0:pdc_https_o_0:09/06/2018 14:38:23] Call to “doMsg” returned error string “caught exception trying to processMessageFromCloverleaf: webClient got exception calling