| Author | Message | 
  		
		  |  Topic: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | khookguy 
 Replies: 11
 Views: 9327
 
 |  Forum: IBM MQ Java / JMS   Posted: Thu Apr 15, 2004 2:18 pm   Subject: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | IMHO, this is a bug.  At a minimum, one should get an exception telling you that you can't use CF without installing pub/sub features. 
 Thanks for helping me sort this out!
 
 -- Mark
 | 
  		
		  |  Topic: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | khookguy 
 Replies: 11
 Views: 9327
 
 |  Forum: IBM MQ Java / JMS   Posted: Thu Apr 15, 2004 1:36 pm   Subject: Connection, not QueueConnection | 
  		
		  | bower5932 / gunther - 
 Your examples both use QueueConnection, rather than Connection.  I ran bower5932's code and it worked.  But when I changed the QueueConnection to a Connection, I get the same ...
 | 
  		
		  |  Topic: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | khookguy 
 Replies: 11
 Views: 9327
 
 |  Forum: IBM MQ Java / JMS   Posted: Thu Apr 15, 2004 7:56 am   Subject: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | Interesting that it works for you ... 
 I'm not using the Sun JMS - just the file system implementation of JNDI at run time (and to configure JMSAdmin): com.sun.jndi.fscontext.RefFSContextFactory.  I ...
 | 
  		
		  |  Topic: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | khookguy 
 Replies: 11
 Views: 9327
 
 |  Forum: IBM MQ Java / JMS   Posted: Thu Apr 15, 2004 6:57 am   Subject: sample code | 
  		
		  | Here is code that throws the exception.  It is the statement ses.createProducer(null) that throws it. 
 Hashtable h = new Hashtable();
 h.put(Context.INITIAL_CONTEXT_FACTORY,
 "co ...
 | 
  		
		  |  Topic: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | khookguy 
 Replies: 11
 Views: 9327
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Apr 14, 2004 1:57 pm   Subject: Session.createProducer(null) throws MQJE001 Reason 2085 | 
  		
		  | Does MQ support the creation of a MessageProducer with a null destination?  I'm getting the error specified in the subject - with reason 2085. 
 According to the JMS 1.1 Javadoc, I ought to be able t ...
 | 
  		
		  |  Topic: Starting Listeners in Windows 2000 | 
  		
		  | khookguy 
 Replies: 4
 Views: 3525
 
 |  Forum: IBM MQ Installation/Configuration Support   Posted: Thu Apr 08, 2004 9:50 am   Subject: Starting Listeners in Windows 2000 | 
  		
		  | HTH, 
 Thanks.  I've tried this approach, but it doesn't seem to work.  The MQSC command "START LISTENER" doesn't seem to start up the listener that I created with the "amqmdain crtlsr" command.  I s ...
 | 
  		
		  |  Topic: Starting Listeners in Windows 2000 | 
  		
		  | khookguy 
 Replies: 4
 Views: 3525
 
 |  Forum: IBM MQ Installation/Configuration Support   Posted: Thu Apr 08, 2004 6:46 am   Subject: Starting Listeners in Windows 2000 | 
  		
		  | I'm running a queue manager under Windows 2000.  I've defined a listener using amqmdain crtlsr.  However, when I start the QM, the listener doesn't start up.  I've also tried the MQSC "START LISTENER" ... | 
  		
		  |  Topic: JMS MessageProducer very slow writing to Cluster Queue | 
  		
		  | khookguy 
 Replies: 3
 Views: 4275
 
 |  Forum: IBM MQ Java / JMS   Posted: Fri Apr 02, 2004 11:50 am   Subject: JMS MessageProducer very slow writing to Cluster Queue | 
  		
		  | Yes, I mean the "onMessage" interface instance you register with a MessageConsumer via JMS. 
 As I've discovered, the JMS Session object is not thread-safe.  Therefore, my error (described above) was ...
 | 
  		
		  |  Topic: JMS MessageProducer very slow writing to Cluster Queue | 
  		
		  | khookguy 
 Replies: 3
 Views: 4275
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Mar 31, 2004 10:51 am   Subject: MessageListener was the culprit! | 
  		
		  | Sorry to reply to my own post, but I figured this out and I'm wondering if anyone else has had a similar experience. 
 It turned out that when I got rid of the MessageListener that I was using on the ...
 | 
  		
		  |  Topic: Postcard Source Code ?? | 
  		
		  | khookguy 
 Replies: 0
 Views: 1991
 
 |  Forum: IBM MQ Java / JMS   Posted: Wed Mar 31, 2004 10:09 am   Subject: Postcard Source Code ?? | 
  		
		  | Does anybody know if the source code is available for JMS Postcard test application that comes with v5.3? | 
  		
		  |  Topic: JMS MessageProducer very slow writing to Cluster Queue | 
  		
		  | khookguy 
 Replies: 3
 Views: 4275
 
 |  Forum: IBM MQ Java / JMS   Posted: Tue Mar 30, 2004 2:44 pm   Subject: JMS MessageProducer very slow writing to Cluster Queue | 
  		
		  | I'm tearing my hair out with this.  Any help would be much appreciated. 
 Whenever I invoke MessageProducer.send() where the MessageProducer has been defined on a Cluster Queue, it takes about 5 seco ...
 | 
  		
		  |  Topic: Clustering and MQSeries Java (MA88) | 
  		
		  | khookguy 
 Replies: 2
 Views: 4457
 
 |  Forum: IBM MQ Java / JMS   Posted: Thu Jan 17, 2002 8:27 am   Subject: Clustering and MQSeries Java (MA88) | 
  		
		  | Problem solved.   The problem was that I was setting the queue options for both posting and getting messages.  Since it is a remote queue in a cluster, getting messages is not a valid operation.  Once ... | 
  		
		  |  Topic: Clustering and MQSeries Java (MA88) | 
  		
		  | khookguy 
 Replies: 2
 Views: 4457
 
 |  Forum: IBM MQ Java / JMS   Posted: Tue Jan 15, 2002 11:16 am   Subject: Clustering and MQSeries Java (MA88) | 
  		
		  | I'm having a problem putting a message onto a cluster queue hosted on a remote queue manager.  Here is the MQ Series Classes for Java code that is failing (this was taken from the MA88 sample MQSample ... |