Hello,

we are using OJB on an application server, in the moment JBoss. everything works fine until
there comes an exception and the PersistentBroker gets closed without a commit.


in the close()-method the broker does a rollback on the underlying connection-object and with
the ByPassConnection the rollback is then triggered on the underlying connection-object.


now my exception is caught by the EJB-container and again a rollback is triggered on the current transaction,
which generates another exception from the EJB-container.


we have seen this behaviour also on WebSphere and on SunONE-Applicationserver.

things seemed to be better after we used our own ConnectionFactoryManagedImpl where the rollback()-method
is also no-op.


do I miss something, why the rollback()-method is needed as is in an applcation-server-scenario ?

some hints are welcome to understand better what is going on here, thank you

Kristian


-- ---------------------------------------------------------------------- Jentro Kristian Meier, Developer ---------------------------------------------------------------------- Peter-Henlein-Strasse 28, 85540 Haar/Munich, Germany Tel. +49 89 462 385 0 mailto: [EMAIL PROTECTED] Fax +49 89 462 385 28 internet: http://www.jentro.com ----------------------------------------------------------------------



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



Reply via email to