Your config looks fine to me, so I don't see the problem being the client
connection properties since they look exactly like a config that I have
which is known to work.  Do you have other client code attaching to this QM
and SVRCONN?  If this is a new setup, I suspect firewall, nat issues, or
even a bad channel def.

HTH

Chris

--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Tue, Aug 25, 2009 at 8:40 AM, jrrosel <[email protected]>wrote:

>
> Using the new endpoint style I was able to get a bit further. Unfortunately
> I
> am now getting an MQConnection error:
>
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occur
> ed during JMS processing; nested exception is javax.jms.JMSException:
> MQJMS2005:
>  failed to create MQQueueManager for 'leuseg05.leinternal.com:LEUSEG05';
> nested
> exception is com.ibm.mq.MQException: MQJE001: An MQException occurred:
> Completio
> n Code 2, Reason 2009
>
> My mq admin says that may be due to the application not connecting in
> client
> mode. Based on the connection factory bean properties I believe I am
> setting
> it up for tcpip client. The connection factory bean definition is below:
>
>  <bean id="mqConnectionFactory"
> class="com.ibm.mq.jms.MQQueueConnectionFactory">
>    <property name="transportType" >
>            <util:constant
> static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP" />
>    </property>
>    <property name="queueManager" value="LEUSEG05" />
>    <property name="hostName" value="leuseg05.leinternal.com" />
>    <property name="channel" value="java.channel" />
>     <property name="port" value="1414" />
>  </bean>
>
> Any thoughts on this one?
>
> Thanks Again!
>
> It also looks like you are using the old style JMS endpoints.  I would
> recommend using the new JMS endpoints as they are much more flexible.
> http://servicemix.apache.org/servicemix-jms-new-endpoints.html
>
> The syntax is slightly different but it should only take a few minutes to
> convert the endoint config you show below.
>
> Thanks,
> Chris
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
> --
> View this message in context:
> http://www.nabble.com/Servicemix-JMS-and-Websphere-MQ-tp25082012p25135649.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to