Hi

This means that the database has auto-disconnected the connection. In
many DB's this is configurable. Otherwise you have to deal with it
programmatically. Never leave a connection open after you have finished
work on it.

Hermod

-----Opprinnelig melding-----
Fra: Raquel R.L. [mailto:[EMAIL PROTECTED]]
Sendt: 25. juni 2002 12:26
Til: [EMAIL PROTECTED]
Emne: tomcat and broken pipe



Hello!

I have a problem with the connection between tomcat and oracle. When I
open a connection to the DB once at the beginning, then save it for
later. When I come back in several hours, the DB has dropped the
connection, so when I try to use it, I get that message, can anyone help
me? I don't know what it happens:


java.sql.SQLException: Io exception: Broken pipe
        at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
        at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
        at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
        at
oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:292)
        at
oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.jav
a:31
3)
        at
es.terra.mobile.smsinvertia.Servidor.insertaRegistro(Servidor.java:38)
        at
es.terra.mobile.smsinvertia.Cliente2Servlet.service(Cliente2Servlet.java
:50)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.ja
va:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
66)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.ja
va:190)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
66)
        at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:2
46)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
66)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.
java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
64)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
64)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468
)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:5
64)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)


Thanks,
Raquel


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to