<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-15660</id>
	<title>Nabble - SwiftMQ JMS Forum</title>
	<updated>2009-11-21T02:38:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/SwiftMQ-JMS-Forum-f15660.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SwiftMQ-JMS-Forum-f15660.html" />
	<subtitle type="html">Free forum for Q/A of the &lt;a href=&quot;http://www.swiftmq.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;SwiftMQ JMS Enterprise Messaging System&lt;/a&gt;. Note that this forum is to answer basic questions and response is not guaranteed. You may also use our technical support &lt;a href=&quot;http://www.swiftmq.com/support/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26454691</id>
	<title>Re: How to specify an ip address for router using if the server has 2 network cards?</title>
	<published>2009-11-21T02:38:15Z</published>
	<updated>2009-11-21T02:38:15Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">The best is to create a new JMS listener on a dedicated port and use the &amp;quot;bindaddress&amp;quot; attribute to bind it to the network card you want to use. Look &lt;a href=&quot;http://www.swiftmq.com/products/router/swiftlets/sys_jms/config/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here (Element &amp;quot;listeners&amp;quot;)&lt;/a&gt;.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-specify-an-ip-address-for-router-using-if-the-server-has-2-network-cards--tp26453823p26454691.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26453823</id>
	<title>How to specify an ip address for router using if the server has 2 network cards?</title>
	<published>2009-11-20T20:58:04Z</published>
	<updated>2009-11-20T20:58:04Z</updated>
	<author>
		<name>DanDan4</name>
	</author>
	<content type="html">Here is my situation:
&lt;br&gt;My server has 2 network cards with different ip address and domain. There is only one ip address that I can access from my PC. 
&lt;br&gt;After starting the router, I cannot create a connect with my JMS Client and get the exception as follows. The ip address it shows is not the one that I can access. Can I specify the another one for my client?
&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;javax.jms.JMSException: error creating socket connection to 10.100.100.238:4001,
&lt;br&gt;&amp;nbsp;message: Connection timed out: connect
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.ConnectionFactoryImpl.createQueueConnection(Connectio
&lt;br&gt;nFactoryImpl.java:82)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.ConnectionFactoryImpl.createQueueConnection(Connectio
&lt;br&gt;nFactoryImpl.java:52)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at SimpleSender.main(SimpleSender.java:34)
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-specify-an-ip-address-for-router-using-if-the-server-has-2-network-cards--tp26453823p26453823.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443093</id>
	<title>Re: Monitor Swiftlet</title>
	<published>2009-11-20T07:26:22Z</published>
	<updated>2009-11-20T07:26:22Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">It's explained in the &lt;a href=&quot;http://www.swiftmq.com/products/router/swiftlets/sys_monitor/introduction/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;docs&lt;/a&gt;.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Monitor-Swiftlet-tp26442194p26443093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26442194</id>
	<title>Monitor Swiftlet</title>
	<published>2009-11-20T06:58:07Z</published>
	<updated>2009-11-20T06:58:07Z</updated>
	<author>
		<name>TBoss</name>
	</author>
	<content type="html">&lt;br&gt;I was looking at the garbage collector interval parameter of the Monitor Swiftlet and noticed it has a default value of [-1]. What does a [-1] indicate? Does this mean that the GC is inactive? Does a [+1] indicate that it is active?
