0 Replies Latest reply on Sep 26, 2017 11:16 AM by shaik ali

    Need help in CLI command "failure-description" => {"domain-failure-description" => "JBAS014792: Unknown attribute "},

    shaik ali Newbie

      Hi,

       

      i need help in jboss cli command. I am trying to update the parameters of  <config-property> and <admin-objects> for below connection definition: TESTCLIQCF.

      Below command i tried but showing wrong attribute in name field.

       

      /profile=full-ha/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/connection-definitions=TestCLIQCF:write-attribute(name=max-pool-size,value=40)  --------  Command working

       

      /profile=full-ha/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/connection-definitions=TestCLIQCF/config-properties=port:write-attribute(name=port, value=2222)

      {

         "outcome" => "failed",

          "failure-description" => {"domain-failure-description" => "JBAS014792: Unknown attribute port"},

          "rolled-back" => true

       

      /profile=full-ha/subsystem=resource-adapters/resource-adapter=wmq.jmsra.rar/admin-objects=TESTADMINOBJECT/config-properties=baseQueueName:write-attribute(name=baseQueueName, value=newqueue)

      {

          "outcome" => "failed",

          "failure-description" => {"domain-failure-description" => "JBAS014792: Unknown attribute baseQueueName"},

          "rolled-back" => true

      }

       

      domain.xml:

      ---------------------------------------------------------------------------

      <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:jboss/TESTCLIQCF" enabled="true" use-java-context="true" pool-name="TESTCLIQCF">

                                      <config-property name="channel">

                                          JBOSS.SVRCONN

                                      </config-property>

                                      <config-property name="hostName">

                                          11.11.11.11

                                      </config-property>

                                      <config-property name="transportType">

                                          CLIENT

                                      </config-property>

                                      <config-property name="clientID">

                                          proj_qmgr

                                      </config-property>

                                      <config-property name="queueManager">

                                          TESTQMGR

                                      </config-property>

                                      <config-property name="port">

                                          1111

                                      </config-property>

                                      <pool>

                                          <min-pool-size>5</min-pool-size>

                                          <max-pool-size>40</max-pool-size>

                                          <prefill>true</prefill>

                                          <flush-strategy>FailingConnectionOnly</flush-strategy>

                                      </pool>

                                      <security>

                                          <application>false</application>

                                      </security>

                                      <timeout>

                                          <blocking-timeout-millis>5000</blocking-timeout-millis>

                                          <idle-timeout-minutes>5</idle-timeout-minutes>

                                          <allocation-retry>3</allocation-retry>

                                          <allocation-retry-wait-millis>5000</allocation-retry-wait-millis>

                                      </timeout>

                                  </connection-definition>

       

      <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:jboss/TESTADMINOBJECT" pool-name="TESTADMINOBJECT">

                                      <config-property name="baseQueueName">

                                          Testqueue

                                      </config-property>

                                      <config-property name="baseQueueManagerName">

                                          TestQMGR

                                      </config-property>

                                  </admin-object>

      ----------------------------------------------------------------------------------------------------