You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Michael Welles <mi...@bangstate.com> on 2002/01/03 17:21:24 UTC
Sybase andExcalibur DataSource Management.
I've been working on a project for some time now using excalibur's datasource
mananagement, using MySQL as a backend, with excellent results. Since MySQL
can't to replicaiton and transactions on the same table type, we're being
forced to move to a commercial RDBMS. I've successfully moved the project to
DB2, and am now evaluating using Sybase ASE 12.5.
Everything seems to be working fine, but still 'm getting lots of these
apparently non-fatal stack traces in the log:
Could not close connection
java.sql.SQLException: JZ0C0: Connection is already closed.
at
com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:498)
at
com.sybase.jdbc2.jdbc.SybConnection.checkConnection(SybConnection.java:1619)
at com.sybase.jdbc2.jdbc.SybConnection.close(SybConnection.java:685)
at
org.apache.avalon.excalibur.datasource.JdbcConnection.dispose(Unknown Source)
at
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommission(Unknown
Source)
at
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(Unknown Source)
at
org.apache.avalon.excalibur.datasource.JdbcDataSource.getConnection(Unknown
Source)
at
org.ap.digital.theWire.wireCore.DbConnection.getConnection(DbConnection.java:78)..
etc...
Has anyone seen these before? Is there a way I can get rid of them? 3/4 of
my log is simply these messages. Am I correct in my assumtion that it's
just a nonsense pool management issue that shouldn't be throwing an exception
and logging it ad-infinitum?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Sybase andExcalibur DataSource Management.
Posted by Berin Loritsch <bl...@apache.org>.
Michael Welles wrote:
> I've been working on a project for some time now using excalibur's datasource
> mananagement, using MySQL as a backend, with excellent results. Since MySQL
> can't to replicaiton and transactions on the same table type, we're being
> forced to move to a commercial RDBMS. I've successfully moved the project to
> DB2, and am now evaluating using Sybase ASE 12.5.
>
> Everything seems to be working fine, but still 'm getting lots of these
> apparently non-fatal stack traces in the log:
>
>
> Could not close connection
> java.sql.SQLException: JZ0C0: Connection is already closed.
> at
> com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:498)
> at
> com.sybase.jdbc2.jdbc.SybConnection.checkConnection(SybConnection.java:1619)
> at com.sybase.jdbc2.jdbc.SybConnection.close(SybConnection.java:685)
> at
> org.apache.avalon.excalibur.datasource.JdbcConnection.dispose(Unknown Source)
> at
> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommission(Unknown
> Source)
> at
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(Unknown Source)
> at
> org.apache.avalon.excalibur.datasource.JdbcDataSource.getConnection(Unknown
> Source)
> at
> org.ap.digital.theWire.wireCore.DbConnection.getConnection(DbConnection.java:78)..
>
> etc...
>
>
> Has anyone seen these before? Is there a way I can get rid of them? 3/4 of
> my log is simply these messages. Am I correct in my assumtion that it's
> just a nonsense pool management issue that shouldn't be throwing an exception
> and logging it ad-infinitum?
The exception is thrown by the driver--which I concider unusual. However, you are
correct, the exception should not be logged. I will adjust the code ASAP.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>