Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3343

JCA 1.5 Resource Adapter Config Properties cannot be specified

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.CR2
    • JBossAS-4.0.4.GA
    • JCA service
    • None

      A JCA 1.5 resource adapter might contain config properties in ra.xml. It is not possible in JBoss to override them with -ds.xml file.

      For example, here is an excert of SwiftMQ's intraVM ra.xml:

      <resourceadapter>
      <resourceadapter-class>
      com.swiftmq.connector.v15.ResourceAdapterImpl
      </resourceadapter-class>

      <config-property>
      <config-property-name>ProviderURL</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>smqp://intravm/timeout=10000</config-property-value>
      </config-property>
      <config-property>
      <config-property-name>IntraVM</config-property-name>
      <config-property-type>java.lang.Boolean</config-property-type>
      <config-property-value>true</config-property-value>
      </config-property>
      <config-property>
      <config-property-name>DebugMode</config-property-name>
      <config-property-type>java.lang.Boolean</config-property-type>
      <config-property-value>false</config-property-value>
      </config-property>
      <config-property>
      <config-property-name>RouterWorkingDirectory</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value><swiftmq_dir>/scripts/unix</config-property-value>
      </config-property>
      <config-property>
      <config-property-name>ConfigurationFilename</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>../../config/router1/routerconfig.xml</config-property-value>
      </config-property>

      It is not possible to overwrite them during deployment. It is only possible to specify the config properties of the ManagedConnectionFactory in -ds.xml.

              vickyk_jira Vicky Kak (Inactive)
              amueller_jira Andreas Mueller (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: