****************************************************************************
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at org.postgresql.PG_Stream.flush(PG_Stream.java:352)
at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:159)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:70)
at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Con
nection.java:505)
at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Stat
ement.java:320)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:48)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc
1Statement.java:153)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc
1Statement.java:141)
at it.codegen.tbx.accountsmanager.TBXAccountsManager.getTimeZone(TBXAcco
untsManager.java:1602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.systinet.wasp.server.adaptor.JavaInvoker.invokeService(JavaInvoke
r.java:1373)
at com.systinet.wasp.server.adaptor.JavaInvoker.beginInvoke(JavaInvoker.
java:444)
at com.idoox.wasp.server.adaptor.JavaAdaptorImpl.beginInvoke(JavaAdaptor
Impl.java:83)
at com.idoox.wasp.server.AdaptorTemplate.javaInvocation(AdaptorTemplate.
java:269)
at com.idoox.wasp.server.AdaptorTemplate.doDispatch(AdaptorTemplate.java
:217)
at com.idoox.wasp.server.AdaptorTemplate.dispatch(AdaptorTemplate.java:1
87)
at com.idoox.wasp.server.ServiceConnector.dispatch(ServiceConnector.java
:368)
at com.systinet.wasp.ServiceManagerImpl.dispatchRequest(ServiceManagerIm
pl.java:559)
at com.systinet.wasp.ServiceManagerImpl.dispatch(ServiceManagerImpl.java
:439)
at com.systinet.wasp.ServiceManagerImpl$DispatcherConnHandler.handlePost
(ServiceManagerImpl.java:2672)
at com.idoox.transport.http.server.Jetty$WaspHttpHandler.handle(Jetty.ja
va:97)
at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1087)
at com.mortbay.HTTP.HttpServer.service(HttpServer.java:675)
at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:457)
at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:317)
at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:
99)
at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:254)
at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:60
7)
at java.lang.Thread.run(Thread.java:595)
End of Stack Trace
at org.postgresql.PG_Stream.flush(PG_Stream.java:356)
at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:159)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:70)
at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Con
nection.java:505)
at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Stat
ement.java:320)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:48)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc
1Statement.java:153)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc
1Statement.java:141)
at it.codegen.tbx.accountsmanager.TBXAccountsManager.getTimeZone(TBXAcco
untsManager.java:1602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.systinet.wasp.server.adaptor.JavaInvoker.invokeService(JavaInvoke
r.java:1373)
at com.systinet.wasp.server.adaptor.JavaInvoker.beginInvoke(JavaInvoker.
java:444)
at com.idoox.wasp.server.adaptor.JavaAdaptorImpl.beginInvoke(JavaAdaptor
Impl.java:83)
at com.idoox.wasp.server.AdaptorTemplate.javaInvocation(AdaptorTemplate.
java:269)
at com.idoox.wasp.server.AdaptorTemplate.doDispatch(AdaptorTemplate.java
:217)
at com.idoox.wasp.server.AdaptorTemplate.dispatch(AdaptorTemplate.java:1
87)
at com.idoox.wasp.server.ServiceConnector.dispatch(ServiceConnector.java
:368)
at com.systinet.wasp.ServiceManagerImpl.dispatchRequest(ServiceManagerIm
pl.java:559)
at com.systinet.wasp.ServiceManagerImpl.dispatch(ServiceManagerImpl.java
:439)
at com.systinet.wasp.ServiceManagerImpl$DispatcherConnHandler.handlePost
(ServiceManagerImpl.java:2672)
at com.idoox.transport.http.server.Jetty$WaspHttpHandler.handle(Jetty.ja
va:97)
at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1087)
at com.mortbay.HTTP.HttpServer.service(HttpServer.java:675)
at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:457)
at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:317)
at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:
99)
at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:254)
at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:60
7)
at java.lang.Thread.run(Thread.java:595)
An I/O error has occured while flushing the output - Exception: java.net.SocketE
xception: Broken pipe
Stack Trace:
***************************************************************************
why this exception comes
I was wondering why this came and how to fix this issue, broken pipe
as normal i was helpless when i saw this message
my system uses Java, Wasp server with PostgreSql database
Reason for the error
The program is assigned to a specific socket when it is working
So this error comes when another program uses the socket which is assigned to this program
so the answer to the problem is .....
change the socket
so your prorgam can uses that new socket and there want to any broken pipe as long as another program tries to connect to new socket
In my issue the socket to my program was fixed , to prevent unnecessary overhead of communication where , if you uses random sockets you have to inform others all the time that Hey....... I am using this socket so do not use that
So restart the server
probably not a good solution
other person would have got this exception and may be trying to speak to the god............
or ..... God !!!!!!!!!!
find me this issue
Wednesday, January 30, 2008
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment