SQL BROKEN PIPE IN 6.0SP1
Hi .
I am using weblogic 6.0 sp1 running in a Cluster,
jdk 1,3
solaris 2.8
Oracle 8.1.7
Classes12.zip thin driver for Oracle
I have been getting the following error very regularly now..
javax.ejb.EJBException
- with nested exception:
[java.sql.SQLException: Io exception: Broken pipe]
at com.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_RDBMS.getAccountNumber(NameAddressBean_WebLogic_CMP_RDBMS.java:440)
at com.symphoni.bofa.business.entity.nameaddress.NameAddressBean.getNameAddressData(NameAddressBean.java:61)
at com.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_RDBMS.getNameAddressData(NameAddressBean_WebLogic_CMP_RDBMS.java:378)
at com.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl.getNameAddressData(NameAddressBeanEOImpl.java:382)
at com.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLSkel.invoke(NameAddressBeanEOImpl_WLSkel.java:64)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
at weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher.java:115)
at weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
at com.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLStub.getNameAddressData(NameAddressBeanEOImpl_WLStub.java:218)
at com.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getNameAddress(BaseCoreInfoHelper.java:247)
at com.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.populateCoreInfo(BaseCoreInfoHelper.java:164)
at com.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getLogicalData(BaseCoreInfoHelper.java:84)
at com.symphoni.bofa.business.session.accountmgr.SubmitHelper.getLogicalData(SubmitHelper.java:66)
at com.symphoni.bofa.business.session.accountmgr.AccountBean.getCoreInfo(AccountBean.java:207)
at com.symphoni.bofa.business.session.accountmgr.AccountBeanImpl.getCoreInfo(AccountBeanImpl.java:830)
at com.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl.getCoreInfo(AccountBeanEOImpl.java:1344)
at com.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl_WLSkel.invoke(AccountBeanEOImpl_WLSkel.java:126)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Itz happening in production and the only way this gets resolved is if I restart any
of the managed servers...
which is leading to downtime...
It is happening very intermittently..
Any help is greatly appreciated...
Thanx,
Krish.
That property is already set to true..
Before shifting to the oracle thin classes12.zip , I want to make sure that the oracle
drivers shipped with weblogic are causing problems...coz unknowingly I have been
using the weblogic oracle drivers for almost 8 months now...and it was not a problem
till now..!
Thanx,
Krish
"Sree Bodapati" <[email protected]> wrote:
This could be a network connection lost or database bounce. Try to set the
TestConnectionsOnReserve=true in the connection pool from the console. Also
try to use the latest classes12.zip file from oracle for 817.
sree
"KRISHNAN VENKATARAMAN" <[email protected]> wrote in message
news:[email protected]...
Hi .
I am using weblogic 6.0 sp1 running in a Cluster,
jdk 1,3
solaris 2.8
Oracle 8.1.7
Classes12.zip thin driver for Oracle
I have been getting the following error very regularly now..
javax.ejb.EJBException
- with nested exception:
[java.sql.SQLException: Io exception: Broken pipe]
atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_R
DBMS.getAccountNumber(NameAddressBean_WebLogic_CMP_RDBMS.java:440)
atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBean.getNameAddress
Data(NameAddressBean.java:61)
atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBean_WebLogic_CMP_R
DBMS.getNameAddressData(NameAddressBean_WebLogic_CMP_RDBMS.java:378)
atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl.getNameA
ddressData(NameAddressBeanEOImpl.java:382)
atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLSkel.i
nvoke(NameAddressBeanEOImpl_WLSkel.java:64)
atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
atweblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
atweblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher
..java:115)
atweblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
atweblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
atcom.symphoni.bofa.business.entity.nameaddress.NameAddressBeanEOImpl_WLStub.g
etNameAddressData(NameAddressBeanEOImpl_WLStub.java:218)
atcom.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getN
ameAddress(BaseCoreInfoHelper.java:247)
atcom.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.popu
lateCoreInfo(BaseCoreInfoHelper.java:164)
atcom.symphoni.bofa.business.session.accountmgr.helper.BaseCoreInfoHelper.getL
ogicalData(BaseCoreInfoHelper.java:84)
atcom.symphoni.bofa.business.session.accountmgr.SubmitHelper.getLogicalData(Su
bmitHelper.java:66)
atcom.symphoni.bofa.business.session.accountmgr.AccountBean.getCoreInfo(Accoun
tBean.java:207)
atcom.symphoni.bofa.business.session.accountmgr.AccountBeanImpl.getCoreInfo(Ac
countBeanImpl.java:830)
atcom.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl.getCoreInfo(
AccountBeanEOImpl.java:1344)
atcom.symphoni.bofa.business.session.accountmgr.AccountBeanEOImpl_WLSkel.invok
e(AccountBeanEOImpl_WLSkel.java:126)
atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
atweblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
atweblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
7)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Itz happening in production and the only way this gets resolved is ifI
restart any
of the managed servers...
which is leading to downtime...
It is happening very intermittently..
Any help is greatly appreciated...
Thanx,
Krish.
Similar Messages
-
PL/SQL Web Service: Broken Pipe
We have successfully deployed PL/SQL Web Services on the Oracle Application Server 10g with about 6 containers. The web services are being consumed by a .NET application. All seems to be working well but we continually are having intermittent (every 2-3 days) "BROKEN PIPE" errors which is causing us to bounce the container constantly. This is not very effecient for a production environment. Does anybody have any ideas........? Here is what shows up in the log:
javax.servlet.ServletException: Io exception: Broken pipe
at swprodweb.__Ws_reservationImplSPWrapper.destroy(__Ws_reservationImplSPWrapper.java:605)
at oracle.j2ee.ws.RpcWebService.destroy(RpcWebService.java:93)
at com.evermind.server.http.ServletInstanceInfo.destroy(ServletInstanceInfo.java:127)
at com.evermind.server.http.HttpApplication.destroyServlets(HttpApplication.java:5805)
at com.evermind.server.http.HttpApplication.destroy(HttpApplication.java:5732)
at com.evermind.server.http.HttpSite.destroy(HttpSite.java:881)
at com.evermind.server.http.HttpServer.destroy(HttpServer.java:613)
at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2033)
at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:39)
at java.lang.Thread.run(Thread.java:534)
So everytime I see this error I know that we have to bounce the container. Very Frustrating!!Hi,
Although it's a long time since you posted your message, I nowadays working with this issue, that is, calling web services from Oracle database 10g through UTL_DBWS package. It turns out that almost 3 of 100 requests fail due to this error (broken pipe). Actually, the trace is:
ERROR on line 1:
ORA-29532: Java call finished due to an unresolved exception: HTTP
transport error: javax.xml.soap.SOAPException:
java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message
send failed: send failed
Broken pipe
ORA-06512: en "SYS.UTL_DBWS", línea 403
ORA-06512: en "SYS.UTL_DBWS", línea 400
I'm looking for the cause of this error. Has anyone any idea about this?
Thanks a lot.
Luis Serrano. -
Broken pipe / timeout during slow SQL statement in servlet
I have a servlet which supplies the client with quite a large block of data from an SQL query.
This works fine in a local test environment but I get problems running it under a fully fledged application server environment.
I find a "Broken Pipe" exception on the application log and the client side application gets an application error status code.
07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
07/07/16 09:32:30.85 lapSycWebsite: Broken pipe
07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
07/07/16 09:32:30.86 lapSycWebsite: Broken pipe
07/07/16 09:32:30.86 lapSycWebsite: Servlet error
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
at java.nio.channels.Channels.write(Channels.java:60)
at java.nio.channels.Channels.access$000(Channels.java:47)
at java.nio.channels.Channels$1.write(Channels.java:134)
at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.j
ava:117)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
:309)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java
:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
cketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
:q
We're looking for ways to get the SQL execution time down, but even if we succeed in this case it's a source of instability that will trip us up in the future.
This SQL statment can take up to about 8 minutes to return the first row.
The client is a Java swing program, by the way, not a browser as such.
Later:
We've got the SQL execution time down and it's working for the time being but it's a problem that's going to hit us again sooner or later. Still looking for a solution.
Message was edited by:
IronChickenRefer this url for inserting blob datatype to database.
See the LOBDatatype sample. This sample uses java application but same works for a servlet too.
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.htm
You can refer source to see how the lob data is inserted.
Chandar -
Web Service Error: java.sql.SQLException: Io exception: Broken pipe
Hi,
I am using JDeveloper PL/SQL web service generator. After some time we start receiving the "java.sql.SQLException: Io exception: Broken pipe" exception when we invoke the web service. I've noticed that the error starts occuring once all the connections in the database have been closed.
Here are the Data Source configurations I tried using:
<data-source name="jdev-connection-SACS" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/SACSCoreDS" xa-location="jdbc/xa/SACSXADS" ejb-location="jdbc/SACSDS" pooled-location="jdbc/MACSPooledDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="xxx" password="xxxx" url="jdbc:oracle:thin:@test:1521:SACS" inactivity-timeout="30" connection-retry-interval="3" max-connections="5" min-connections="0" wait-timeout="20"/>
AND I also tried:
<data-source name="jdev-connection-SACS" class="com.evermind.sql.DriverManagerDataSource" location="jdbc/SACSCoreDS" xa-location="jdbc/xa/SACSXADS" ejb-location="jdbc/SACSDS" pooled-location="jdbc/SACSPooledDS" connection-driver="oracle.jdbc.driver.OracleDriver" username="xxxx" password="xxxx" url="jdbc:oracle:thin:@xxxx:1521:SACS" inactivity-timeout="30"/>
That did not make any changes.
I then changed ConnectionContext.KEEP_CONNECTION to ConnectionContext.CLOSE_CONNECTION in the <name>Base.sqlj:
public void release() throws SQLException
{ if (__tx!=null && __onn!=null) __tx.close(ConnectionContext.CLOSE_CONNECTION);
__onn = null; __tx = null;
That did not help either. We are running these web services on the standalone OC4J and Oracle 8.1.7.2 database with the MTS installed on it.Hi,
I don't use JDeveloper to develop stored procedure web services. However, I do use WebServicesAssembler.jar to generate stored procedure web services.
I had the same problem as you did. After some research in this forum, I was informed that it's a bug in the web services generator itself. I was also informed that the newest version of WebServicesAssembler.jar is supposed to fix the problem.
If you want, you can always write a batch job to restart the OC4J periodically. The command is
dcmctl -ct oc4j -co home
If I come across the posting containing the answer to your solution, I will forward it to you.
Good luck
Jack -
Throw sqlexception: broken pipe when executing sql or other related code
My env is:
weblogic 704 + oracle 8i, use datasource to create conneciton pool with 10 connections
when weblogic starts, but when I execute some sql , the system throwed out:
java.sql.SQLException: Io Exception: Broken pipe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:560)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2778)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:536)
at weblogic.jdbc.pool.PreparedStatement.executeQuery(PreparedStatement.java:53)
at com.ztsoft.ejb.dao.EntityDAO.readClobToFile(Unknown Source)
at com.ztsoft.ejb.dao.SL_FileContentTbDAO.readClob2(Unknown Source)
at com.ztsoft.ejb.sessionbean.MainHandlerBean.readClobToFile(Unknown Source)
at com.ztsoft.ejb.sessionbean.MainHandlerBean_oejxo1_ELOImpl.readClobToFile(MainHandlerBean_oejxo1_ELOImpl.java:531)
at com.ztsoft.web.servlet.GetResultActionServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
How can I solve ? thanks, this is very urgent, help me..CottonXu wrote:
My env is:
weblogic 704 + oracle 8i, use datasource to create conneciton pool with 10 connections
when weblogic starts, but when I execute some sql , the system throwed out:
java.sql.SQLException: Io Exception: Broken pipe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)Hi. This indicates a problem between the oracle driver version and the DBMS
version. The first thing to do is to go to oracle's download site and get
their latest version of the thin driver that is appropriate for your DBMS
and JVM, and then edit your startWeblogic script so the new driver is ahead
of the weblogic.jar in the -classpath argument for the commandline that
starts the server.
Joe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:560)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2778)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:536)
at weblogic.jdbc.pool.PreparedStatement.executeQuery(PreparedStatement.java:53)
at com.ztsoft.ejb.dao.EntityDAO.readClobToFile(Unknown Source)
at com.ztsoft.ejb.dao.SL_FileContentTbDAO.readClob2(Unknown Source)
at com.ztsoft.ejb.sessionbean.MainHandlerBean.readClobToFile(Unknown Source)
at com.ztsoft.ejb.sessionbean.MainHandlerBean_oejxo1_ELOImpl.readClobToFile(MainHandlerBean_oejxo1_ELOImpl.java:531)
at com.ztsoft.web.servlet.GetResultActionServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
How can I solve ? thanks, this is very urgent, help me.. -
JDriver for SQL Server 6.5 Broken Pipe
hi:
I am using jDriver for SQL Server 6.5 and use prepared statements to execute
my Stored Procedures from a Stateless-EJB. At times, I get the following
error message, can anyone help me with what I should do ?
2002.06.06 at 03:49:43 PM PDT : weblogic.jdbcbase.mssqlserver4.TdsException:
I/O exception while talking to the server, java.io.IOException: Broken pipe
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:82)
at weblogic.jdbcbase.mssqlserver4.TdsException.<init>(TdsException.java:40)
at
weblogic.jdbcbase.mssqlserver4.TdsStatement.cancel(TdsStatement.java:446)
at weblogic.jdbcbase.mssqlserver4.TdsStatement.getMoreResults(Compiled
Code)
at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(Compiled Code)
at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(Compiled Code)
at weblogic.jdbcbase.jts.Statement.execute(Compiled Code)
at weblogic.jdbc20.rmi.internal.PreparedStatementImpl.execute(Compiled
Code)
at weblogic.jdbc20.rmi.SerialPreparedStatement.execute(Compiled Code)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarDAO.insertException(Compiled
Code)
at com.pmi.zeus.ejb.LoanRegistration.LoanRegistrar.registerLoan(Unknown
Source)
at com.pmi.zeus.ejb.LoanRegistration.LoanRegistrar.register(Compiled Code)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl.register(LoanRegistrar
EOImpl.java:56)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl_ServiceStub.register(C
ompiled Code)
at
com.pmi.zeus.mom.LoanInputQueueListener.messageInputProcessor(LoanInputQueue
Listener.java:86)
at
com.pmi.zeus.mom.LoanInputQueueListener.onMessage(LoanInputQueueListener.jav
a:59)
at weblogic.jms.client.JMSMessageConsumer.run(Compiled Code)
at weblogic.jms.client.JMSSession.run(JMSSession.java:342)
at weblogic.jms.server.JMSServerSession.execute(JMSServerSession.java:44)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
2002.06.06 at 03:49:43 PM PDT : java.sql.SQLException: I/O exception while
talking to the server, java.io.IOException: Broken pipe
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:82)
at com.pmi.zeus.ejb.LoanRegistration.LoanRegistrar.register(Compiled Code)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl.register(LoanRegistrar
EOImpl.java:56)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl_ServiceStub.register(C
ompiled Code)
at
com.pmi.zeus.mom.LoanInputQueueListener.messageInputProcessor(LoanInputQueue
Listener.java:86)
at
com.pmi.zeus.mom.LoanInputQueueListener.onMessage(LoanInputQueueListener.jav
a:59)
at weblogic.jms.client.JMSMessageConsumer.run(Compiled Code)
at weblogic.jms.client.JMSSession.run(JMSSession.java:342)
at weblogic.jms.server.JMSServerSession.execute(JMSServerSession.java:44)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
thanks,
balaji.Balaji Venkataraman wrote:
hi:
I am using jDriver for SQL Server 6.5 and use prepared statements to execute
my Stored Procedures from a Stateless-EJB. At times, I get the following
error message, can anyone help me with what I should do ?That means the driver-DBMS connection has broken somehow. It can either be
a bug in our driver, or a bug in the DBMS. Is there any indication in DBMS logs
about client thread failures that result in a session being killed?
If you can isolate the SQL and JDBC that causes this, we may be able to
debug it. Is the DBMS a 6.5 DBMS?
Joe
>
>
2002.06.06 at 03:49:43 PM PDT : weblogic.jdbcbase.mssqlserver4.TdsException:
I/O exception while talking to the server, java.io.IOException: Broken pipe
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:82)
at weblogic.jdbcbase.mssqlserver4.TdsException.<init>(TdsException.java:40)
at
weblogic.jdbcbase.mssqlserver4.TdsStatement.cancel(TdsStatement.java:446)
at weblogic.jdbcbase.mssqlserver4.TdsStatement.getMoreResults(Compiled
Code)
at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(Compiled Code)
at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(Compiled Code)
at weblogic.jdbcbase.jts.Statement.execute(Compiled Code)
at weblogic.jdbc20.rmi.internal.PreparedStatementImpl.execute(Compiled
Code)
at weblogic.jdbc20.rmi.SerialPreparedStatement.execute(Compiled Code)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarDAO.insertException(Compiled
Code)
at com.pmi.zeus.ejb.LoanRegistration.LoanRegistrar.registerLoan(Unknown
Source)
at com.pmi.zeus.ejb.LoanRegistration.LoanRegistrar.register(Compiled Code)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl.register(LoanRegistrar
EOImpl.java:56)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl_ServiceStub.register(C
ompiled Code)
at
com.pmi.zeus.mom.LoanInputQueueListener.messageInputProcessor(LoanInputQueue
Listener.java:86)
at
com.pmi.zeus.mom.LoanInputQueueListener.onMessage(LoanInputQueueListener.jav
a:59)
at weblogic.jms.client.JMSMessageConsumer.run(Compiled Code)
at weblogic.jms.client.JMSSession.run(JMSSession.java:342)
at weblogic.jms.server.JMSServerSession.execute(JMSServerSession.java:44)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
2002.06.06 at 03:49:43 PM PDT : java.sql.SQLException: I/O exception while
talking to the server, java.io.IOException: Broken pipe
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:82)
at com.pmi.zeus.ejb.LoanRegistration.LoanRegistrar.register(Compiled Code)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl.register(LoanRegistrar
EOImpl.java:56)
at
com.pmi.zeus.ejb.LoanRegistration.LoanRegistrarEOImpl_ServiceStub.register(C
ompiled Code)
at
com.pmi.zeus.mom.LoanInputQueueListener.messageInputProcessor(LoanInputQueue
Listener.java:86)
at
com.pmi.zeus.mom.LoanInputQueueListener.onMessage(LoanInputQueueListener.jav
a:59)
at weblogic.jms.client.JMSMessageConsumer.run(Compiled Code)
at weblogic.jms.client.JMSSession.run(JMSSession.java:342)
at weblogic.jms.server.JMSServerSession.execute(JMSServerSession.java:44)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
thanks,
balaji. -
JDBC Connectivity - broken pipe received when SQL server resets the connect
Hi,
We have downloaded MICROSOFT SQL SERVER 2000 DRIVER for UNIX boxes
when i try to connect using JDBC , with all parameters
user id, driver, password etc
at the sniffer(TCPIP) level when the jdbc connection is attempted
i see a
1) SYN packet to the SQL server from unix box
2) ACK SYN from the SQL server to unix box
3) ACK from unix box to server
4) no activity for about a minute
5) a RST( reset ) from SQL server to unix box.
at this point i get the following
stack trace
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Broken pipe or
no reader on socket
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.submitRequest(Unknow
n Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Sou
rce)
at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown S
ource)
at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at wu.database.WUDBAccess.getGiftGramConnection(WUDBAccess.java, Compile
d Code)
at wu.util.GiftMailClient.ConnectToDB(GiftMailClient.java, Compiled Code
at wu.util.GiftMailClient.ProcessEmail(GiftMailClient.java, Compile
the sniffer trace
Frame source = (Network)
Length = 66
Time received = 09/24/2002 21:19:42.543
Frame Relay
Header = 1041
0001 00.. 0100 .... = DLCI 68
.... ..0. .... 000. = (Command)
EtherType = 0800 IP
Internet Protocol (IP)
Source address = unix_server
Destination address = SQL_server
Type of service = 00
Length = 60
Identification = 58024
Flags = 0000 (May fragment, Last fragment)
Time to live = 28
Protocol = 6 TCP
Transmission Control Protocol (TCP)
Source Port = 2175
Destination Port = 8072
Sequence = 2690569244
Acknowledgement = 0
Flags = 02 (SYN)
Window size = 8192
============================= Frame Number 7 =============================
Frame source = (User)
Length = 66
Time received = 09/24/2002 21:19:42.544
Frame Relay
Header = 1041
0001 00.. 0100 .... = DLCI 68
.... ..0. .... 000. = (Command)
EtherType = 0800 IP
Internet Protocol (IP)
Source address = SQL_server
Destination address = unix_server
Type of service = 00
Length = 60
Identification = 47302
Flags = 4000 (Don't fragment, Last fragment)
Time to live = 126
Protocol = 6 TCP
Transmission Control Protocol (TCP)
Source Port = 8072
Destination Port = 2175
Sequence = 60776554
Acknowledgement = 2690569245
Flags = 12 (ACK, SYN)
Window size = 17520
============================= Frame Number 8 =============================
Frame source = (Network)
Length = 58
Time received = 09/24/2002 21:19:42.607
Frame Relay
Header = 1041
0001 00.. 0100 .... = DLCI 68
.... ..0. .... 000. = (Command)
EtherType = 0800 IP
Internet Protocol (IP)
Source address = unix_server
Destination address = SQL_server
Type of service = 00
Length = 52
Identification = 58025
Flags = 0000 (May fragment, Last fragment)
Time to live = 28
Protocol = 6 TCP
Transmission Control Protocol (TCP)
Source Port = 2175
Destination Port = 8072
Sequence = 2690569245
Acknowledgement = 60776555
Flags = 10 (ACK)
Window size = 8192
****************************************************8
============================= Frame Number 9 =============================
Frame source = (User)
Length = 52
Time received = 09/24/2002 21:21:35.137
Frame Relay
Header = 1041
0001 00.. 0100 .... = DLCI 68
.... ..0. .... 000. = (Command)
EtherType = 0800 IP
Internet Protocol (IP)
Source address = SQL_server
Destination address = unix_server
Type of service = 00
Length = 40
Identification = 47451
Flags = 4000 (Don't fragment, Last fragment)
Time to live = 126
Protocol = 6 TCP
Transmission Control Protocol (TCP)
Source Port = 8072
Destination Port = 2175
Sequence = 60776555
Acknowledgement = 623322721
Flags = 04 (RST)
Window size = 0
Data (ASCII)
0000 = 00 00 00 00 00 00 ......
any help is welcome
Regards,
SunilWell then, it beats me. I don't see what the problem could be in this case. :o(
Get another driver and see what happens. I would recommend jTDS, because I'm one of the developers and I can help you debug it. It only supports basic things (such as forward-only result sets, prepared statements and callable statements) but it should be enough to see if you can connect to SQL Server. The address is http://jtds.sourceforge.net
Alin. -
Java.sql.SQLException: Io exception: Broken pipe
To whom it may concern:
Anyone who can help me with my problem? We have Java application(Loading2Staging) that calls a series of stored procedures in Oracle. This job takes about 30 hours to complete. We have other Java applications that is running and calling Oracle on the same machine and database. All of the applications are using "Java connection pooling". I'm encountering problem with the said application. When Loading2Staging is running and then other jobs would start to establish a connection, Loading2Staging then fails with this error: java.sql.SQLException: Io exception: Broken pipe
The procedures of Loading2Staging is taking too long to complete. So my question is, "Is the job failing because of its inactivity or do some other applications steal the 'connection pooling' assigned to it for it to run smoothly?"
If that's the case, could I create a "dedicated connection" or "connection pooling" to prevent the stealing of connection among jobs?
This is a very urgent issue. Your immediate response will be much appreciated.
Thank you.
wletmp5Having exactly the same problem, does anybody know where the problem is?
Thanks
PD -
Hi,
I have a weblogic cluster with 2 managed servers on 2 different machines,
Now i have an application.ear which is kept on the first server and while deploying i choose the option "copy to the other server" and i deploy this EAR to the cluster.
Mine is a applet-servlet based application and the applet gets downloaded onto client browser.
Now when both the servers are up load balancing and the failover is also happening.Now the problem is when rejoing the failed server back to the cluster.
I have setup the classpath entries and arguments entries "Remote Start" tab in the server configuration,
I bring back the server through weblogic console and it joins the cluster also without any problem.
The problem is if some users have already opened the application then after rejoining also it works fine.
But if a new user tries to access the applications what happens is
we get
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 weblogic.servlet.internal.ChunkUtils.writeChunkTransfer(ChunkUtils.java:267)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:239)
at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:311)
at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:387)
at weblogic.servlet.internal.ChunkOutput.write(ChunkOutput.java:254)
at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:125)
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:184)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1639)
at java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1603)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1325)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at WebRequestController.doPost(WebRequestController.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
We use IPlanet proxy server to route to the cluster
Somebody pls help..
Regards
SureshDavin Czukoski wrote:
We have been switching back and forth between the BEA MS SQL server driver
and the Data Direct driver ever since the SP3 problem started.
This seems to be a problem with the BEA MS SQL server driver. We switch to
Data Direct and the problem went away.
There were no memory messages in our logs for SQL server.Ok. And this only happens during a big sequence of inserts? Let me see your code,
and please describe the table too. I'll try to duplicate it, but if the data direct driver
or the free MS driver works for you, go with them.
Joe
>
>
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]..
Davin Czukoski wrote:
I am getting this error part way through an 1000 row update.
Exception: I/O exception while talking to the server,
java.io.IOException:
Broken pipe
Is it a driver or network issue?Probably neither. I'm guessing the DBMS ran out of memory for theinsert-logging
or something like that, and killed the client connection. Check your DBMSlog.
Joe Weinstein at BEA -
Broken Pipe Error when using database link
We are using WebLogic 6.1 sp2 / oracle database 8.1.6. / thin drivers.
The connection works fine, unit I try to access a view that has a union and db links
in it.
We have used one or the other (view or a dblink) and it works, but when used together,
we get broken pipe error.
I haven't proven that this is the cause, I will try to setup a test, but I was wondering
if this is a known issue or what ??
thanks
RichYou need to create the catalog views that support distributed SQL in your remote database (the database you connect to via db_link).
To create these views, connect "/ as sysdba" and run:
$ORACLE_HOME/rdbms/admin/catproc.sql
which will in turn call several other scripts including: $ORACLE_HOME/rdbms/admin/catrpc.sql (which creates your missing view)
It is best to run the whole catproc.sql script (and not just the catrpc script).
You can run and rerun catproc.sql several times quite safely.
Cheers -
Broken pipe, DMLException: JBO-26061: Error while opening JDBC connection
Hi,
We are facing strange problem with oc4j903 container using bc4j getConnection() method.
We are getting the following error intermitantly using bc4j getConnection() method.
ApplicationModuleProvider JBO-30003: The application pool (bc4j_paris) failed to checkout an application module due to the following exception:
oralce.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
and then it says ,
java.sql.SQLException: Io exception: Broken pipe.
It gets connection automatically in a matter of minutes.
Has anybody faced these problem or anyone has the solution please help us out.
Thanks,
ChinnaBhaskar -- BC4J related questions are better directed to the JDeveloper forum; that's where the BC4J PMs and developers hang out.
cheers
-stevee -
DMLException: JBO-26061: Error while opening JDBC connection, Broken pipe
Hi,
We are facing a strange problem with oc4j903 container using bc4j getConnection() method.
We are getting the following error intermitantly using bc4j getConnection() method.
ApplicationModuleProvider JBO-30003: The application pool (bc4j_paris) failed to checkout an application module due to the following exception:
oralce.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
and then it says ,
java.sql.SQLException: Io exception: Broken pipe.
It gets connection automatically in a matter of minutes.
Has anybody faced these problem or anyone has the solution please help us out.
I appreciate your inputs.
Thanks,
ChinnaBhaskar -- BC4J related questions are better directed to the JDeveloper forum; that's where the BC4J PMs and developers hang out.
cheers
-stevee -
Broken pipe error in Sync Send JDBC Receiver: Extremely Serious issue
Hi forum,
I have a serious error in a JDBC->XI--> JDBC scenario,
Step1: I use a sender JDBC channel to select some distinct values from a table say X, and update the same rows,
Query SQL Statement: select distinct Branch from dbo.X where status = 0
Update SQL statement: update dbo.X set Status = 2 where Status = 0
Step 2: enter BPM
Step 3: enter a loop
Step 4:make a synchronous call to the same table X, to fetch some records,
SQL query: select * from X where status = 0 and Branch = i; Update X set status = 9 where Branch = i
Step 5: close loop, this loop iterates for 5 or 6 times depending on i, which is no. of branches selected by the sender JDBC channel
so all the calls are to the same table, same databsse(SQL Server)
the problem is when this sync calls happens in the loop, it some times gives following error, which i se in RWB:
<b>Error Unable to execute statement for table or stored procedure. 'X' (Structure 'STATEMENT_X') due to com.microsoft.sqlserver.jdbc.SQLServerException: An exception occurred during the DBComms.transmit operation. Exception:Broken pipe (errno:32). Context:(2217)</b>
i have no way to trace the cause of the error, the database is perfect and the error logs in the SQL server shows no trace of any error,
Note: It works sometimes
i dont know whom to approach, pls help
the issue is very very serious as its in production system,Hi Sudeep,
SAP Note 846079 - XI 3.0 JDBC Receiver: # of Retries on SQL Error w/o Effect
Please check the following SAP note also - 831162
Some info which i found there and can be relevant in to your scenario.....
Q: I am using a JDBC Receiver Adapter in conjunction with the Lotus Domino Driver for JDBC perform an INSERT or UPDATE operation on a database. When sending a message to the receiver, the Adapter Monitoring shows the following error message:
"java.sql.SQLException: [Lotus][Domino Driver for JDBC]Invalid cursor state"
Is there a fix for this issue?
A: To work around this JDBC driver problem, activate the Advanced Mode for the respective JDBC Receiver channel and configure the setting "Number of Retries of Database Transaction on SQL Error" to a value > 0. Additionally, make sure that the setting "Database Auto-Commit Enabled" is also active as the Lotus Domino Driver for JDBC does not support transactions.
Apply note 846079 before configuring this scenario.
Q: The TCP/IP connection to my database host is running over an unreliable network connection, i.e. the connection is sometimes interrupted. Consequently, I sporadically receive an SQLException regarding a closed connection in the system trace or audit log or the connection as well as the JDBC Adapter channel are hanging.
How can I work around this connectivity issue?
A: Enable the "Advanced Mode" for the respective JDBC Adapter channel and select the option "Disconnect from Database After Processing each Message".
Note that this might put additional load on your DBMS due to the creation of a new database connection for each message.
I dont have access to a database right now, so i am not able to check this.
Also check the JDBC driver compatability as mentioned in the above note.
Cheer's -
Bouncing Oracle Database Creating Broken Pipe Error On Oracle 9iAS 9.0.3
We published and deployed PL/SQL web services using JDeveloper 9.0.3 wizard on Oracle 9iAS 9.0.3. We bounced the database nightly, in turn, closes the application server connection between 9iAS and the database. This causes the broken pipe error. Bouncing the 9iAS is not an option for us.
Is this an Oracle 9iAS bug? Is there a workaround to this problem without bouncing the application server?
Please help.
TomI have discovered a strange thing. I created a new OC4J instance which I called it: Intelap
When I deploy to the recently created instance Intelap, jdeveloper success. But when I set OC4J_home in the optional instance field, I got the previous error.
Sergio -
Remote Desktop Client for MAC Broken Pipe! message
Hi there,
One of our clients uses Remote Desktop for MAC. One in a while he gets the message "Broken pipe!". His session has been lost.
I could not find or reproduce the same error. It looks like a connection problem, but this specific message must mean something.
Is there anyone who can explain this explicit error message?
I have not seen the message myself. The only thing I know is it contains "Broken pipe!"Hi,
I have never seen this error before. The only thing I know about the word “Pipe” is related to SQL Server.
Pipes
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365780(v=vs.85).aspx
We may have to ask the user for more detailed information.
Thanks.
Jeremy Wu
TechNet Community Support
Maybe you are looking for
-
RRoCE v2.0 mode was requested, but it is not supported.
Customer is using N5k, connecting W2012 R2 host, as well as a W2012 R2 host acting as a SMB3 fileserver. They use RDMA over Converged Ethernet (RoCE), and receive the following error message SingleFunc_32_0_0: RRoCE v2.0 mode was requested, but it is
-
Lightroom 6 is up and running. Upgraded from LR5. However I want to change the file name to be more generic, e.g., description in LR5 references LR5 and I want to change that to just John G's LR Catalog/Library.lrcat. How can I accomplish this wit
-
I have this peculiar requirement. We are using Rebate Agreements for Sales Volumes with Rebate Condition Scales. We should NOT be paying the customer through the AR credit memo, because of Legal Issue. So we have developed a nice solution, which incl
-
How to stop an abnormal Archive Log creation
Hi all, How can I stop an abnormal Archive Log creation in the database. sometimes suddenly the database is creating tremedously innumeral number of archive log and destination is full and database hang .After stoping the service and srver also , whe
-
Why does firewall constantly ask me to allow iTunes to receive incoming connections?
I enabled Firewall for my MacBook Pro 2012, running OS X 10.8.2 Mountain Lion, about two months ago. Everything was working fine, until a few weeks ago, when I was experiencing problems with logging in to my Mac. I tried booting up my Mac but it woul