G'day guys,

None of you are on IRC, so I thought I'd fire this off - a VERY weird bug
indeed.

One of my apps (www.linuxtoday.com.au) freezes whenever I try to 'view a
story', everything else works fine (I can display stories on the front page,
but clicking on the sotry to bring it to full screen screws things up)

Here's one error message I've got, it's definitely a datasource problem
somewhere.

5/13/00 1:25 AM Error in bean com.in16.slash.ejb.story.Story: Database Error
java.sql.SQLException: JZ006: Caught IOException: java.io.IOException:
Broken pipe
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:423)
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:2781)
at com.sybase.jdbc2.tds.Tds.doLogin(Tds.java:411)
at com.sybase.jdbc2.tds.Tds.login(Tds.java:350)
at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:213)
at
com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:190)
at com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:169)
at com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:122)
at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:175)
at com.evermind.sql.DriverManagerDataSource.getConnection(JAX)
at
com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConnection(J
AX)
at com.evermind.sql.OrionPooledDataSource.c6(JAX)
at com.evermind.sql.OrionPooledDataSource.cv(JAX)
at com.evermind.sql.OrionPooledDataSource.getConnection(JAX)
at com.evermind.sql.DriverManagerXADataSource.de(JAX)
at com.evermind.sql.ah.db(JAX)
at com.evermind.sql.al.prepareStatement(JAX)
at com.evermind.server.ejb.DataSourceConnection.getCustomStatement(JAX)
at EntityHomeWrapper567.findAll(EntityHomeWrapper567.java:836)
at com.in16.slash.tags.Stories.getLoopCollection(Stories.java:72)
at com.in16.slash.tags.SlashLoop.doStartTag(SlashLoop.java:69)
at /backend/linuxtoday.jsp._jspService(/backend/linuxtoday.jsp.java:85) (JSP
page line 32)
at com.evermind.server.http.EvermindHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.s1(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.dd.o1(JAX)
at com.evermind.server.http.dd.forward(JAX)
at com.evermind.server.http.dk.o6(JAX)
at com.evermind.util.e.run(JAX)

Oddest thing is I can't get this error to reappear, now the app just
freezes.

Some trials:
- I've put swapped in a different datasource - works perfectly.
- My other apps - work perfectly (same code, same database server, different
datasources)
- I've created a new datasource under a new name - freezes.
- After this one app freezes, the other apps in the server freeze up after
about 5 minutes, needing a total restart. I'm at my wits end, this is really
fucking annoying ;)
- This app has been running for days, unchanged with no problems...
- No errors are reported in the application.log, stdout, stderr or
server.log
- Database responds perfectly using ISQL

Sybase 11.0.3.3 database btw, using jConnect 5.2.

any ideas?

Mike


Reply via email to