| Author | 
		  Message
		 | 
		
		  | Henrique Neil | 
		  
		    
			  
				 Posted: Wed Mar 14, 2007 7:48 am    Post subject: Multiple instances of adapter for JDBC | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 24 Jul 2006 Posts: 27
  
  | 
		  
		    
			  
				Hi all!
 
 
i have in my environment WMB, WMQ and WBIA for JDBC on Solaris
 
 
when i try to start up more than one instance on my server i received a information that it's impossible cause there's another instance running.
 
 
the information tells me to make sure if there's another instance running and removing the JDBCConnector.lock file in Install Dir.
 
 
i found a solution writing in begin of start_JDBC.sh file a line to remove this file.
 
 
How can i start up multiple instances of adapter for JDBC normally? _________________ Henrique Neil
 
System Analyst - Cyberlynxx
 
http://www.clx.com.br | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Ravill | 
		  
		    
			  
				 Posted: Thu Mar 15, 2007 2:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 15 Mar 2007 Posts: 2
  
  | 
		  
		    
			  
				May  be    this is not  correct , but  I   rewrite  file start_adapter.sh.
 
 I  have    10  instances JtextAdapter on  Solaris 10.This   environment  is  work | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Henrique Neil | 
		  
		    
			  
				 Posted: Thu Mar 15, 2007 4:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 24 Jul 2006 Posts: 27
  
  | 
		  
		    
			  
				Ravill,
 
 
whats is the changes you made in start_adapter.sh file? _________________ Henrique Neil
 
System Analyst - Cyberlynxx
 
http://www.clx.com.br | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Ravill | 
		  
		    
			  
				 Posted: Tue Mar 20, 2007 2:05 am    Post subject: Changes  in  start_adapter.sh | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 15 Mar 2007 Posts: 2
  
  | 
		  
		    
			  
				Hi, Henrique Neil.
 
Repeat  my  self .  May be  is  not  good idea, but  this  work. 
 
This   is part of my   code:
 
 
 
CONNAME="-nJTextConnector"
 
 
 
 
 if [ $4 = "-cconnectors/JText1C/JTextConnector1C.cfg" ]
 
  then 
 
    CONNAME=-nJTextConnector1C
 
 elif [ $4 = "-cconnectors/JTextMB/JTextConnectorMB.cfg" ]
 
    then      
 
       CONNAME=-nJTextConnectorMB
 
 
 
 fi
 
 
exec ${CWJAVA} ${JVM_ARGS} -Duser.home=$USER_HOME -Djava.ext.dirs=${EXT_DIRS} -Djava.library.path=${LIB_PATH} $ORB_PROPERTY $XML_PROPERTY -classpath ${CWCLASSES} AppEndWrapper $1 $CONNAME $3 $4 $5 $6 $7 $8 $9
 
 
 i created  new   variables  with  name -CONNAME  and  value 
 
 "-nJTextConnector"
 
 
 
and  replace argument $2 on  this  variables 
 
Dont  forget  create correct name   new   addapters | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Henrique Neil | 
		  
		    
			  
				 Posted: Tue Mar 20, 2007 5:40 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 24 Jul 2006 Posts: 27
  
  | 
		  
		    
			  
				Problem solved.
 
 
I didn't change the connector.jar name and the call of connector.
 
 
#start_JDBC.sh MyConnector WMQI -cFile.cfg
 
 
Thanks _________________ Henrique Neil
 
System Analyst - Cyberlynxx
 
http://www.clx.com.br | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |