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 » Triggers in AIX machine

Post new topic  Reply to topic
 Triggers in AIX machine « View previous topic :: View next topic » 
Author Message
Surfer
PostPosted: Mon Jun 20, 2005 5:54 pm    Post subject: Triggers in AIX machine Reply with quote

Apprentice

Joined: 14 Jun 2002
Posts: 31

I created process assigned a java program to it. Tryed it in Windows environment and it works perfectly.
But when I wanted to try it at AIX, the batch file that is called from the trigger is launched until the line that calls my java class and it stops with no error message.

Code:
[b]/javaHome/bin/java -Djava.library.path "<path for shared libraries> etc " /myJavaClass[/b]


I launched the same xyz.sh file from the command line and it works.

I am wondering what was happen and how could I solve that problem ?

Any help.

Thank you in advance.
Back to top
View user's profile Send private message Send e-mail
Surfer
PostPosted: Mon Jun 20, 2005 6:31 pm    Post subject: Triggers with aix machine Reply with quote

Apprentice

Joined: 14 Jun 2002
Posts: 31

I think I found the problem.
IBM said that this variable : AMQ_NO_SIGWAIT_SIGTRAP
should be set to the value of 1 and exported.
Back to top
View user's profile Send private message Send e-mail
Surfer
PostPosted: Tue Jun 21, 2005 4:40 am    Post subject: Reply with quote

Apprentice

Joined: 14 Jun 2002
Posts: 31

I tryed what IBM told but it doesnt work.
Any help ?
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Jun 21, 2005 6:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to make sure that it is set where it needs to be, not just from your shell.

Did you put it in your script file before you ran the java process?

Also try nohup and & your java program inside your script. See if that gives you more info in the nohup.out or something.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Jun 21, 2005 8:18 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

You have to set this env var in the shell you start the trigger monitor from, i
i.e. stop the trigger monitor, either by get inhibiting the initq, killing the process, or ending the qmgr, set and export the env var, then restart the trigger monitor.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jun 21, 2005 8:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, maybe a mod can move this to a more useful forum.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 21, 2005 10:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

jefflowrey wrote:
Also, maybe a mod can move this to a more useful forum.

The three mods of this particular forum have not been visiting the forum regularly. Maybe I'll have to add this one to my list too.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Surfer
PostPosted: Wed Jun 22, 2005 5:02 am    Post subject: Reply with quote

Apprentice

Joined: 14 Jun 2002
Posts: 31

I did that. I exported the variable at the script execution just before my application hangs, nohup and also the "&".
Thank you all of you.
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 » Triggers in AIX machine
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.