java.io.IOException: Closed Connection pub.io:streamToString webmwthodsn Local

Hi All,

Can someone please help.
I am getting below error while converting stream to string using pub.io:streamToString in webMethods 10.11 local setup.

error: java.io.IOException: Closed Connection

com.wm.app.b2b.server.ServiceException: java.io.IOException: Closed Connection
at pub.CommonUtils.throwAsServiceException(CommonUtils.java:173)
at pub.io.streamToString(io.java:624)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:404)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:759)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)

the same service works fine in higher environment.

Thanks and Regards
Tahaseen T S

Hello @tahaseenshaik999 ,

Can you check whether you are on latest fix level on 10.11 ?

Regards,
Bharath

In addition to Bharath’s question, please check the following

  • What is the difference between the environment with error and the higher environment where it works?
  • What is the inputstream that is passed to the pub. io:streamToString ?
  • Where is the inputstream coming from? Does it work if the same stream is passed in the other environment?

-NP

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.