| Author | 
		  Message
		 | 
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 9:45 am    Post subject: how to start HTTPListener on Solaris WMB v6 ? | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				I created a v6 broker with mqsicreatebroker and gave a port number with -P flag for the HTTPListener to use.
 
 
I started the broker but I don't know how to start the HTTPListener.
 
 
Someone pls help.
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 9:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				The reason why I asked this question is.....
 
 
I developed a simple webservice using a HTTPInput-->Compute-->HTTPReply nodes and deployed it onto a broker on my windows machine.
 
 
When I type the URL : http://localhost:8090/svc1 in a webbrowser it shows some valid soap message.
 
 
 
But I am not getting a similar result when I deploy the same bar file onto a Solaris broker we newly created. It is giving a HTTP 404 error.
 
 
Someone please shed some light on what's happening ??
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | malammik | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 10:01 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Partisan
 
 Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 10:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				ps -ef | grep bip
 
 
shows that the httplistener is running
 
 
Any other ideas for v6 ??
 
 
thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 10:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				The biphttplistener always starts when the broker starts in v6.
 
 
It does not start listening until you deploy a flow that has an HTTPInput node in it.
 
 
If a flow with an HTTPInput node deploys succesfully, and there are no errors in the broker log, AND you get a 404 from trying to hit the listener port and flow URL...
 
 
THEN, it is almost certainly a network problem. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 10:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				| Also broker's httplistener by default listens on 7080 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				can someone pls point me to instructions on how to run a HTTP trace.
 
 
thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				If you can't use telnet to connect to the HTTP listener port, then you have a network problem.
 
 
Otherwise, look in the Troubleshooting section of the InfoCenter.
 
 
Or open a PMR. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				A related question....
 
 
Does a simple webservice created using HTTPInput/compute/HTTPReply nodes respond to HTTP GET requests ??
 
 
Or is it just POST ?
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				v6 supports GET.
 
 
Even if it didn't, it is not proper to return a 404 in that case.
 
 
404 is an addressing problem (wrong url), a network problem (firewall), or a server problem (server down).  You appear to have eliminated the last one.  You have not posted any information about trying to eliminate the other two. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:23 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				Jeff or someone ,
 
 
pls point me to instructions on how to run a HTTP trace on the broker where my simple webservice is running.
 
 
 
thank you. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				Do you know what port your httplistener is running?
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				my httplistener is on 1420, i gave it when i created the broker using -P flag.
 
 
thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ydsk | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 11:50 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Chevalier
 
 Joined: 23 May 2005 Posts: 410
  
  | 
		  
		    
			  
				netstat -an showed the status of the listener as TIME_WAIT ( last column).
 
 
I don't understand what it means.
 
 
Pls help.
 
 
thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Tue Sep 19, 2006 1:47 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				| Is there a LISTEN for that port ? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |