Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1542

Aries transaction manager fails with background connection validation

    XMLWordPrintableJSON

Details

    Description

      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:

      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)

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              jpoth John Poth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: