Subject RE: [Firebird-Java] Can't destroy managed connection with active transaction
Author Robert (Jamie) Munro
> -----Original Message-----
> From: Robert (Jamie) Munro [mailto:rjmunro@...]
> Sent: 03 June 2003 11:07
> To: Firebird-Java@yahoogroups.com
> Subject: RE: [Firebird-Java] Can't destroy managed connection with
> active transaction
>
>
>
>
> > -----Original Message-----
> > From: Ken Richard [mailto:kenr@...]
> > Sent: 30 May 2003 17:32
> > To: Firebird-Java@yahoogroups.com
> > Subject: RE: [Firebird-Java] Can't destroy managed connection with
> > active transaction
> >
> >
> > There is probably something wrong with the current state of your
> > connection, but the driver is losing track of the original exception
> > because another exception occurred when cleaning up after the first
> > exception.
> >
> > Do you have the source code? The easiest to get the exception would be
> > to add a ge.printStackTrace(System.out) to the checkFatal function
> > indicated below. The original exception will probably explain what is
> > going on.
>
> With the modified code you sent me, I get the following:
>
> org.firebirdsql.gds.GDSException: internal gds software consistency check
> (pointer page vanished from mark_full (256))
>
[snip]
>
> Does this indicate a problem with the database? I've had forced
> writes off,
> in order to speed up the operation to load the database with data (which
> takes about 8 hours), and I may well have killed the database process at
> some point.

This was a GDB file corruption, and I have now fixed it using the
instructions here:
http://www.ibphoenix.com/a516.htm
I can now continue with my project (http://fibre.sf.net/ - the firebird
replication engine)

2 points remain:

1. I can't compile the driver myself from the latest CVS (don't worry about
me specifically, but others mentioned similar problems.

\client-java\src\test\org\firebirdsql\pool\TestFBConnectionPoolDataSource.ja
va:47: cannot resolve symbol
symbol : class FBConnectionPoolConfiguration
location: class org.firebirdsql.pool.TestFBConnectionPoolDataSource
private FBConnectionPoolConfiguration config;
^

2. Database corruptions cause unhelpful exception "Can't destroy managed
connection with active transaction" (also note the double space) instead of
something useful, like the message above.

Thanks very much for everyones help, and for writing the driver in the first
place.

Robert Munro