By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,773 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,773 IT Pros & Developers. It's quick & easy.

Webservice integration with AS400 Websphere and .net

P: n/a
We are doing integration with an AS400 running websphere - webservices. When
the customer (AS400) calls the .Net webservice the customers java code
(every other request or so) throws the following exception. We are both
researching the possible cause of this. Any suggestions on the .Net side for
resolving this would be helpful.

John

java.io.IOException: Broken pipe.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.rmi.RemoteException.<init>(RemoteException.ja va:71)
at
com.ibm.ws.webservices.engine.WebServicesFault.<in it>(WebServicesFault.java:
252)
at
com.ibm.ws.webservices.engine.WebServicesFault.mak eFault(WebServicesFault.ja
va:156)
at
com.ibm.ws.webservices.engine.transport.http.HTTP1 1Sender.invoke(HTTP11Sende
r.java:320)
at
com.ibm.ws.webservices.engine.transport.http.HTTPS ender.invoke(HTTPSender.ja
va:87)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.jav
a:255)
at
com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection.java
:690)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:616)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:446)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.i nvoke(Stub.java:663)
at
com.competitive.MessagesToCommerceSoapStub.sendMes sageToCommerceSite(Message
sToCommerceSoapStub.java:124)
at
com.competitive.MessagesToCommerceSoapProxy.sendMe ssageToCommerceSite(Messag
esToCommerceSoapProxy.java:64)
at bdCommerceSite.PrintBack.sendPrintBack(PrintBack.j ava:121)
at bdCommerceSite.OrderSubmit.receiveOrderSubmit(Orde rSubmit.java:103)
at sun.reflect.GeneratedMethodAccessor1475535781.invo ke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.ibm.ws.webservices.engine.providers.java.RPCPr ovider.invokeMethod(RPCPro
vider.java:408)
at
com.ibm.ws.webservices.engine.providers.java.RPCPr ovider.processRequestRespo
nse(RPCProvider.java:300)
at
com.ibm.ws.webservices.engine.providers.java.RPCPr ovider.processMessage(RPCP
rovider.java:263)
at
com.ibm.ws.webservices.engine.providers.java.JavaP rovider.invoke(JavaProvide
r.java:289)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.handlers.WrappedHand ler.invoke(WrappedHandler.
java:61)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.jav
a:255)
at
com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServlet.doPost(WebSe
rvicesServlet.java:897)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
at
com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServletBase.service(
WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInsta nce.doService(StrictServle
tInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet._service(StrictLifecy
cleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.s ervice(StrictLifecycleServ
let.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet.service(StrictLifecyc
leServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.se rvice(ServletInstance.java
:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletRefere nceState.dispatch(ValidSer
vletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceRef erence.dispatch(ServletIns
tanceReference.java:40)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(
WebAppRequestDispatcher.java:1038)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppReques
tDispatcher.java:603)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequest
Dispatcher.java:204)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:125)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker
..java:286)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(C
achedInvocation.java:71)
at
com.ibm.ws.webcontainer.cache.invocation.Cacheable InvocationContext.invoke(C
acheableInvocationContext.java:116)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletReq
uestProcessor.java:186)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListene
r.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.jav
a:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:912)
Caused by: java.io.IOException: Broken pipe.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:136)
at java.io.BufferedOutputStream.flush(BufferedOutputS tream.java:124)
at com.ibm.ws.webservices.engine.SOAPPart.writeTo(SOA PPart.java:358)
at com.ibm.ws.webservices.engine.Message.writeTo(Mess age.java:516)
at
com.ibm.ws.webservices.engine.transport.http.HTTP1 1Sender.writeToSocket(HTTP
11Sender.java:789)
at
com.ibm.ws.webservices.engine.transport.http.HTTP1 1Sender.invoke(HTTP11Sende
r.java:188)
... 47 more
..
WebServicesFault
faultCode: Server.generalException
faultString: java.io.IOException: Broken pipe.
faultActor: null
faultDetail:

