2 Replies Latest reply on Dec 2, 2013 8:08 AM by Jesper Pedersen

    Resource adapter in Jboss 7.1.1

    michel777 Newbie

      Hello

      I installed a resource adapter in Jboss 7.1.1 in standalone mode and using standalone.xml configuration file.

      The connector to install is cicseci.rar from CICS IBM. (I have installed this connector without problem on many J2E server as WAS, Weblo)

      After the RA deploiment (clean with a validation to false cause RA in JCA 1.5 version and doesn't contains the equals and hashCode methods required by JCA 1.6),

      I have added into standalone xml the following code:

       

              <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">

                   <resource-adapters>

                       <resource-adapter>

                           <archive>cicseci-8.0.0.4.rar</archive>

                           <transaction-support>NoTransaction</transaction-support>

                           <connection-definitions>

                               <connection-definition class-name="com.ibm.connector2.cics.ECIManagedConnectionFactory" jndi-name="java:/eis/ECI" pool-name="CicsConnectionFactory">

                                   <config-property name="ServerName">XXXXX</config-property>

                                   <config-property name="PortNumber">2999</config-property>

                                   <config-property name="ConnectionURL">tcp://a.b.c</config-property>

                                   <pool>

                                      <min-pool-size>10</min-pool-size>

                                      <max-pool-size>100</max-pool-size>

                                   </pool>

                               </connection-definition>

                           </connection-definitions>

                       </resource-adapter>

                   </resource-adapters>

              </subsystem>

       

      After restart i have the connector bounded : JBAS010401: Bound JCA ConnectionFactory [java:/eis/ECI]

      The problem occurs when I deploy the little application and the cause is :

      java.lang.ClassNotFoundException: com.ibm.connector2.cics.ECIInteractionSpec from [Module "deployment.ECIIVT.ear.ECIIVTEJB.jar:main" from Service Module Loader]

       

      Of course, this InteractionSpec implementation exists in the RA but is not accessible from the EAR/WAR class loader?

      Have you an idea ?

      Many thanks