| Author | 
		  Message
		 | 
		
		  | voyager | 
		  
		    
			  
				 Posted: Wed Jun 29, 2005 7:18 am    Post subject: Stopping JDBC Connector Agents / Inter Change Server | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 28 Dec 2004 Posts: 127
  
  | 
		  
		    
			  
				All,
 
Thank you very much for your valuable comments on my previous posts.
 
 
Recently, I have a requirement to stop the JDBC connector agent automatically and 
 
start it back up after a short time period.
 
 
Usually, I stop the JDBC Connector agent by pressing 'q' on the keyboard. 
 
I am planning to schedule an NT task to start the JDBC start script automatically 
 
on a particular day at a particular time. To stop the .bat sript, are there any 
 
free utilities for Windows 2003? 
 
Will it be more mangeable if I make the Connector agents are Windows services 
 
rather than running .bat scripts?
 
 
I would appreciate your valuable suggestions.
 
 
Thank you, _________________ voyager | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | djeripo | 
		  
		    
			  
				 Posted: Wed Jun 29, 2005 10:29 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 25 Jan 2004 Posts: 225
  
  | 
		  
		    
			  
				| Just curious.Do you have your production running on Windows? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | voyager | 
		  
		    
			  
				 Posted: Wed Jun 29, 2005 10:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 28 Dec 2004 Posts: 127
  
  | 
		  
		    
			  
				Yes,
 
We have two ICS servers running on Windows 2003. One is Production and the other one is Development.
 
 
Thank you, _________________ voyager | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ChrisW | 
		  
		    
			  
				 Posted: Wed Jun 29, 2005 11:50 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 20 May 2001 Posts: 78 Location: UK 
  | 
		  
		    
			  
				| If you are talking about WBIA JDBC Adapter then you can certainly start it as a service - I have seen it done. I will have a quick search around for instructions but I am not currently working with the beast and so it slipped from my memory. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | voyager | 
		  
		    
			  
				 Posted: Thu Jun 30, 2005 10:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 28 Dec 2004 Posts: 127
  
  | 
		  
		    
			  
				Yes,
 
I know JDBC Connector can be run as a windows service. My problem is stopping the 
 
batch script that runs JDBC Connector automatically at a particular time.
 
 
I am trying to use some free tools to kill the process at a particular time, but 
 
it is not working the way I want.
 
Thank you, _________________ voyager | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WillH | 
		  
		    
			  
				 Posted: Thu Jun 30, 2005 2:59 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 Jun 2005 Posts: 23
  
  | 
		  
		    
			  
				| If you start it as a service instead of through a .bat file, you can schedule something that uses 'net stop' to stop the service. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | voyager | 
		  
		    
			  
				 Posted: Fri Jul 01, 2005 10:15 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Centurion
 
 Joined: 28 Dec 2004 Posts: 127
  
  | 
		  
		    
			  
				Thank you all,
 
I have found a way to stop the connectors automatically by capturing the process ids.
 
 
Thank you!! _________________ voyager | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | vennela | 
		  
		    
			  
				 Posted: Sat Jul 02, 2005 11:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India 
  | 
		  
		    
			  
				
   
	| ChrisW wrote: | 
   
  
	| If you are talking about WBIA JDBC Adapter then you can certainly start it as a service - I have seen it done. I will have a quick search around for instructions but I am not currently working with the beast and so it slipped from my memory. | 
   
 
 
For future reference the command is:
 
cwservice | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |