1

Topic: Tomcat 7 + WebSphere 7 MQ

Zdr. I try to create JNDI Resource in a file Server.xml Tomkata for connection to Sphere, but it does not turn out yet.  and Sphere are allocated on different servers. I downloaded to myself all *.jar libraries from a folder/java from Sphere and supposed from in a folder/lib Tomkata.
I followed an example of connection from a site: https://wiki.apache.org/tomcat/HowTo#Ho … nd_JNDI.3F
Plus I added 2 attributes: username and password. In the code of application the call of this resource causes an error - It is impossible to create the Resource.

<Resource
name = "jms/MyQCF"
auth = "Container"
type = "com.ibm.mq.jms. MQQueueConnectionFactory"
factory = "com.ibm.mq.jms.MQQueueConnectionFactoryFactory"
description = "JMS Queue Connection Factory for sending messages"
HOST = "<mymqserver>"
PORT = "1414"
CHAN = "<mychannel>"
TRAN = "1"
QMGR = "<myqueuemanager>"/>
<Resource
name = "jms/MyQ"
auth = "Container"
type = "com.ibm.mq.jms. MQQueue"
factory = "com.ibm.mq.jms. MQQueueFactory"
description = "JMS Queue for receiving messages from Dialog"
QU = "<myqueue>"/>

[sub] Help any information I, please, can something I do not understand or not so I do!!! [/sub]