&lt;br&gt;&lt;br&gt;Thanks in advance!</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Monitor-Swiftlet-tp26442194p26442194.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421451</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T11:36:34Z</published>
	<updated>2009-11-19T11:36:34Z</updated>
	<author>
		<name>Paul Clapham</name>
	</author>
	<content type="html">Right, and now I see you already said that. Okay I think I'm awake now. Thanks for your help!</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421451.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421450</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T11:33:05Z</published>
	<updated>2009-11-19T11:33:05Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">That's right. The properties are attributes, mostly used in message selectors to pick up the right messages. The data goes into the body.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421450.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421445</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T11:23:46Z</published>
	<updated>2009-11-19T11:23:46Z</updated>
	<author>
		<name>Paul Clapham</name>
	</author>
	<content type="html">It's been a while since I worked with JMS coding, and I'm no more of an expert than I was back then. But I think I'm waking up now... what you're suggesting is that I shouldn't be using a message property to send a large volume of data? That large volumes of data should go in the message body instead?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421441</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T11:12:41Z</published>
	<updated>2009-11-19T11:12:41Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">No since the object you set must be of a primitive or String type. setStringProperty(s) and setObjectProperty(s) are equivalent.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421441.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421439</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T11:01:32Z</published>
	<updated>2009-11-19T11:01:32Z</updated>
	<author>
		<name>Paul Clapham</name>
	</author>
	<content type="html">I didn't know that. So it looks like I have some fixing to do as well. If I use setObjectProperty instead of setStringProperty will that fix it? Assuming I change the receiver to expect an object property?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421438</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T10:54:01Z</published>
	<updated>2009-11-19T10:54:01Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Paul Clapham wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Yes. My test program sends a message with a string property containing 70,000 characters (plus a couple of other small string properties) and it hangs. If it does the same thing with only 65,000 characters then the message is sent successfully.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Ahh, that explains it. String message properties have a maximum size of 64 KB which is the UTF-8 limit. The body can have unlimited size but not a property. We miss to throw a JMSException if the size is &amp;gt; 64 KB. Will be fixed.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421438.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421430</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T10:34:36Z</published>
	<updated>2009-11-19T10:34:36Z</updated>
	<author>
		<name>Paul Clapham</name>
	</author>
	<content type="html">Yes. My test program sends a message with a string property containing 70,000 characters (plus a couple of other small string properties) and it hangs. If it does the same thing with only 65,000 characters then the message is sent successfully.
&lt;br&gt;&lt;br&gt;I recently noticed this happening in our production system. Usually our messages aren't that big, but there's nothing to limit their size.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421430.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421396</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T09:10:00Z</published>
	<updated>2009-11-19T09:10:00Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">So you are now using a 7.5.3 client, sending 1 message of a size &amp;lt;n&amp;gt; and it hangs?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421396.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421393</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T09:04:40Z</published>
	<updated>2009-11-19T09:04:40Z</updated>
	<author>
		<name>Paul Clapham</name>
	</author>
	<content type="html">Oops, you are right about that. I don't use this test client much, so it was using an old swiftmq.jar. In production we are using SwiftMQ version 7.5.3 and that's what I am connecting to for this test. I put that jar file into my test client and now I'm getting the same behaviour as in production, namely that when I call send(Message) on the MessageProducer, it just hangs. The send method never returns.
&lt;br&gt;&lt;br&gt;Here's what I see in the logs when I ran the test (2 successful messages followed by a failure):
&lt;br&gt;&lt;br&gt;2009-11-19 08:57:58.409/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-19 08:57:59.797/sys$jms/INFORMATION/JMSConnection v750/10.20.230.6:3301/receiving disconnect request, scheduling connection close
&lt;br&gt;2009-11-19 08:57:59.799/10.20.230.6:3301/BlockingHandler/INFORMATION/Exception, EXITING: java.io.IOException: End-of-Stream reached
&lt;br&gt;2009-11-19 08:57:59.799/sys$jms/INFORMATION/JMSConnection v750/10.20.230.6:3301/connection closed
&lt;br&gt;2009-11-19 08:57:59.827/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-19 08:57:59.849/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-19 08:57:59.882/sys$jms/INFORMATION/JMSConnection v750/10.20.230.6:3304/receiving disconnect request, scheduling connection close
&lt;br&gt;2009-11-19 08:57:59.883/10.20.230.6:3304/BlockingHandler/INFORMATION/Exception, EXITING: java.io.IOException: End-of-Stream reached
&lt;br&gt;2009-11-19 08:57:59.884/sys$jms/INFORMATION/JMSConnection v750/10.20.230.6:3304/connection closed
&lt;br&gt;2009-11-19 08:58:00.186/10.20.230.6:3303/BlockingHandler/INFORMATION/Exception, EXITING: java.io.IOException: End-of-Stream reached
&lt;br&gt;2009-11-19 08:58:00.197/sys$jms/INFORMATION/JMSConnection v750/10.20.230.6:3303/connection closed
&lt;br&gt;2009-11-19 08:58:10.182/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-19 08:58:59.858/10.20.230.6:3310/BlockingHandler/INFORMATION/Exception, EXITING: java.io.EOFException
&lt;br&gt;2009-11-19 08:58:59.916/sys$jms/INFORMATION/JMSConnection v750/10.20.230.6:3310/connection closed
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421287</id>
	<title>Re: Error when sending large message</title>
	<published>2009-11-19T03:22:22Z</published>
	<updated>2009-11-19T03:22:22Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">Messages of 126 KB are not considered as large messages. That should work out of the box and without any problems.
