| Author | 
		  Message
		 | 
		
		  | j8mes | 
		  
		    
			  
				 Posted: Thu Oct 28, 2004 3:52 am    Post subject: How to configure tcp/ip timeout for MQPUT with MQ client | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 22 Jan 2004 Posts: 12
  
  | 
		  
		    
			  
				Using MQ client 5.3 on Solaris
 
 
If the network goes down between the client and the MQ manager server we get a connection broken error returned to the application and the following is in the MQ error log:
 
 
AMQ9213: A communications error for TCP/IP occurred. 
 
EXPLANATION: 
 
An unexpected error occurred in communications. 
 
ACTION: 
 
The return code from the TCP/IP(select) [TIMEOUT] 360 seconds call was 11 
 
(X'B'). Record these values and tell the systems administrator. 
 
----- amqccita.c : 3075
 
 
We would like to configure the amount of time MQ waits before it decides to timeout. It obviously defaults to 360 seconds, how do we change this value ? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | offshore | 
		  
		    
			  
				 Posted: Thu Oct 28, 2004 8:46 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 20 Jun 2002 Posts: 222
  
  | 
		  
		    
			  
				j8mes,
 
 
You'll probably need to check the MQ Application Programming Reference or Application Programming Guide for the correct syntax, but I believe that you specify the timeout in the MQ application.
 
 
The value is setTimeout(value);
 
 
The timeout value is in milliseconds and the default I thought is 360000 or 5 mins, which is exactly what you saw in your mq event log.
 
 
 
HTH - Offshore | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bower5932 | 
		  
		    
			  
				 Posted: Thu Oct 28, 2004 9:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | j8mes | 
		  
		    
			  
				 Posted: Fri Oct 29, 2004 12:46 am    Post subject: Thanks the other thread answered my question | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 22 Jan 2004 Posts: 12
  
  | 
		  
		    
			  
				| The embrassing thing is that I contributed to that thread in the first place. I knew that I had found the answer out before, but just couldn't find the info in my email or on this forum. Obviously my use of key words let me down. Thanks again | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | csmith28 | 
		  
		    
			  
				 Posted: Fri Oct 29, 2004 5:51 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 15 Jul 2003 Posts: 1196 Location: Arizona 
  | 
		  
		    
			  
				You may bang your head on the floor until forgiven.   _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |