ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Multiple instances of adapter for JDBC

Post new topic  Reply to topic
 Multiple instances of adapter for JDBC « View previous topic :: View next topic » 
Author Message
Henrique Neil
PostPosted: Wed Mar 14, 2007 7:48 am    Post subject: Multiple instances of adapter for JDBC Reply with quote

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
View user's profile Send private message MSN Messenger
Ravill
PostPosted: Thu Mar 15, 2007 2:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Henrique Neil
PostPosted: Thu Mar 15, 2007 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Ravill
PostPosted: Tue Mar 20, 2007 2:05 am    Post subject: Changes in start_adapter.sh Reply with quote

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
View user's profile Send private message Send e-mail
Henrique Neil
PostPosted: Tue Mar 20, 2007 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Multiple instances of adapter for JDBC
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.