|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JMS null.pointer using MQ, MQ Event Broker, and PubSub |
« View previous topic :: View next topic » |
Author |
Message
|
Software_Engineer |
Posted: Fri Oct 17, 2003 12:09 pm Post subject: JMS null.pointer using MQ, MQ Event Broker, and PubSub |
|
|
Newbie
Joined: 17 Oct 2003 Posts: 2
|
We are running JMS Pub Sub tests.
We have a MQ and the MQ Event Broker 5.1 on a Win2003 Server. The msgs are 'Queued', not 'Direct IP'.
Our client machines are Win2000.
We have 1 JMS Publisher app on one Win2000 client, and 1 JMS Subscriber java app on another Win2000 client.
Basically, the subscriber is reporting a null.pointer error every time the pubished message size exceeds 31k. (The error is shown at the end of this message).
Basically it looks like the MQTopicSubscriber.receive() method is getting a null.pointer, which should not be possible, since the object allocates the memory for this when the MQTopicSubscriber is instantiated.
I tried a different test, this time I ran the Publisher app on a XP, and the subscriber app on Win2000, and IT WORKED.
But when I tried the Publisher app on the Win2000, and the subscriber app on a Win2000, IT FAILED.
When I run the PUBLISHER on Win2000, the Subscriber Fails, but when I run the PUBLISHER on XP, the Subscriber works.
Since running the PUB on the wrong OS causes the SUB to fail, this points to either an Event Broker config problem, or a Win2000 config problem (or both).
Does anyone have any knowledge concerning Event Broker config or Win2000 config ?
Does anyone have any suggestions? (Thanks in advance).
The following is the exception encounterred:
-------------------------------------------------------------------------------
Caught Exception while getting message from subscription
java.lang.NullPointerException
at com.ibm.mq.MQSESSIONClient.spiBatchedGet(MQSESSIONClient.java:1952)
at com.ibm.mq.MQSPIQueue.spiBatchedGet(MQSPIQueue.java:226)
at com.ibm.mqjms.MQTopicSubscriber.getMessage(MQTopicSubscriber.java:1124)
at com.ibm.mqjms.MQTopicSubscriber.receiveInternal(MQTopicSubscriber.java:1526)
at com.ibm.mqjms.MQTopicSubscriber.receive(MQTopicSubscriber.java:751)
at jmsbenchmark.PubSub.receiveOneMessage(PubSub.java:259)------------------------------------------------------------------------------------ |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Oct 28, 2003 10:25 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I think this is a known problem with WMQ 5.3 CSD4. What version of the WMQ are you running? You might want to run this by IBM support. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|