Re: broken pipe?

2006-01-03 Thread Thomas Dudziak
On 1/3/06, Dennis Bekkering <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I suddenly out of the blue get the following trace. It happens sometimes not
> all the time. Does anybody knows what this means. And what can be done about
> it?
>
> rethrown as org.apache.ojb.broker.PersistenceBrokerSQLException:
> Communications link failure due to underlying exception: ** BEGIN NESTED
> EXCEPTION ** java.net.SocketException MESSAGE: Broken pipe STACKTRACE:
> 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
> com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2618) at

This is a common MySql error that has to do with TCP/IP timeouts. See e.g. here

http://forums.mysql.com/read.php?39,42763,42767#msg-42767

What does your jdbc connection descriptor look like ?

Tom

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



broken pipe?

2006-01-03 Thread Dennis Bekkering
Hello,

I suddenly out of the blue get the following trace. It happens sometimes not
all the time. Does anybody knows what this means. And what can be done about
it?

rethrown as org.apache.ojb.broker.PersistenceBrokerSQLException:
Communications link failure due to underlying exception: ** BEGIN NESTED
EXCEPTION ** java.net.SocketException MESSAGE: Broken pipe STACKTRACE:
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
com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2618) at
com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2549) at
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1512) at
com.mysql.jdbc.ServerPreparedStatement.serverPrepare(
ServerPreparedStatement.java:1485) at com.mysql.jdbc.ServerPreparedStatement
.(ServerPreparedStatement.java:151) at
com.mysql.jdbc.Connection.prepareStatement(Connection.java:1309) at
org.apache.ojb.broker.accesslayer.StatementsForClassImpl.prepareStatement(Unknown
Source) at
org.apache.ojb.broker.accesslayer.StatementsForClassImpl.prepareStatement(Unknown
Source) at
org.apache.ojb.broker.accesslayer.StatementsForClassImpl.getPreparedStmt(Unknown
Source) at
org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(Unknown
Source) at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(Unknown
Source) at org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(Unknown
Source) at org.apache.ojb.broker.accesslayer.RsIterator.(Unknown
Source) at 
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(Unknown
Source) at
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Unknown
Source) at
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Unknown
Source) at
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Unknown
Source) at
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Unknown
Source) at
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(Unknown
Source) at
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(Unknown
Source) at
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(Unknown
Source) at
org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl.loadData(Unknown
Source) at 
org.apache.ojb.broker.core.proxy.ListProxyDefaultImpl.loadData(Unknown
Source) at
org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl.getData(Unknown
Source) at
org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl.toArray(Unknown
Source) at java.util.Collections.sort(Collections.java:158) at
com.myvision.gui.datatable.WebSiteViewer.constructBaseComponentFromModel(
WebSiteViewer.java:233) at
com.myvision.gui.datatable.WebSiteViewer.constructBaseComponentFromModel(
WebSiteViewer.java:107) at com.myvision.gui.BaseComponent.add(
BaseComponent.java:1510) at
com.myvision.control.DynamicApplication.setHtmlContent(
DynamicApplication.java:48) at
com.myvision.render.HtmlRenderer.setApplicationContent(HtmlRenderer.java:20)
at com.myvision.gui.application.Application.setContent(Application.java:272)
at com.myvision.control.ApplicationServer.initApplication(
ApplicationServer.java:415) at com.myvision.control.ApplicationServer.doGet(
ApplicationServer.java:131) at javax.servlet.http.HttpServlet.service(
HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(
HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173) at
org.apache.catalina.core.ApplicationDispatcher.invoke(
ApplicationDispatcher.java:672) at
org.apache.catalina.core.ApplicationDispatcher.processRequest(
ApplicationDispatcher.java:463) at
org.apache.catalina.core.ApplicationDispatcher.doForward(
ApplicationDispatcher.java:398) at
org.apache.catalina.core.ApplicationDispatcher.forward(
ApplicationDispatcher.java:301) at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:660)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:43) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252) at
org.ap

[FYI] OJB has moved from CVS to SVN

2006-01-03 Thread Thomas Dudziak
Hi,

just for your information, OJB is now on Subversion. I've updated the
links on the OJB website accordingly.
Here are some helpful links if you want to work with the bleeding edge OJB:

How to use Subversion @ Apache:
---

http://apache.org/dev/version-control.html


OJB Repositories:
-

1.0 stable:

http://svn.apache.org/repos/asf/db/ojb/branches/OJB_1_0_RELEASE/

Head (now called trunk):

http://svn.apache.org/repos/asf/db/ojb/trunk/


regards,
Tom

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