2 Replies Latest reply on Oct 20, 2015 8:46 AM by ppantula83

    Issues in deployment of IBM MQ resource adapter wmq.jmsra.rar

    ppantula83

      Hi,

      We are trying to migrate our application from JbossAS 7.1.1 to WildFly 9.0.1 Final.

       

      We are facing issues related to IBM MQ configuration and deployment of wmq.jmsra.rar file.

      On JBoss7.1.1 we did ot face much issues while deploying this rar file.

       

      Complete exception and my configuration in standalone.xml file is pasted below. Can someone help me out in this regard. Because we are struck in this part.

      Also I need to configure multiple resource adapters as we connect to different queue connection factories and queue managers in production.

       

      Thanks in Advance.

          <subsystem xmlns="urn:jboss:domain:resource-adapters:3.0">
              <resource-adapters>
                  <resource-adapter id="wmq.jmsra.phptp">
                      <archive>
                          wmq.jmsra.rar
                      </archive>
                      <transaction-support>NoTransaction</transaction-support>
                      <connection-definitions>
                          <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/qcf/phptp" enabled="true" pool-name="mqConnectionPHPTPPool">
                              <config-property name="port">
                                  1415
                              </config-property>
                              <config-property name="hostName">
                                  192.168.0.247
                              </config-property>
                              <config-property name="transportType">
                                  CLIENT
                              </config-property>
                              <config-property name="cleanupInterval">
                                  300000
                              </config-property>
                              <config-property name="queueManager">
                                  cbp.queue.manager
                              </config-property>
                              <pool>
                                  <min-pool-size>1</min-pool-size>
                                  <max-pool-size>200</max-pool-size>
                                  <prefill>true</prefill>
                              </pool>
                          </connection-definition>
                      </connection-definitions>
                  </resource-adapter>
              </resource-adapters>
          </subsystem>

       

       

       

      16:36:51,145 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFLYDR0001: Content added at location /home/jboss/wf9/wildfly-9.0.1.Final/standalone/data/content/3b/2da0a557c050a532828d682eaa36e51d02f945/content

      16:36:51,167 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "wmq.jmsra.rar" (runtime-name: "wmq.jmsra.rar")

      16:36:51,553 INFO  [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4) IJ020001: Required license terms for file:/home/jboss/wf9/wildfly-9.0.1.Final/standalone/tmp/vfs/temp/temp92e9ad5484975abd/content-59e74dc1bdd87a7e/contents/

      16:36:51,996 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 61) MSC000001: Failed to start service jboss.ra.deployer."wmq.jmsra.rar": org.jboss.msc.service.StartException in service jboss.ra.deployer."wmq.jmsra.rar": WFLYJCA0046: Failed to start RA deployment [wmq.jmsra.rar]

          at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$1.run(ResourceAdapterDeploymentService.java:155)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]

          at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/home/jboss/wf9/wildfly-9.0.1.Final/standalone/tmp/vfs/temp/temp92e9ad5484975abd/content-59e74dc1bdd87a7e/contents/

          at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2004) [ironjacamar-deployers-common-1.2.4.Final.jar:1.2.4.Final]

          at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService$AS7RaDeployer.doDeploy(ResourceAdapterDeploymentService.java:207)

          at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterDeploymentService.start(ResourceAdapterDeploymentService.java:116)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]

      Caused by: org.jboss.jca.validator.ValidatorException: Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: traceLevel Type: int

       

      Severity: ERROR

      Section: 6.5.3.2

      Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.

      Code: com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: maxConnections Type: int

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: reconnectionRetryInterval Type: int

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: logWriterEnabled Type: boolean

       

      Severity: ERROR

      Section: 6.5.3.2

      Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.

      Code: com.ibm.mq.connector.outbound.ManagedTopicConnectionFactoryImpl

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: traceEnabled Type: boolean

       

      Severity: ERROR

      Section: 6.5.3.2

      Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.

      Code: com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: connectionConcurrency Type: int

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: reconnectionRetryCount Type: int

       

          ... 8 more

       

      16:36:52,003 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "wmq.jmsra.rar")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.ra.deployer.\"wmq.jmsra.rar\"" => "org.jboss.msc.service.StartException in service jboss.ra.deployer.\"wmq.jmsra.rar\": WFLYJCA0046: Failed to start RA deployment [wmq.jmsra.rar]

          Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file:/home/jboss/wf9/wildfly-9.0.1.Final/standalone/tmp/vfs/temp/temp92e9ad5484975abd/content-59e74dc1bdd87a7e/contents/

          Caused by: org.jboss.jca.validator.ValidatorException: Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: traceLevel Type: int

       

      Severity: ERROR

      Section: 6.5.3.2

      Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.

      Code: com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: maxConnections Type: int

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: reconnectionRetryInterval Type: int

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: logWriterEnabled Type: boolean

       

      Severity: ERROR

      Section: 6.5.3.2

      Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.

      Code: com.ibm.mq.connector.outbound.ManagedTopicConnectionFactoryImpl

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: traceEnabled Type: boolean

       

      Severity: ERROR

      Section: 6.5.3.2

      Description: The class must implement the javax.resource.spi.ManagedConnectionFactory interface.

      Code: com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: connectionConcurrency Type: int

       

      Severity: WARNING

      Section: 20.7

      Description: Invalid config-property-type for ResourceAdapter.

      Code: Class: com.ibm.mq.connector.ResourceAdapterImpl Property: reconnectionRetryCount Type: int

      "}}

      16:36:52,171 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0010: Deployed "wmq.jmsra.rar" (runtime-name : "wmq.jmsra.rar")

      16:36:52,172 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.ra.deployer."wmq.jmsra.rar": org.jboss.msc.service.StartException in service jboss.ra.deployer."wmq.jmsra.rar": WFLYJCA0046: Failed to start RA deployment [wmq.jmsra.rar]

       

      Regards,

      Pradeep. P