java.io.IOException: Broken pipe.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.rmi.RemoteException.<init>(RemoteException.ja va:71)
at
com.ibm.ws.webservices.engine.WebServicesFault.<in it>(WebServicesFault.java:
252)
at
com.ibm.ws.webservices.engine.WebServicesFault.mak eFault(WebServicesFault.ja
va:156)
at
com.ibm.ws.webservices.engine.transport.http.HTTP1 1Sender.invoke(HTTP11Sende
r.java:320)
at
com.ibm.ws.webservices.engine.transport.http.HTTPS ender.invoke(HTTPSender.ja
va:87)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.jav
a:255)
at
com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection.java
:690)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:616)
at
com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:446)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.i nvoke(Stub.java:663)
at
com.competitive.MessagesToCommerceSoapStub.sendMes sageToCommerceSite(Message
sToCommerceSoapStub.java:124)
at
com.competitive.MessagesToCommerceSoapProxy.sendMe ssageToCommerceSite(Messag
esToCommerceSoapProxy.java:64)
at bdCommerceSite.PrintBack.sendPrintBack(PrintBack.j ava:121)
at bdCommerceSite.OrderSubmit.receiveOrderSubmit(Orde rSubmit.java:103)
at sun.reflect.GeneratedMethodAccessor1475535781.invo ke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.ibm.ws.webservices.engine.providers.java.RPCPr ovider.invokeMethod(RPCPro
vider.java:408)
at
com.ibm.ws.webservices.engine.providers.java.RPCPr ovider.processRequestRespo
nse(RPCProvider.java:300)
at
com.ibm.ws.webservices.engine.providers.java.RPCPr ovider.processMessage(RPCP
rovider.java:263)
at
com.ibm.ws.webservices.engine.providers.java.JavaP rovider.invoke(JavaProvide
r.java:289)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.handlers.WrappedHand ler.invoke(WrappedHandler.
java:61)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper
..java:212)
at
com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.jav
a:255)
at
com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServlet.doPost(WebSe
rvicesServlet.java:897)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
at
com.ibm.ws.webservices.engine.transport.http.WebSe rvicesServletBase.service(
WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.ibm.ws.webcontainer.servlet.StrictServletInsta nce.doService(StrictServle
tInstance.java:110)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet._service(StrictLifecy
cleServlet.java:174)
at
com.ibm.ws.webcontainer.servlet.IdleServletState.s ervice(StrictLifecycleServ
let.java:313)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet.service(StrictLifecyc
leServlet.java:116)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.se rvice(ServletInstance.java
:283)
at
com.ibm.ws.webcontainer.servlet.ValidServletRefere nceState.dispatch(ValidSer
vletReferenceState.java:42)
at
com.ibm.ws.webcontainer.servlet.ServletInstanceRef erence.dispatch(ServletIns
tanceReference.java:40)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(
WebAppRequestDispatcher.java:1038)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppReques
tDispatcher.java:603)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequest
Dispatcher.java:204)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:125)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker
..java:286)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(C
achedInvocation.java:71)
at
com.ibm.ws.webcontainer.cache.invocation.Cacheable InvocationContext.invoke(C
acheableInvocationContext.java:116)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletReq
uestProcessor.java:186)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListene
r.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.jav
a:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:912)
Caused by: java.io.IOException: Broken pipe.
at java.lang.Throwable.<init>(Throwable.java:195)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:136)
at java.io.BufferedOutputStream.flush(BufferedOutputS tream.java:124)
at com.ibm.ws.webservices.engine.SOAPPart.writeTo(SOA PPart.java:358)
at com.ibm.ws.webservices.engine.Message.writeTo(Mess age.java:516)
at
com.ibm.ws.webservices.engine.transport.http.HTTP1 1Sender.writeToSocket(HTTP
11Sender.java:789)
at
com.ibm.ws.webservices.engine.transport.http.HTTP1 1Sender.invoke(HTTP11Sende
r.java:188)
... 47 more
Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.