geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: Issues facing when connecting with Oracle10g
Date Thu, 12 Mar 2009 16:45:13 GMT
Its difficult to do more than guess without more information on what  
you have deployed.

You should be using one of the tranql oracle specific wrappers for  
your db pool.  This should take care of the commit-before-autocommit  
problem caused by oracle jdbc spec non-compliance.  If you aren't  
using an oracle specific wrapper you do need to set the commit before  
autocommit property to true, but you should do it in your pool  
deployment plan, not by modifying the ra.xml.

At a minimum I think we'd need to know which tranql wrapper you are  
using and to see the deployment plan for it.

david jencks

On Mar 12, 2009, at 6:19 AM, Hearty wrote:

> When I have configured database pool with oracle10g and running  
> against the
> apache geronimo v2.1, I am getting some unusual errors where as when  
> I've
> tried with tomcat5.5 it is working smoothly.
> Oracle driver I've used is ojdbc14-
> The following is the error message I am getting. Also I am uploading  
> the
> error log since the error log is a big file
> errorLog.txt
> I have modified ra.xml with the following entry
> <config-property>
>                    <description>
>                        Flag indicating whether the Driver requires a  
> commit
> to be performed
>                        before enabling auto-commit on a Connection.  
> This
> should be set to false for
>                        compliant drivers to avoid an extraneous  
> commit to
> the database.
>                    </description>
> <config-property-name>CommitBeforeAutocommit</config-property-name>
> <config-property-type>java.lang.Boolean</config-property-type>
>                    <config-property-value>true</config-property-value>
>                </config-property>
> The default value was false
> I am struggling with this issue for more than one week.
> Any help is highly appreciated. I am very new to apache geronimo.  
> Please let
> me know if I've missed out any entries.
> -- 
> View this message in context:
> Sent from the Apache Geronimo - Users mailing list archive at  

View raw message