Jboss javax.jms.InvalidDestinationException:MQJMS2008:无法打开MQ队列----MQJE001:完成代码2,原因2085

Jboss javax.jms.InvalidDestinationException:MQJMS2008:无法打开MQ队列----MQJE001:完成代码2,原因2085,jboss,websphere,ibm-mq,Jboss,Websphere,Ibm Mq,我正在将一个应用程序从Websphere迁移到JBoss EAP 6.4 Jboss已配置为通过资源适配器与MQ队列协调。 这是Jboss的配置: <resource-adapters> <resource-adapter id="wmq.jmsra.rar"> <archive> wmq.jmsra.rar </archive> <transaction-support>NoTransactio

我正在将一个应用程序从Websphere迁移到JBoss EAP 6.4

Jboss已配置为通过资源适配器与MQ队列协调。 这是Jboss的配置:

<resource-adapters>
<resource-adapter id="wmq.jmsra.rar">
    <archive>
        wmq.jmsra.rar
    </archive>
    <transaction-support>NoTransaction</transaction-support>
    <config-property name="logWriterEnabled">
        true
    </config-property>
    <config-property name="maxConnections">
        100
    </config-property>
    <config-property name="reconnectionRetryCount">
        1000
    </config-property>
    <config-property name="traceLevel">
        6
    </config-property>
    <config-property name="traceEnabled">
        true
    </config-property>
    <config-property name="reconnectionRetryInterval">
        30000
    </config-property>
    <config-property name="connectionConcurrency">
        1
    </config-property>
    <connection-definitions>
        <connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/puc.ejb.factory" enabled="true" use-java-context="false" pool-name="puc.ejb.factory">
            <config-property name="port">
                ${wmq.port:1414}
            </config-property>
            <config-property name="hostName">
                ${wmq.host:xxx.xxx.xxx.xxx}
            </config-property>
            <config-property name="channel">
                ${wmq.queue.channel:CLT2SRV}
            </config-property>
            <config-property name="transportType">
                CLIENT
            </config-property>
            <config-property name="queueManager">
                ${wmq.queue.manager:MQEDFIDP}
            </config-property>
            <timeout>
                <allocation-retry>3</allocation-retry>
                <allocation-retry-wait-millis>5000</allocation-retry-wait-millis>
            </timeout>
        </connection-definition>
    </connection-definitions>
    <admin-objects>
        <admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:/puc.ejb.queue" enabled="true" use-java-context="false" pool-name="puc.ejb.queue">
            <config-property name="baseQueueName">
                DATAGRAM.GG9.INVIOSMS
            </config-property>
            <config-property name="baseQueueManagerName">
                MQEDFIDP
            </config-property>
        </admin-object>
    </admin-objects>
</resource-adapter>

com.ibm.mq.MQException:MQJE001:Codice di completamento'2',ragione “2085”


为什么不在IBM MQ知识中心中查找原因代码呢。如果您进行了一次简单的搜索(即Google),则会位于顶部

,错误是未找到目标名称
DATAGRAM.GG9.INVIOSMS
。确保
MQEDFIDP
队列管理器上存在
DATAGRAM.GG9.INVIOSMS
。您可能还需要向se检查队列管理器的
CLT2SRV
通道是否正确。

谢谢。显然,我已经研究了错误,但在我的情况下,不像你,没有提供这个页面你建议。这一页帮助了我。我通过省略ObjectQmgrName字段解决了这个问题。再次感谢你。请你把那些无关的废话从原木上剪下来好吗?