|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| Invalid action on MQ Channel created by Java App | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | FreeRadical | 
			  
				|  Posted: Tue Mar 09, 2004 10:04 am    Post subject: Invalid action on MQ Channel created by Java App |   |  |  
		  | Newbie
 
 
 Joined: 09 Mar 2004Posts: 1
 Location: UK
 
 | 
			  
				| I am fairly new to MQ messaging but am fairly OK with MQ to MQ applications. 
 However, one of our Blue Chip clients uses Java to submit messages.  They were trying to put messages on a particular queue (that is local to my site) via a specific channel.
 
 The channel is set up as a receiver channel, but when they try to put a message, they get a 2009 error, and we see:
 
 09/03/04  02:50:17 PM
 AMQ9502: Type of channel not suitable for action requested.
 
 EXPLANATION:
 The operation requested cannot be performed on channel "QMGR1.QMGR2"  . Some
 operations are only valid for certain channel types. For example, you can only
 ping a channel from the end sending the message.
 ACTION:
 Check whether the channel name is specified correctly.  If it is check that the
 channel has been defined correctly.
 
 
 The client asked for a READ-WRITE channel to be set up.  The only channel I could see that would enable this without opening remote MQ Services (IE at our customers side), is a SVRCONN channel.  Therefore I defined a SVRCONN channel for the client to connect on, and now we see the following:
 
 09/03/04  05:43:54 PM
 AMQ9209: Connection to host '123.456.789.0' closed.
 
 EXPLANATION:
 An error occurred receiving data from '123.456.789.0' over TCP/IP.  The
 connection to the remote host has unexpectedly terminated.
 ACTION:
 Tell the systems administrator.
 
 
 Should SVRCONN be used as a transmission channel for message (read as data not system messages) submission?
 
 Is it possible that the JAVA app is expecting some return notifications?
 
 I have verified that the local queue and queue manager names are accurate.
 
 Also, on the networking side, because the client uses NAT'ing is it possible a return message is not being passed correctly back to our client?
 |  |  
		  | Back to top |  |  
		  |  |  
		  | jefflowrey | 
			  
				|  Posted: Tue Mar 09, 2004 10:37 am    Post subject: Re: Invalid action on MQ Channel created by Java App |   |  |  
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 19981
 
 
 | 
			  
				| 
   
	| FreeRadical wrote: |  
	| The channel is set up as a receiver channel, but when they try to put a message, they get a 2009 error |  Clients do not connect to receiver channels.
 
 
 
   
	| FreeRadical wrote: |  
	| Should SVRCONN be used as a transmission channel for message (read as data not system messages) submission? |  Clients do connect to SVRCONN channels.
 
 
 
   
	| FreeRadical wrote: |  
	| The connection to the remote host has unexpectedly terminated.
 |  Likely, their program ended without issuing a disconnect.
 _________________
 I am *not* the model of the modern major general.
 |  |  
		  | 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
 
 |  |  |  |