[ 
https://issues.apache.org/jira/browse/ARIES-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved ARIES-1542.
------------------------------------
       Resolution: Fixed
    Fix Version/s: transaction-jdbc-2.1.2

> Aries transaction manager fails with background connection validation
> ---------------------------------------------------------------------
>
>                 Key: ARIES-1542
>                 URL: https://issues.apache.org/jira/browse/ARIES-1542
>             Project: Aries
>          Issue Type: Bug
>          Components: Transaction
>            Reporter: John Poth
>            Assignee: Guillaume Nodet
>             Fix For: transaction-jdbc-2.1.2
>
>
> This seems to be a defect in 
> org.apache.aries.transaction.jdbc.internal.ValidatingGenericConnectionManager,
>  reflection should be called on the "current" field, not stack. This can 
> cause the following exception:
> {quote}
> Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: pool
>       at 
> org.apache.aries.transaction.jdbc.internal.Reflections.get(Reflections.java:56)
>       at 
> org.apache.aries.transaction.jdbc.internal.ValidatingGenericConnectionManager.<init>(ValidatingGenericConnectionManager.java:89)
>       at 
> org.apache.aries.transaction.jdbc.internal.ConnectionManagerFactory.init(ConnectionManagerFactory.java:152)
>       at 
> org.apache.aries.transaction.jdbc.RecoverableDataSource.start(RecoverableDataSource.java:235)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:497)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to