Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1997

PostgreSQL XA datasources does not have URL method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.0.GA
    • 7.2.1.GA
    • Cloud, Kie-Server
    • None
    • 2019 Week 11-13

      The PostgreSQL does not implement the setURL method, only setUrl, for this we need to make the according changes on the datasource creation scripts to correct set the Url property.

      Issue:

      Caused by: javax.resource.ResourceException: IJ031102: Failed to load XA datasource: org.postgresql.xa.PGXADataSource
      	at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:662)
      	at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:515)
      	... 20 more
      Caused by: java.lang.NoSuchMethodException: Method setURL not found
      	at org.jboss.jca.adapters.jdbc.util.Injection.inject(Injection.java:139)
      	at org.jboss.jca.adapters.jdbc.util.Injection.inject(Injection.java:68)
      	at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:657)
      	... 21 more
      

              rhn-support-fspolti Filippe Spolti
              rhn-support-fspolti Filippe Spolti
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: