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 » Stopping WBI Adapters

Post new topic  Reply to topic
 Stopping WBI Adapters « View previous topic :: View next topic » 
Author Message
4integration
PostPosted: Thu Apr 26, 2007 9:20 pm    Post subject: Stopping WBI Adapters Reply with quote

Disciple

Joined: 04 Sep 2006
Posts: 197
Location: Gothenburg, Sweden

When running the WBI adapters on UNIX and there is a need for stopping them, it's quite complex.

1. Kill the process
2. Remove the lock file
3. Remove the pid file

I have seen "mqsiremotestopadapter" but it doesn't want to work on Windows. (haven't installed it on the UNIX box yet)

- How does this work?
- Is a message put on the admin queue that tells the adapter to shutdown?
- Can I create a simple JMS client that put such message?
_________________
Best regards
4 Integration
Back to top
View user's profile Send private message
mqseries0209
PostPosted: Fri Apr 27, 2007 6:13 am    Post subject: Reply with quote

Voyager

Joined: 30 Mar 2006
Posts: 90

Where have u see the "mqsiremotestopadapter" ?
I dont see any info regarding that in Infocenter.
What version of MB are you using ?.

Why is that u have to remove the lock file and pid file after killing the adapter ?. the adapter wont start again ? AFAIK, I was able to succesfully stop/kill adapters on AIX with out removing the above mentioned files.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Fri Apr 27, 2007 7:03 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Dont remove the .lock file, by your self, it will be done by the adapter itself.

you can stop the adapter by killing the adapter instances.

thanks and Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
djeripo
PostPosted: Sun Apr 29, 2007 7:44 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

I dont think Adapter does that on its own.We have to maually remove the .lock file from $wbi_adapters directory evrytime when we want to start back the adapter.This is happening in my case.
Back to top
View user's profile Send private message Visit poster's website
4integration
PostPosted: Sun Apr 29, 2007 8:42 pm    Post subject: Reply with quote

Disciple

Joined: 04 Sep 2006
Posts: 197
Location: Gothenburg, Sweden

mqseries0209 wrote:
Where have u see the "mqsiremotestopadapter" ?
I dont see any info regarding that in Infocenter.
What version of MB are you using ?.

Why is that u have to remove the lock file and pid file after killing the adapter ?. the adapter wont start again ? AFAIK, I was able to succesfully stop/kill adapters on AIX with out removing the above mentioned files.


We are using version 6 of the broker.
The information about the utility "mqsiremotestopadapter" is in the WBIA Infocenter: http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/healthcare/hl7mst24.htm

The tool is delivered as a support pack, IO02: http://www-1.ibm.com/support/docview.wss?uid=swg24005861
_________________
Best regards
4 Integration
Back to top
View user's profile Send private message
4integration
PostPosted: Sun Apr 29, 2007 8:45 pm    Post subject: Reply with quote

Disciple

Joined: 04 Sep 2006
Posts: 197
Location: Gothenburg, Sweden

Gaya3 wrote:
Dont remove the .lock file, by your self, it will be done by the adapter itself.

you can stop the adapter by killing the adapter instances.

thanks and Regards
Gayathri


No, it is not removed and it's not possible to start again without removing the lock file.

What signal do you kill with?

I have used the big sledge hammer -9 which gives the process no mercy and therefore not able to clean up before closing.
_________________
Best regards
4 Integration
Back to top
View user's profile Send private message
Il_Ciclone
PostPosted: Wed May 02, 2007 5:27 am    Post subject: Reply with quote

Novice

Joined: 21 Mar 2007
Posts: 24

I think the lockfile is removed automatically if you kill the process without the "-9"

i.e "kill <PID>"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Stopping WBI Adapters
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.