On Apr 29, 2008, at 5:34 AM, simen2 wrote:
djencks wrote:
You should set the class in your geronimo plan. After deployment the
new value will not be overwritten by changes you make though the
console.
Could you please explain how to do this for the tranql local oracle
adapter?
The idea is that the No/AllExceptionsAreFatal sorters are crude
approximations to use when you don't have a clue about what the
database driver actually does. With a db-specific wrapper such as the
oracle local adapter you can't set the exception sorter since
presumably the wrapper has already installed one that is specifically
adapted to the database driver. If there's something wrong with it
the best plan is to fix it and submit a patch. In particular the
oracle local wrapper already installs the OracleExceptionSorter.
Hope this clarifies things
david jencks
I have tried adding the following to my deployment plan:
<config-property-setting
name
=
"ExceptionSorterClass
">org.tranql.connector.oracle.OracleExceptionSorter</config-property-
setting>
but when deploying from the command line I get the following error:
Unable to distribute tranql-connector-oracle-local-1.3.rar:
org.apache.geronimo.common.DeploymentException: The plan is trying
to set attributes: [ExceptionSorterClass]
(using Geronimo 2.0.2)
Thanks,
Simen Storsveen
--
View this message in context:
http://www.nabble.com/How-can-I-set-ExceptionSorterClass-property-for-my-database-pool--tp16834635s134p16959451.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.