aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1542) Aries transaction manager fails with background connection validation
Date Mon, 02 May 2016 13:38:12 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15266621#comment-15266621
] 

ASF subversion and git services commented on ARIES-1542:
--------------------------------------------------------

Commit 1741981 from [~gnt] in branch 'aries/trunk'
[ https://svn.apache.org/r1741981 ]

[ARIES-1542] Fix reflection problem in org.apache.aries.transaction.jdbc.internal.ValidatingGenericConnectionManager

> 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)

Mime
View raw message