&lt;br&gt;&lt;br&gt;But what I see is this:
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Paul Clapham wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.v400.MessageProducerImpl.processSend(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.v400.MessageProducerImpl.send(Unknown Source)
&lt;br&gt;&lt;br&gt;and here's the SwiftMQ log entries which I believe correspond to the events leading up to the exception:
&lt;br&gt;&lt;br&gt;2009-11-18 13:43:30.126/10.20.230.6:3769/BlockingHandler/INFORMATION/Exception, EXITING: java.net.SocketException: A connection with a remote socket was reset by that socket.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Your client is at release 4.x (v400). That's quite old. You should upgrade it to the version of the router. May be the problem disappears then. Which release do you use router-side?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26421287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26416534</id>
	<title>Error when sending large message</title>
	<published>2009-11-18T13:58:31Z</published>
	<updated>2009-11-18T13:58:31Z</updated>
	<author>
		<name>Paul Clapham</name>
	</author>
	<content type="html">I am having a problem when trying to send large messages via SwiftMQ. In my experiments &amp;quot;large&amp;quot; seems to mean over about 130,000 bytes. I read the information on swiftmq.com about transferring very large messages and it appears to say that SwiftMQ can transfer very large messages with its default configuration, although not in an optimal way. However what happens in my case is that I get an exception thrown. Here's the stack trace:
&lt;br&gt;&lt;br&gt;javax.jms.JMSException: com.swiftmq.tools.requestreply.TransportException: Connection closed
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.ExceptionConverter.convert(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.v400.MessageProducerImpl.processSend(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.v400.MessageProducerImpl.send(Unknown Source)
&lt;br&gt;&lt;br&gt;and here's the SwiftMQ log entries which I believe correspond to the events leading up to the exception:
&lt;br&gt;&lt;br&gt;2009-11-18 13:43:28.401/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-18 13:43:29.705/sys$jms/INFORMATION/JMSConnection v400/10.20.230.6:3768/receiving disconnect request, scheduling connection close
&lt;br&gt;2009-11-18 13:43:29.707/10.20.230.6:3768/BlockingHandler/INFORMATION/Exception, EXITING: java.io.IOException: End-of-Stream reached
&lt;br&gt;2009-11-18 13:43:29.707/sys$jms/INFORMATION/JMSConnection v400/10.20.230.6:3768/connection closed
&lt;br&gt;2009-11-18 13:43:29.711/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-18 13:43:29.729/[BlockingTCPListener, swiftlet=sys$jms, port=4001]/Listener/INFORMATION/connection accepted: 10.20.230.6
&lt;br&gt;2009-11-18 13:43:29.743/sys$jms/INFORMATION/JMSConnection v400/10.20.230.6:3770/receiving disconnect request, scheduling connection close
&lt;br&gt;2009-11-18 13:43:29.744/10.20.230.6:3770/BlockingHandler/INFORMATION/Exception, EXITING: java.io.IOException: End-of-Stream reached
&lt;br&gt;2009-11-18 13:43:29.745/sys$jms/INFORMATION/JMSConnection v400/10.20.230.6:3770/connection closed
&lt;br&gt;2009-11-18 13:43:30.126/10.20.230.6:3769/BlockingHandler/INFORMATION/Exception, EXITING: java.net.SocketException: A connection with a remote socket was reset by that socket.
&lt;br&gt;2009-11-18 13:43:30.126/sys$jms/INFORMATION/JMSConnection v400/10.20.230.6:3769/connection closed
&lt;br&gt;&lt;br&gt;I am using basically the default router configuration and I haven't changed it in any of the ways suggested in the &amp;quot;Transferring very large messages&amp;quot; document. Should I be playing with connection factories or should SwiftMQ actually send the large messages in a non-optimal way?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-when-sending-large-message-tp26416534p26416534.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26157765</id>
	<title>Re: Consumers hang trying to deque messages</title>
	<published>2009-11-02T10:20:14Z</published>
	<updated>2009-11-02T10:20:14Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">There could also be another consumer on that queue locking the messages or the connection has not been started.
&lt;br&gt;&lt;br&gt;Did you check with smart tree disabled as mentioned in a prev post?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Consumers-hang-trying-to-deque-messages-tp26083247p26157765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26157746</id>
	<title>Re: Consumers hang trying to deque messages</title>
	<published>2009-11-02T09:18:28Z</published>
	<updated>2009-11-02T09:18:28Z</updated>
	<author>
		<name>jchang</name>
	</author>
	<content type="html">They show as locked. &amp;nbsp;I have double checked that I am listening on the correct queue. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Also, because they are locked, my understanding is that they are already delivered into a specific consumer's cache, which would indicate that I am listening on the correct queue. &amp;nbsp;Correct?</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Consumers-hang-trying-to-deque-messages-tp26083247p26157746.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26130193</id>
	<title>Re: SwiftMQ 7.5.4 with Spring and com.swiftmq.jms.springsupport.SingleSharedConnectionFactory</title>
	<published>2009-10-30T06:34:04Z</published>
	<updated>2009-10-30T06:34:04Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">Just for clarification: Spring's JMS support is primarily designed to work inside a J2EE container where the container provides connection pooling etc. If you use Spring's JMS support outside a J2EE container - in a normal Spring app - you miss the pooling and it turns sub-optimal. Therefore we provide our springsupport lib which provides the pooling you normally get from the app server.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SwiftMQ-7.5.4-with-Spring-and-com.swiftmq.jms.springsupport.SingleSharedConnectionFactory-tp26122091p26130193.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26128183</id>
	<title>Re: javax.jms.InvalidDestinationException: Queue is not local! Can't create a XAConsumer on it!</title>
	<published>2009-10-30T04:02:57Z</published>
	<updated>2009-10-30T04:02:57Z</updated>
	<author>
		<name>david sebag</name>
	</author>
	<content type="html">It works !
&lt;br&gt;Thanks a lot.
&lt;br&gt;&lt;br&gt;I made the change :
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;jonas-adminobject&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;id&amp;gt;testqueue2&amp;lt;/id&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;description&amp;gt;com.swiftmq.jms.QueueImpl&amp;lt;/description&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;jndi-name&amp;gt;jms/default/testqueue2&amp;lt;/jndi-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property-name&amp;gt;QueueName&amp;lt;/jonas-config-property-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property-value&amp;gt;testqueue2&amp;lt;/jonas-config-property-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/jonas-config-property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/jonas-adminobject&amp;gt;
&lt;br&gt;&lt;br&gt;to 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;jonas-adminobject&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;id&amp;gt;testqueue2&amp;lt;/id&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;description&amp;gt;com.swiftmq.jms.QueueImpl&amp;lt;/description&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;jndi-name&amp;gt;jms/default/testqueue2&amp;lt;/jndi-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property-name&amp;gt;QueueName&amp;lt;/jonas-config-property-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property-value&amp;gt;testqueue2@router1&amp;lt;/jonas-config-property-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/jonas-config-property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/jonas-adminobject&amp;gt;
&lt;br&gt;&lt;br&gt;in jonas-ra.xml as you suggest.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javax.jms.InvalidDestinationException%3A-Queue-is-not-local%21-Can%27t-create-a-XAConsumer-on-it%21-tp26127767p26128183.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26128052</id>
	<title>Re: javax.jms.InvalidDestinationException: Queue is not local! Can't create a XAConsumer on it!</title>
	<published>2009-10-30T03:51:46Z</published>
	<updated>2009-10-30T03:51:46Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">These entries must contain the fully qualified queue names such as:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property-name&amp;gt;QueueName&amp;lt;/jonas-config-property-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;jonas-config-property-value&amp;gt;testqueue2&lt;b&gt;@router1&lt;/b&gt;&amp;lt;/jonas-config-property-value&amp;gt;
&lt;br&gt;&lt;br&gt;You must do that for all queues you have defined in jonas-ra.xml.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javax.jms.InvalidDestinationException%3A-Queue-is-not-local%21-Can%27t-create-a-XAConsumer-on-it%21-tp26127767p26128052.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26128023</id>
	<title>Re: javax.jms.InvalidDestinationException: Queue is not local! Can't create a XAConsumer on it!</title>
	<published>2009-10-30T03:49:24Z</published>
	<updated>2009-10-30T03:49:24Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">That looks fine. Did you configure your Jonas javax.jms.queue (that one which is returned on your JNDI lookup) with the proper queue name? It must be fully qualified: testqueue2@router1. I do not mean the JNDI name but the queue name property. </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javax.jms.InvalidDestinationException%3A-Queue-is-not-local%21-Can%27t-create-a-XAConsumer-on-it%21-tp26127767p26128023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26127960</id>
	<title>Re: javax.jms.InvalidDestinationException: Queue is not local! Can't create a XAConsumer on it!</title>
	<published>2009-10-30T03:44:07Z</published>
	<updated>2009-10-30T03:44:07Z</updated>
	<author>
		<name>david sebag</name>
	</author>
	<content type="html">How can I state the router is local ?
&lt;br&gt;&lt;br&gt;In attachment, the routerconffig of the router.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p26127960/routerconfig.xml&quot; target=&quot;_top&quot;&gt;routerconfig.xml&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javax.jms.InvalidDestinationException%3A-Queue-is-not-local%21-Can%27t-create-a-XAConsumer-on-it%21-tp26127767p26127960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26127885</id>
	<title>Re: javax.jms.InvalidDestinationException: Queue is not local! Can't create a XAConsumer on it!</title>
	<published>2009-10-30T03:36:11Z</published>
	<updated>2009-10-30T03:36:11Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">Is testqueue2 defined on your local router or not? The exception states it is not...</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javax.jms.InvalidDestinationException%3A-Queue-is-not-local%21-Can%27t-create-a-XAConsumer-on-it%21-tp26127767p26127885.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26127767</id>
	<title>javax.jms.InvalidDestinationException: Queue is not local! Can't create a XAConsumer on it!</title>
	<published>2009-10-30T03:24:59Z</published>
	<updated>2009-10-30T03:24:59Z</updated>
	<author>
		<name>david sebag</name>
	</author>
	<content type="html">I have this error when trying to receive a message from a queue inside a J2EE container by a rar connection :
&lt;br&gt;&lt;br&gt;Queue 'testqueue2' is not local! Can't create a XAConsumer on it!
&lt;br&gt;&lt;br&gt;&lt;br&gt;I have a swiftmq router 7.5.3.
&lt;br&gt;My J2EE container is JONAS 4.8.3.
&lt;br&gt;I deploy a swiftmq rar in jonas autoload dir with rar.xml and jonas-ra.xml in attachment.
&lt;br&gt;&lt;br&gt;My client code is in a Session Bean service and is very simple :
&lt;br&gt;&lt;br&gt;Context ctx = new InitialContext();
&lt;br&gt;ConnectionFactory connectionFactory = (ConnectionFactory) ctx.lookup(&amp;quot;jms/default/ConnectionFactory&amp;quot;);
&lt;br&gt;Destination queue = (Destination) ctx.lookup(&amp;quot;jms/default/testqueue2&amp;quot;);
&lt;br&gt;Connection connection = connectionFactory.createConnection();
&lt;br&gt;Session session = connection.createSession(true, Session.AUTO_ACKNOWLEDGE);
&lt;br&gt;MessageConsumer consumer = session.createConsumer(queue);
&lt;br&gt;connection.start();
&lt;br&gt;Message message = consumer.receive(100);
&lt;br&gt;session.commit();
&lt;br&gt;&lt;br&gt;&lt;br&gt;When createConsumer method is called, I a this exception :
&lt;br&gt;&lt;br&gt;Caused by: javax.jms.InvalidDestinationException: Queue 'testqueue2' is not local! Can't create a XAConsumer on it!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.tools.requestreply.ReplyNE.createException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.tools.requestreply.ReplyNE.readContent(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.smqp.v750.CreateConsumerReply.readContent(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.tools.dump.Dumpalizer.construct(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.v750.ConnectionImpl.dataAvailable(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.net.client.BlockingConnection.chunkCompleted(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.net.protocol.smqp.SMQPInputHandler.setBytesWritten(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.net.protocol.smqp.SMQPInputHandler.setBytesWritten(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.net.client.BlockingConnection.run(Unknown Source)
&lt;br&gt;&lt;br&gt;Thanks for your help.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/file/p26127767/ra.xml&quot; target=&quot;_top&quot;&gt;ra.xml&lt;/a&gt;&lt;a href=&quot;http://old.nabble.com/file/p26127767/jonas-ra.xml&quot; target=&quot;_top&quot;&gt;jonas-ra.xml&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/javax.jms.InvalidDestinationException%3A-Queue-is-not-local%21-Can%27t-create-a-XAConsumer-on-it%21-tp26127767p26127767.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26126683</id>
	<title>Re: SwiftMQ 7.5.4 with Spring and com.swiftmq.jms.springsupport.SingleSharedConnectionFactory</title>
	<published>2009-10-30T01:46:05Z</published>
	<updated>2009-10-30T01:46:05Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">This is wrong. You may not use SingleSharedConnectionFactory nor can you invoke start() in a J2EE environment. As a J2EE component you have nothing to do with pooling etc. That's the responsibility of the app server in conjunction with the resource adapter. You simple create connection/session/producer, send your messages and close everything down. Behind the scene the app server allocates ManagedConnection instances (out of connection pools) and associates it with the connection you have created. Your connection is only a &amp;quot;handle&amp;quot;. Have a look at the sample MDB (with send) in the How To. 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SwiftMQ-7.5.4-with-Spring-and-com.swiftmq.jms.springsupport.SingleSharedConnectionFactory-tp26122091p26126683.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26126330</id>
	<title>Re: Consumers hang trying to deque messages</title>
	<published>2009-10-30T01:14:52Z</published>
	<updated>2009-10-30T01:14:52Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">If the messages are in the queue, are they locked or not? May be you're listening on a wrong queue?
&lt;br&gt;&lt;br&gt;If you switch &amp;quot;smart tree&amp;quot; off (under &amp;quot;Router Environment&amp;quot;), save and reboot the router, you can see under JMS Swiftlet/Usage as well as under Queue Manager Swiftlet/Usage on which queue the client has a receiver.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Consumers-hang-trying-to-deque-messages-tp26083247p26126330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26122167</id>
	<title>Re: Consumers hang trying to deque messages</title>
	<published>2009-10-29T15:48:39Z</published>
	<updated>2009-10-29T15:48:39Z</updated>
	<author>
		<name>jchang</name>
	</author>
	<content type="html">They arrive there, I've checked. &amp;nbsp;I see the messages sitting in the physical queue looking in the explorer. &amp;nbsp;This happens no matter what I set the message timout to (-1 all the way up to minutes long).</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Consumers-hang-trying-to-deque-messages-tp26083247p26122167.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26122091</id>
	<title>SwiftMQ 7.5.4 with Spring and com.swiftmq.jms.springsupport.SingleSharedConnectionFactory</title>
	<published>2009-10-29T15:40:28Z</published>
	<updated>2009-10-29T15:40:28Z</updated>
	<author>
		<name>bjoernlohrmann</name>
	</author>
	<content type="html">We are building a small test-app to evaluate solutions to the problem posted by michaelzilske in &lt;a href=&quot;http://www.nabble.com/Messages-out-of-sequence-%28jboss-and-swiftmq%29-td12734756.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Messages-out-of-sequence-%28jboss-and-swiftmq%29-td12734756.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Our test-app starts a transaction, sends 5 messages in it and commits. For each message it does the following:
&lt;br&gt;- retrieve a connection from a SingleSharedConnectionFactory and invoke start() on it
&lt;br&gt;- create Session, MessageProducer and Message
&lt;br&gt;- send the message
&lt;br&gt;- close producer, session and connection
&lt;br&gt;&lt;br&gt;The first transaction works fine. The second one gives the following exception when trying to invoke start() on the connection for the first time:
&lt;br&gt;&lt;br&gt;&amp;nbsp;javax.jms.IllegalStateException: This connection is not associated with a ManagedConnection instance!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.connector.v15.outbound.ConnectionImpl.start(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jms.springsupport.SharedJMSConnection.start(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at de.ivu.jmsxatest.beans.JMSXAFacadeImpl.sendMessageAndCloseConnection(JMSXAFacadeImpl.java:54)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [...]
&lt;br&gt;&lt;br&gt;The setup is as follows:
&lt;br&gt;- Websphere 6.1 with SwiftMQ 7.5.4 (extra-vm via RA) 
&lt;br&gt;- JMSXAFacadeImpl is a Spring bean into which an instance of SingleSharedConnectionFactory is injected. We have also tried Spring's SingleConnectionFactory and CachingConnectionFactory. They exhibit the same behaviour.
&lt;br&gt;- Transaction manager is JTA as defined by spring config (&amp;lt;tx:jta-transaction-manager/&amp;gt;)
&lt;br&gt;&lt;br&gt;A test EAR that exhibits the described behaviour is attached &lt;a href=&quot;http://old.nabble.com/file/p26122091/jmsxatestEAR.ear&quot; target=&quot;_top&quot;&gt;jmsxatestEAR.ear&lt;/a&gt;&amp;nbsp;(contains source code) &amp;nbsp;If deployed it offers a servlet under /jmsxatestservlet/test. Each call to the servlet corresponds to one transaction, hence you need to call it twice. The EAR uses the JNDI-Names &amp;quot;jms/CF&amp;quot; and &amp;quot;jms/testqueue&amp;quot;.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SwiftMQ-7.5.4-with-Spring-and-com.swiftmq.jms.springsupport.SingleSharedConnectionFactory-tp26122091p26122091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26121414</id>
	<title>Re: Using SwiftMQ as external JMS Provider with Websphere Application Server 6.1</title>
	<published>2009-10-29T14:47:17Z</published>
	<updated>2009-10-29T14:47:17Z</updated>
	<author>
		<name>bjoernlohrmann</name>
	</author>
	<content type="html">Actually that was a good piece of advice =) It works as an extra-vm RA. The fact that there was only an inter-vm howto mislead me to think there is only an intra-vm RA.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-SwiftMQ-as-external-JMS-Provider-with-Websphere-Application-Server-6.1-tp26110670p26121414.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26112203</id>
	<title>Re: Using SwiftMQ as external JMS Provider with Websphere Application Server 6.1</title>
	<published>2009-10-29T05:37:29Z</published>
	<updated>2009-10-29T05:37:29Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">Btw, if you try to configure SwiftMQ as a WAS 3rd party JMS provider instead of using our ResourceAdapter, you might ask your questions in a IBM forum as we did not test that because we provide the RA.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-SwiftMQ-as-external-JMS-Provider-with-Websphere-Application-Server-6.1-tp26110670p26112203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26112009</id>
	<title>Re: Using SwiftMQ as external JMS Provider with Websphere Application Server 6.1</title>
	<published>2009-10-29T05:24:24Z</published>
	<updated>2009-10-29T05:24:24Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">No idea. Should work actually. However, the exception state you're looking up a javax.jms.Topic...</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-SwiftMQ-as-external-JMS-Provider-with-Websphere-Application-Server-6.1-tp26110670p26112009.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26111603</id>
	<title>Re: Using SwiftMQ as external JMS Provider with Websphere Application Server 6.1</title>
	<published>2009-10-29T04:48:40Z</published>
	<updated>2009-10-29T04:48:40Z</updated>
	<author>
		<name>bjoernlohrmann</name>
	</author>
	<content type="html">Thanks for the quick answer! The QueueName is set to &amp;quot;testqueue@router1&amp;quot;. Forgot to mention that.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-SwiftMQ-as-external-JMS-Provider-with-Websphere-Application-Server-6.1-tp26110670p26111603.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26110976</id>
	<title>Re: Using SwiftMQ as external JMS Provider with Websphere Application Server 6.1</title>
	<published>2009-10-29T04:05:56Z</published>
	<updated>2009-10-29T04:05:56Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">Seems you did not set the QueueName property of the queue object. Look &lt;a href=&quot;http://www.swiftmq.com/developers/howto_jmsintravm_was6/configra2/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, last 3 pictures. QueueName must be set to testqueue@router1. 
&lt;br&gt;&lt;br&gt;It's recommend to configure exactly as described in the &lt;a href=&quot;http://www.swiftmq.com/developers/howto_jmsintravm_was6/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;How To&lt;/a&gt;&amp;nbsp;(except intravm vs extravm).</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-SwiftMQ-as-external-JMS-Provider-with-Websphere-Application-Server-6.1-tp26110670p26110976.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26110670</id>
	<title>Using SwiftMQ as external JMS Provider with Websphere Application Server 6.1</title>
	<published>2009-10-29T03:37:14Z</published>
	<updated>2009-10-29T03:37:14Z</updated>
	<author>
		<name>bjoernlohrmann</name>
	</author>
	<content type="html">We are having some problems trying to use SwiftMQ as external JMS Provider with Websphere Application Server 6.1.
&lt;br&gt;&lt;br&gt;We have a test EAR that first retrieves the ConnectionFactory (jms/CF) and then a Destination via JNDI. The JNDI lookup for the destination hangs for a while (presumably the configured timeout) and then we get the following exception:
&lt;br&gt;&lt;br&gt;29.10.09 11:19:06:061 CET] 00000028 Helpers &amp;nbsp; &amp;nbsp; &amp;nbsp; W &amp;nbsp; NMSV0605W: Ein im Kontext &amp;quot;piperomatNode01Cell/nodes/piperomatNode01/servers/server1&amp;quot; gefundenes javax.naming.Reference-Objekt mit dem Namen &amp;quot;jms/testqueue&amp;quot; wurde an den JNDI Naming Manager gesendet. Dabei ist eine Ausnahme eingetreten. Die Referenzdaten folgen:
&lt;br&gt;Klassenname der Referenz-Factory: com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory
&lt;br&gt;Positions-URLs der Referenz-Factory-Klasse: &amp;lt;null&amp;gt;
&lt;br&gt;Reference Class Name: javax.jms.Topic
&lt;br&gt;Type: JndiLookupInfo
&lt;br&gt;Content: JndiLookupInfo: jndiName=&amp;quot;testqueue@router1&amp;quot;; providerURL=&amp;quot;smqp://blo.ivu-ag.com:4001/timeout=10000;debug=true&amp;quot;; initialContextFactory=&amp;quot;com.swiftmq.jndi.InitialContextFactoryImpl&amp;quot;
&lt;br&gt;Address Type: IndirectJndiLookupAdditionalProperties
&lt;br&gt;AddressContents: ffffffac ffffffed 0 5 73 72 0 14 6a 61 76 61 2e 75 74 69 6c 2e 50 72 6f 70 65 72 74 69 65 73 39 12 ffffffd0 7a &amp;nbsp;...
&lt;br&gt;&lt;br&gt;Die Daten zur Ausnahme folgen:
&lt;br&gt;javax.naming.NameNotFoundException: Name '' not found (timeout occured)!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.swiftmq.jndi.v400.ContextImpl.lookup(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.naming.InitialContext.lookup(InitialContext.java:363)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:369)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:893)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:705)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:2097)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1951)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1866)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1556)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:372)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstance(IndirectJndiLookupObjectFactory.java:149)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.util.ResRefJndiLookupObjectFactory.getObjectInstance(ResRefJndiLookupObjectFactory.java:144)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:316)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:896)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:191)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.java.javaURLContextRoot.processBoundObjectForLookup(javaURLContextRoot.java:407)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1280)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:205)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:145)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at javax.naming.InitialContext.lookup(InitialContext.java:363)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at de.ivu.jmsxatest.ejb.JMSXATestBean.ejbCreate(JMSXATestBean.java:45)
&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;Our config is as follows:
&lt;br&gt;Both swiftmq and WAS run on the same machine, but in different VMs. For swiftmq we are using the vanilla &amp;quot;router1&amp;quot; config. Websphere is configured as follows:
&lt;br&gt;&lt;br&gt;JMS Provider:
&lt;br&gt;External Initial Context Factory = com.swiftmq.jndi.InitialContextFactoryImpl
&lt;br&gt;External Provider URL = smqp://blo.ivu-ag.com:4001/timeout=10000;debug=true
&lt;br&gt;&lt;br&gt;ConnectionFactory:
&lt;br&gt;Type = Unified
&lt;br&gt;JNDI-Name = jms/CF
&lt;br&gt;External JNDI-Name = ConnectionFactory (we also tried plainsocket@router1)
&lt;br&gt;&lt;br&gt;Queue:
&lt;br&gt;Type = QUEUE
&lt;br&gt;JNDI-Name = jms/testqueue
&lt;br&gt;External JNDI-Name = testqueue@router1
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-SwiftMQ-as-external-JMS-Provider-with-Websphere-Application-Server-6.1-tp26110670p26110670.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26105553</id>
	<title>Re: Consumers hang trying to deque messages</title>
	<published>2009-10-28T22:08:01Z</published>
	<updated>2009-10-28T22:08:01Z</updated>
	<author>
		<name>IIT Software</name>
	</author>
	<content type="html">The problem is certainly not our springsupport if it works with a non-composite queue.
&lt;br&gt;&lt;br&gt;Since composite queues work fine, it seems to be a kind of configuration problem on your side. May be the messages don't arrive at the phys. queue where you listen on. You might check that with Explorer.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Consumers-hang-trying-to-deque-messages-tp26083247p26105553.html" />
</entry>

</feed>
