4 Replies Latest reply on Sep 19, 2016 4:17 AM by maeste

    Deploying RAR connector as a JBoss Module

    gonzalad

      Hello,

       

      I've just created a RAR connector, and would like to know how to deploy it as a module in JBoss 7.1 (in $JBOSS_HOME/modules directory) and reference it in standalone.xml (I've only seen samples with <archive> referencing a file and not a module).

      Is it possible ?

       

      Thanks !

       

      P.S. For the moment, I've always use deployments directory :

      • dropped my rar file into deployments directory.
      • referenced it from my webapp jboss-deployment-structure.xml :
        <module name="deployment.jcms-j2c-1.0.0-SNAPSHOT.rar"/>
      • configured the jca connectionFactory in standalone.xml
      <resource-adapter>
          <archive>
              jcms-j2c-1.0.0-SNAPSHOT.rar
          </archive>
          <transaction-support>NoTransaction</transaction-support>
          <config-property name="Name">
              ResourceAdapterValue
          </config-property>
          <connection-definitions>
              <connection-definition class-name="xxx" jndi-name="java:/eis/AwsJcms" enabled="true" pool-name="AwsJcmsPool">
                  <config-property name="baseUrl">
                      yyy
                  </config-property>
              </connection-definition>
          </connection-definitions>
      </resource-adapter>