ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem putting Message in MQSeries queue

Post new topic  Reply to topic
 Problem putting Message in MQSeries queue « View previous topic :: View next topic » 
Author Message
prasannal
PostPosted: Fri Nov 21, 2003 11:39 pm    Post subject: Problem putting Message in MQSeries queue Reply with quote

Apprentice

Joined: 04 Aug 2003
Posts: 44

Hi,
I have written a java client program which puts message in MQSeries queue, using mqseries java API and not JMS.

The same code I am using in my web application on Weblogic. Put there while setting MQEnvironment properties the program stucks up. No Exception is also thrown. What should be the problem?

I also tried setting MQSERVER variable in Environment. But, still the same problem.

Can any one give help on this?

Thanks.
Pras
Back to top
View user's profile Send private message
Intruder1
PostPosted: Mon Nov 24, 2003 8:35 am    Post subject: Reply with quote

Newbie

Joined: 05 Nov 2003
Posts: 6

Interesting, don't know why but you could set all the properties in hashtable, instead of MQEnvironment, and pass that as parameter to new MQQueueManager(name, props); This should tell you if the problem is with MQEnvironment or the whole mq library itself.
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Nov 24, 2003 9:59 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

mqhash.java at http://www.developer.ibm.com/tech/sampmq.html uses a hash table if you are looking for a sample.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Problem putting Message in MQSeries queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.