0
我有一個資源適配器爲WebSphere MQ 7.5對於WMQ 7.5取默認值,而不是指定CONFIGS的ResourceAdapter配置屬性
<resource-adapter id="wmq.jmsra.rar">
<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:/ctm/ConnectionFactory" use-java-context="true" pool-name="ConnectionFactory">
<config-property name="hostName">
devel.comp.net
</config-property>
<config-property name="username">
mqm
</config-property>
<config-property name="channel">
COMP.DIR.SVRCONN
</config-property>
<config-property name="password">
mqm
</config-property>
<config-property name="transportType">
CLIENT
</config-property>
<config-property name="queueManager">
devel.queue.manager
</config-property>
<config-property name="port">
1414
</config-property>
<security>
<application/>
</security>
</connection-definition>
</connection-definitions>
如果我改變端口號2414,然後它拿起這些屬性,但如果我不更改端口號,默認爲1414 localhost和queumanager name'',就像默認值一樣。任何人都可以告訴我這是什麼錯誤。
一旦我將端口號從2414恢復到1414,它就開始採取失控措施,當我將其更改回2414時,它將正確使用主機名和隊列管理器名稱。
感謝