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 Message Broker (ACE) Support » Executing UNIX scripts from WMB

Post new topic  Reply to topic
 Executing UNIX scripts from WMB « View previous topic :: View next topic » 
Author Message
amitkothari18
PostPosted: Fri Aug 12, 2011 9:39 am    Post subject: Executing UNIX scripts from WMB Reply with quote

Novice

Joined: 12 Feb 2011
Posts: 24

Hi

Another query, is there a way to execute UNIX scripts from WMB code, like we invoke store procedure of Java procedure?

We have WMBv6.1.0.8 deployed on AIX environment.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 12, 2011 10:02 am    Post subject: Re: Executing UNIX scripts from WMB Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

amitkothari18 wrote:
Another query, is there a way to execute UNIX scripts from WMB code


Yes. Get a JCN to do it.

A better question is why exactly would you want to? Or need to?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
amitkothari18
PostPosted: Fri Aug 12, 2011 10:07 am    Post subject: Thanks for the reply. Reply with quote

Novice

Joined: 12 Feb 2011
Posts: 24

As you might be aware that with WMBv6.1.0.6 they had hard coded the timeout value for File output nodes to 5sec. Since, we recently upgraded to WMBv6.1.0.8 we started experiencing a lot of ftp failures.

IBM had fixed it with WMBv6.1.0.9 but due to our project deadlines, we can not afford to upgrade to 6.1.0.9 at this time.

We are trying to find alternate ways of doing ftp, one of the options was to use a shell script to do it but since cronjob has very less visibility so we were trying to see if we can use WMB to do that for us.

Any suggestions for this are welcomed....also by JCN u meant Java Compute Node, right?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 12, 2011 10:19 am    Post subject: Re: Thanks for the reply. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

amitkothari18 wrote:
As you might be aware that with WMBv6.1.0.6 they had hard coded the timeout value for File output nodes to 5sec.


What?
amitkothari18 wrote:
IBM had fixed it with WMBv6.1.0.9 but due to our project deadlines, we can not afford to upgrade to 6.1.0.9 at this time.


So rather than take a couple of hours out to perform the upgrade, you're going to spend a couple of days knocking together a solution that's not as good as the one in 6.1.0.9 and will be redundant when you finally upgrade? This makes sense how?

amitkothari18 wrote:
We are trying to find alternate ways of doing ftp, one of the options was to use a shell script to do it but since cronjob has very less visibility so we were trying to see if we can use WMB to do that for us.


You're mad.

amitkothari18 wrote:
Any suggestions for this are welcomed


Apply the upgrade.

amitkothari18 wrote:
JCN u meant Java Compute Node, right?


Yes. And you is spelt "you" not "u". This isn't Twitter nor is it an SMS message.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
amitkothari18
PostPosted: Fri Aug 12, 2011 10:34 am    Post subject: Thanks again for being truthful Reply with quote

Novice

Joined: 12 Feb 2011
Posts: 24

Being a mere developer in a big organization you do not get a lot of say in a lot of things and at times you have to choose alternative solution which might not be the best possible solution at that time.
I know using scripts to ftp is not a very good solution and definitely upgrading WMB is the simplest option.
But since we had done 6.1.0.8 upgrade to fix a issue and it resulted in this new issue so before the upgrade we need to understand all the pros and cons of doing it and how it is going to impact all the other applications that are built on WMB platform in our organization.

I really admire all the help and support you provide. Thanks for all the help.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 12, 2011 10:39 am    Post subject: Re: Thanks again for being truthful Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

amitkothari18 wrote:
Being a mere developer in a big organization you do not get a lot of say in a lot of things and at times you have to choose alternative solution which might not be the best possible solution at that time.


Granted, but you can still push back against such solutions, especially when they're going to waste project time in the long run.


amitkothari18 wrote:
But since we had done 6.1.0.8 upgrade to fix a issue


Why didn't you go to 6.1.0.9?

amitkothari18 wrote:
, but it resulted in this new issue so before the upgrade we need to understand all the pros and cons of doing it and how it is going to impact all the other applications that are built on WMB platform in our organization.


If you don't accept the new functionality the impact is near-zero.

And why was moving to 6.1.0.8 to fix an issue not a problem, but moving to 6.1.0.9 to fix this issue is?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
amitkothari18
PostPosted: Fri Aug 12, 2011 10:47 am    Post subject: Re: Thanks again for being truthful Reply with quote

Novice

Joined: 12 Feb 2011
Posts: 24

Why didn't you go to 6.1.0.9?

amitkothari18 wrote:
IBM had suggested us to move to 6.1.0.8 for the specific problem we were experiencing at that time.


If you don't accept the new functionality the impact is near-zero.

And why was moving to 6.1.0.8 to fix an issue not a problem, but moving to 6.1.0.9 to fix this issue is?
amitkothari18 wrote:
It was not a problem then because we were not in the middle to project deadlines, this was almost 3-4 months back. But, since now we know that upgrade to 6.1.0.8 resulted in other issues so our PM wants us to be sure that going to 6.1.0.9 would not create any further issues. And since the development is done by a different team and they do not want to change anything as they are already in a time crunch so upgrading at this time does not seem possible but yes, will try to push harder
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Aug 12, 2011 12:25 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

you might like to look at the JobCotrolNode Support Pack.

It will allow you to execute shell scripts without having to go through all that Java faff (ducks to avoind incoming missiles)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Aug 12, 2011 12:57 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

smdavies99 wrote:
Java faff (ducks to avoind incoming missiles)


The Java nation is conserving ammo for just the right moment. Besides, its Friday. Can we buy you a pint?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Executing UNIX scripts from WMB
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.