8 Replies Latest reply on Aug 20, 2012 9:27 AM by Mylos Kathos

    Resource Adapter fails archive validation

    Mylos Kathos Master

      Hi all !

      I'm trying to add a resource adapter to JBoss AS 7 to connect with OpenMQ messaging system.

      I've deployed the imqjmsra.rar to JBoss AS and added the following definition:

       

      <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">
               <resource-adapters>
                   <resource-adapter>
                       <archive>
                           imqjmsra.rar
                       </archive>

       

                       <connection-definitions>
                           <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory"
                                       jndi-name="java:jboss/eis/ccdbMQCF" pool-name="ccdbConnectionFactory">
                               <config-property name="port">
                                   7676
                               </config-property>
                               <config-property name="hostName">
                                   localhost
                               </config-property>

                               <pool>
                                   <min-pool-size>
                                       1
                                   </min-pool-size>
                                   <max-pool-size>
                                       10
                                   </max-pool-size>
                               </pool>
                               <security>
                                   <application>
                                       true
                                   </application>
                               </security>
                           </connection-definition>
                       </connection-definitions>
                   </resource-adapter>
               </resource-adapters>
           </subsystem>

       

      However, besides a lot of warnings on all JARs included into the resource adapter such as:

      16:29:33,903 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry imqjmx_es.jar in "/C:/jboss-as-7.1.1.Final/bin/content/imqjmsra.rar/imqjmx.jar"  does not point to a valid jar for a Class-Path reference.

       

      ....I have the following blocker error:

       

      Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment
      failed: file:/C:/jboss-as-7.1.1.Final/standalone/tmp/vfs/tempcd4f2542e42d6f78/imqjmsra.rar-7d282a87fdc97451/contents/
              at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.create
      ObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2179)
              at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.create
      ObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1034)
              at org.jboss.as.connector.metadata.deployment.ResourceAdapterDeploymentService$AS7RaDeployer.doDeploy(ResourceAdapterDeploymentService.java:173)
              at org.jboss.as.connector.metadata.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:100)
              ... 5 more
      Caused by: org.jboss.jca.validator.ValidatorException: Severity: ERROR
      Section: 19.4.2
      Description: A ResourceAdapter must implement a "public int hashCode()" method.
      Code: com.sun.messaging.jms.ra.ResourceAdapter

      Severity: ERROR
      Section: 19.4.2
      Description: A ResourceAdapter must implement a "public boolean equals(Object)"
      method.
      Code: com.sun.messaging.jms.ra.ResourceAdapter

       

      It seems that the adapter fails the validation as a JCA resource. Somewhere in this forum I've read about an archive-validation="false" flag which can be added, however into the resource adapter's XSD I couldn't find any clue about it ?

       

      Can anybody help me ?

      Thanks

      Mylos

        • 1. Re: Resource Adapter fails archive validation
          Jesper Pedersen Master

          Look in the :jca: subsystem.

           

          However, you better work on getting those errors fixed, as they are a spec requirement.

          • 2. Re: Resource Adapter fails archive validation
            Mylos Kathos Master

            Thanks for your reply. Well I have disabled bean validation in the jca-subsystem. By adding the following resource adapter definition:

            <resource-adapters>
                    
                     <resource-adapter> 
                            <archive>imqjmsra.rar</archive>
                            <transaction-support>XATransaction</transaction-support>
                            <connection-definitions>
                                <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory"
                                 jndi-name="java:/eis/example"  pool-name="MyCF"/>
                                </connection-definitions>
                            </resource-adapter>


            </resource-adapters>

            However now the next error is that

            Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.connector.connection-factory.java:/eis/example is already registered

            However I couldn't find any connection factory bound at that address ?

            Any clue ?

            Thanks

            mylos

            • 3. Re: Resource Adapter fails archive validation
              Mylos Kathos Master

              Well unfortunately I'm still stuck with this resource adapter :-(  Here's what I have tried in the meanwhile:

               

              -I have downloaded the latest JBoss AS snapshot (7.2 Alpha)

              -I have downloaded the latest resource adapter for OpenMQ

              -Executed the rarinfo script on the resource adapter which helped me to create the ironjacamar.xml configuration file:

               

              <?xml version="1.0" encoding="UTF-8"?>

              <ironjacamar>
              <!-- This defines the ConnectionFactory bindings for JNDI -->
              <!-- You HAVE to use ManagedConnectionFactories here and you HAVE to disable the definitions in the ra.xml except the basic ConnectionFactory -->
              <connection-definitions>

                    <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true">

                      <xa-pool>
                        <min-pool-size>0</min-pool-size>
                        <max-pool-size>10</max-pool-size>
                        <prefill>false</prefill>
                        <use-strict-min>false</use-strict-min>
                        <flush-strategy>FailingConnectionOnly</flush-strategy>
                        <pad-xid>false</pad-xid>
                        <wrap-xa-resource>true</wrap-xa-resource>
                      </xa-pool>
                      <security>
                        <application/>
                      </security>
                    </connection-definition>
                    <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/TopicConnection" pool-name="TopicConnection" use-ccm="true" use-java-context="true">

                      <xa-pool>
                        <min-pool-size>0</min-pool-size>
                        <max-pool-size>10</max-pool-size>
                        <prefill>false</prefill>
                        <use-strict-min>false</use-strict-min>
                        <flush-strategy>FailingConnectionOnly</flush-strategy>
                        <pad-xid>false</pad-xid>
                        <wrap-xa-resource>true</wrap-xa-resource>
                      </xa-pool>
                      <security>
                        <application/>
                      </security>
                    </connection-definition>
                  </connection-definitions>
                  <admin-objects>
                    <admin-object class-name="com.sun.messaging.Queue" enabled="true" jndi-name="java:jboss/eis/ao/Queue" pool-name="Queue" use-java-context="true">
                      <config-property name="Name"/>
                      <config-property name="Description"/>
                    </admin-object>
                    <admin-object class-name="com.sun.messaging.Topic" enabled="true" jndi-name="java:jboss/eis/ao/Topic" pool-name="Topic" use-java-context="true">
                      <config-property name="Name"/>
                      <config-property name="Description"/>
                    </admin-object>
                  </admin-objects>

              </ironjacamar>

               

              Now I have turned the resource adapter in exploded format and added the ironjacamar.xml file into the META-INF folder. The duplicate JNDI binding issue disapperead however I have the following one which looks even worse.

               

              JBAS010406: Registered connection factory java:jboss/eis/QueueConnection
              13:34:15,038 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-6)
              JBAS010406: Registered connection factory java:jboss/eis/TopicConnection
              13:34:15,054 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.ra.deployer.imqjmsra: org.jboss.msc.service.StartException in service jboss.ra.deployer.imqjmsra: JBAS010446: Failed to start RA deployment [imqjmsra]
                      at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:105)
                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]
                      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
              Caused by: org.jboss.jca.deployers.common.DeployException: IJ020052: Unable to associate com.sun.messaging.jms.ra.ActivationSpec
                      at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.associateResourceAdapter(AbstractResourceAdapterDeployer.java:386)
                      at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.initActivationSpec(AbstractResourceAdapterDeployer.java:738)
                      at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2107)
                      at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1046)
                      at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$AS7RaDeployer.doDeploy(ResourceAdapterDeploymentService.
              java:185)
                      at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:102)
                      ... 5 more
              Caused by: java.lang.reflect.InvocationTargetException
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_31]
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_31]
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_31]
                      at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_31]
                      at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.associateResourceAdapter(AbstractResourceAdapterDeployer.java:382)
                      ... 10 more
              Caused by: java.lang.NullPointerException
                      at com.sun.messaging.jms.ra.ResourceAdapter._getRAUID(ResourceAdapter.java:2081)
                      at com.sun.messaging.jms.ra.ActivationSpec.setResourceAdapter(ActivationSpec.java:331)

               

              Is there a chance to get this resource adapter working ?

              Thanks a log

              Mylos

              • 4. Re: Resource Adapter fails archive validation
                Jesper Pedersen Master

                It looks like they are depending on a non-spec compliant resource adapter boot sequence - or you forgot to initialize required config-property's. You will have to work with the OpenMQ community in order to fix those issues.

                 

                It would help if you attached the rarinfo report...

                • 5. Re: Resource Adapter fails archive validation
                  Jesper Pedersen Master

                  Without having looked at the code in question my guess would be that the variable used for _getRAUID() is initialized in their ResourceAdapter::start(BootstrapContext) method. However, the ActivationSpec instances (well, all ResourceAdapterAssocation instances) are associated before the start method is called, so they need to fix their ActivationSpec implementation.

                   

                  The start(BootstapContext) method is the last method invoked during the resource adapter boot sequence.

                  • 6. Re: Resource Adapter fails archive validation
                    Mylos Kathos Master

                    Sure this is the report generated by the rarinfo tool:

                     

                    Archive: imqjmsra.rar
                    JCA version: 1.5
                    Type:  Bidirectional
                    Reauth:  No
                    Compliant: No
                    Native:  No

                    Resource-adapter:
                    -----------------
                    Class: com.sun.messaging.jms.ra.ResourceAdapter
                      Config-property: ConnectionURL (java.lang.String)
                      Config-property: UserName (java.lang.String)
                      Config-property: Password (java.lang.String)
                      Introspected Config-property: addressListBehavior (java.lang.String)
                      Introspected Config-property: addressListIterations (int)
                      Introspected Config-property: adminPassFile (java.lang.String)
                      Introspected Config-property: adminPassword (java.lang.String)
                      Introspected Config-property: adminUsername (java.lang.String)
                      Introspected Config-property: brokerArgs (java.lang.String)
                      Introspected Config-property: brokerBindAddress (java.lang.String)
                      Introspected Config-property: brokerEnableHA (boolean)
                      Introspected Config-property: brokerHomeDir (java.lang.String)
                      Introspected Config-property: brokerId (java.lang.String)
                      Introspected Config-property: brokerInstanceName (java.lang.String)
                      Introspected Config-property: brokerJavaDir (java.lang.String)
                      Introspected Config-property: brokerLibDir (java.lang.String)
                      Introspected Config-property: brokerPort (int)
                      Introspected Config-property: brokerProps (java.lang.String)
                      Introspected Config-property: brokerStartTimeout (int)
                      Introspected Config-property: brokerType (java.lang.String)
                      Introspected Config-property: brokerVarDir (java.lang.String)
                      Introspected Config-property: clusterBrokerList (java.lang.String)
                      Introspected Config-property: clusterId (java.lang.String)
                      Introspected Config-property: dBType (java.lang.String)
                      Introspected Config-property: doBind (boolean)
                      Introspected Config-property: doInitOnlyOnStart (boolean)
                      Introspected Config-property: groupName (java.lang.String)
                      Introspected Config-property: inAppClientContainer (boolean)
                      Introspected Config-property: inClusteredContainer (boolean)
                      Introspected Config-property: manageBrokerLifecycle (boolean)
                      Introspected Config-property: masterBroker (java.lang.String)
                      Introspected Config-property: nowaitForMasterBrokerTimeoutInSeconds (int)
                      Introspected Config-property: reconnectAttempts (int)
                      Introspected Config-property: reconnectEnabled (boolean)
                      Introspected Config-property: reconnectInterval (int)
                      Introspected Config-property: rmiRegistryPort (int)
                      Introspected Config-property: startRmiRegistry (boolean)
                      Introspected Config-property: useJNDIRmiServiceURL (boolean)
                      Introspected Config-property: useSSLJMXConnector (boolean)

                    Managed-connection-factory:
                    ---------------------------
                    Class: com.sun.messaging.jms.ra.ManagedConnectionFactory
                      Validating: No
                      Config-property: AddressList (java.lang.String)
                      Config-property: UserName (java.lang.String)
                      Config-property: Password (java.lang.String)
                      Introspected Config-property: addressListBehavior (java.lang.String)
                      Introspected Config-property: addressListIterations (int)
                      Introspected Config-property: clientId (java.lang.String)
                      Introspected Config-property: enableAPIDirect (boolean)
                      Introspected Config-property: enableRADirect (boolean)
                      Introspected Config-property: options (java.lang.String)
                      Introspected Config-property: reconnectAttempts (int)
                      Introspected Config-property: reconnectEnabled (boolean)
                      Introspected Config-property: reconnectInterval (int)
                      Introspected Config-property: useSharedSubscriptionInClusteredContainer (boolean)

                    Admin-object:
                    -------------
                    Class: com.sun.messaging.Queue
                      Config-property: Name (java.lang.String)
                      Config-property: Description (java.lang.String)

                    Class: com.sun.messaging.Topic
                      Config-property: Name (java.lang.String)
                      Config-property: Description (java.lang.String)

                    Activation-spec:
                    ----------------
                    Class: com.sun.messaging.jms.ra.ActivationSpec
                      Required-config-property: destination
                      Required-config-property: destinationType
                      Introspected Config-property: acknowledgeMode (java.lang.String)
                      Introspected Config-property: addressList (java.lang.String)
                      Introspected Config-property: addressListBehavior (java.lang.String)
                      Introspected Config-property: addressListIterations (int)
                      Introspected Config-property: clientId (java.lang.String)
                      Introspected Config-property: customAcknowledgeMode (java.lang.String)
                      Introspected Config-property: endpointExceptionRedeliveryAttempts (int)
                      Introspected Config-property: endpointExceptionRedeliveryInterval (int)
                      Introspected Config-property: endpointPoolMaxSize (int)
                      Introspected Config-property: endpointPoolResizeCount (int)
                      Introspected Config-property: endpointPoolResizeTimeout (int)
                      Introspected Config-property: endpointPoolSteadySize (int)
                      Introspected Config-property: mdbName (java.lang.String)
                      Introspected Config-property: messageSelector (java.lang.String)
                      Introspected Config-property: options (java.lang.String)
                      Introspected Config-property: password (java.lang.String)
                      Introspected Config-property: reconnectAttempts (int)
                      Introspected Config-property: reconnectEnabled (boolean)
                      Introspected Config-property: reconnectInterval (int)
                      Introspected Config-property: sendUndeliverableMsgsToDMQ (boolean)
                      Introspected Config-property: subscriptionDurability (java.lang.String)
                      Introspected Config-property: subscriptionName (java.lang.String)
                      Introspected Config-property: useSharedSubscriptionInClusteredContainer (boolean)
                      Introspected Config-property: userName (java.lang.String)

                    Deployment descriptor:
                    ----------------------
                    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
                    <resource-adapters>
                      <resource-adapter>
                        <archive>imqjmsra.rar</archive>
                        <config-property name="UserName">guest</config-property>
                        <config-property name="ConnectionURL">mq://localhost:7676/</config-property>
                        <config-property name="Password">guest</config-property>
                        <transaction-support>XATransaction</transaction-support>
                        <connection-definitions>
                          <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true">
                            <config-property name="UserName">guest</config-property>
                            <config-property name="AddressList">localhost</config-property>
                            <config-property name="Password">guest</config-property>
                            <xa-pool>
                              <min-pool-size>0</min-pool-size>
                              <max-pool-size>10</max-pool-size>
                              <prefill>false</prefill>
                              <use-strict-min>false</use-strict-min>
                              <flush-strategy>FailingConnectionOnly</flush-strategy>
                              <pad-xid>false</pad-xid>
                              <wrap-xa-resource>true</wrap-xa-resource>
                            </xa-pool>
                            <security>
                              <application/>
                            </security>
                          </connection-definition>
                          <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true">
                            <config-property name="UserName">guest</config-property>
                            <config-property name="AddressList">localhost</config-property>
                            <config-property name="Password">guest</config-property>
                            <xa-pool>
                              <min-pool-size>0</min-pool-size>
                              <max-pool-size>10</max-pool-size>
                              <prefill>false</prefill>
                              <use-strict-min>false</use-strict-min>
                              <flush-strategy>FailingConnectionOnly</flush-strategy>
                              <pad-xid>false</pad-xid>
                              <wrap-xa-resource>true</wrap-xa-resource>
                            </xa-pool>
                            <security>
                              <application/>
                            </security>
                          </connection-definition>
                          <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/TopicConnection" pool-name="TopicConnection" use-ccm="true" use-java-context="true">
                            <config-property name="UserName">guest</config-property>
                            <config-property name="AddressList">localhost</config-property>
                            <config-property name="Password">guest</config-property>
                            <xa-pool>
                              <min-pool-size>0</min-pool-size>
                              <max-pool-size>10</max-pool-size>
                              <prefill>false</prefill>
                              <use-strict-min>false</use-strict-min>
                              <flush-strategy>FailingConnectionOnly</flush-strategy>
                              <pad-xid>false</pad-xid>
                              <wrap-xa-resource>true</wrap-xa-resource>
                            </xa-pool>
                            <security>
                              <application/>
                            </security>
                          </connection-definition>
                        </connection-definitions>
                        <admin-objects>
                          <admin-object class-name="com.sun.messaging.Queue" enabled="true" jndi-name="java:jboss/eis/ao/Queue" pool-name="Queue" use-java-context="true">
                            <config-property name="Name"/>
                            <config-property name="Description"/>
                          </admin-object>
                          <admin-object class-name="com.sun.messaging.Topic" enabled="true" jndi-name="java:jboss/eis/ao/Topic" pool-name="Topic" use-java-context="true">
                            <config-property name="Name"/>
                            <config-property name="Description"/>
                          </admin-object>
                        </admin-objects>
                      </resource-adapter>
                    </resource-adapters>

                    And this is the ironjacamar.xml file I have created with it (Notice it is slightly different from my earlier post. I just discovered that config properties can be added without any issue, while in the 7.1.1 final release  caused me failure in validation. With the latest snapshot I'm using exactly the same config from the rarinfo tool)

                     

                    <?xml version="1.0" encoding="UTF-8"?>

                    <ironjacamar>

                        <config-property name="UserName">guest</config-property>
                        <config-property name="ConnectionURL">mq://localhost:7676/</config-property>
                        <config-property name="Password">guest</config-property>
                        <transaction-support>XATransaction</transaction-support>
                        <connection-definitions>
                          <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true">
                            <config-property name="UserName">guest</config-property>
                            <config-property name="AddressList">localhost</config-property>
                            <config-property name="Password">guest</config-property>
                            <xa-pool>
                              <min-pool-size>0</min-pool-size>
                              <max-pool-size>10</max-pool-size>
                              <prefill>false</prefill>
                              <use-strict-min>false</use-strict-min>
                              <flush-strategy>FailingConnectionOnly</flush-strategy>
                              <pad-xid>false</pad-xid>
                              <wrap-xa-resource>true</wrap-xa-resource>
                            </xa-pool>
                            <security>
                              <application/>
                            </security>
                          </connection-definition>
                          <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true">
                            <config-property name="UserName">guest</config-property>
                            <config-property name="AddressList">localhost</config-property>
                            <config-property name="Password">guest</config-property>
                            <xa-pool>
                              <min-pool-size>0</min-pool-size>
                              <max-pool-size>10</max-pool-size>
                              <prefill>false</prefill>
                              <use-strict-min>false</use-strict-min>
                              <flush-strategy>FailingConnectionOnly</flush-strategy>
                              <pad-xid>false</pad-xid>
                              <wrap-xa-resource>true</wrap-xa-resource>
                            </xa-pool>
                            <security>
                              <application/>
                            </security>
                          </connection-definition>
                          <connection-definition class-name="com.sun.messaging.jms.ra.ManagedConnectionFactory" enabled="true" jndi-name="java:jboss/eis/TopicConnection" pool-name="TopicConnection" use-ccm="true" use-java-context="true">
                            <config-property name="UserName">guest</config-property>
                            <config-property name="AddressList">localhost</config-property>
                            <config-property name="Password">guest</config-property>
                            <xa-pool>
                              <min-pool-size>0</min-pool-size>
                              <max-pool-size>10</max-pool-size>
                              <prefill>false</prefill>
                              <use-strict-min>false</use-strict-min>
                              <flush-strategy>FailingConnectionOnly</flush-strategy>
                              <pad-xid>false</pad-xid>
                              <wrap-xa-resource>true</wrap-xa-resource>
                            </xa-pool>
                            <security>
                              <application/>
                            </security>
                          </connection-definition>
                        </connection-definitions>
                        <admin-objects>
                          <admin-object class-name="com.sun.messaging.Queue" enabled="true" jndi-name="java:jboss/eis/ao/Queue" pool-name="Queue" use-java-context="true">
                            <config-property name="Name"/>
                            <config-property name="Description"/>
                          </admin-object>
                          <admin-object class-name="com.sun.messaging.Topic" enabled="true" jndi-name="java:jboss/eis/ao/Topic" pool-name="Topic" use-java-context="true">
                            <config-property name="Name"/>
                            <config-property name="Description"/>
                          </admin-object>
                        </admin-objects>


                    </ironjacamar>

                     

                    However the issue stays the same...........:-(

                    • 7. Re: Resource Adapter fails archive validation
                      Francesco Marchioni Apprentice

                      Hi all,

                      I have been working recentely on a solution which required connecting to OpenMQ via resource adapter. This post was a good starting point for solving the first issues, and after a few headaches I finally managed to install the dam.ed resource adapter on JBoss AS 7. (As Jesper pointed out, it was necessary to solve the last issue by patching the ResourceAdapter Class :-< )

                      I have logged all the steps here in this Resource Adapter tutorial.

                      Hope it will save the day to somebody else :-)

                      Cheers

                      Francesco

                      • 8. Re: Resource Adapter fails archive validation
                        Mylos Kathos Master

                        Thanks a lot, I got it working after following your instructions! By the way, awesome site, congrats !

                        Regards

                        Mylos