Re: Weird triggering problem

2003-07-07 Thread Howarth, Chris









You can set a service to run in the
foreground. Under services\Log On you need to set it up running under
the local system account and select allow service to interact with the
desktop. I havent personally tried with MQSeries, but it may be
worth a try. It also may have unexpected and unwanted side-effects.









Regards,
___
Chris Howarth
CommerceQuest
UK Ltd









-Original Message-
From: Benjamin Zhou
[mailto:[EMAIL PROTECTED] 
Sent: 07 July 2003 13:41
To: [EMAIL PROTECTED]
Subject: Re: Weird triggering
problem





... and I am no novice.





well, you seem to be a novice with
starting applications in the fore- or background. 





Just kidding ..., sorry.











if you want to launch a GUI application,
it must be run in the foreground. If you start it with a service, you'll have
it running in the background. Of course you can't seethem on your
screen,they are all in the background,
spawnedfromthe runmqtrm service. 











This is not just for NT, try typing this
command in UNIX:vi , can you see the editor window?











So if you want to start your GUI in the
foreground, let it be triggered by a trigger monitor running in the foreground
- command line.











cheers,











Benjamin Zhou





State Street Corp.







-Original
Message-
From: Roger Lacroix [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 6:55
PM
To: [EMAIL PROTECTED]
Subject: Weird triggering problem



All,

I am having a problem with triggering from the Trigger Monitor as a
Service. I need to launch a GUI Windows program on a Windows 2000
box using WMQ v5.3 CSD3. 

No matter what I do, I cannot trigger my GUI Windows application (and I am no
novice). So I thought I would do a basic test and launch notepad.
In the process definition, I set the AppID to start C:\WinNT\notepad.exe

I created the Trigger Monitor service and used a blank as the initiation queue
name (this defaults to SYSTEM.DEFAULT.INITIATION.QUEUE).

So put a message on the triggering queue nothing happens. I cleared the
queue and tried it several times - nothing.

So I stopped the Trigger Monitor service, open a Command Prompt and typed runmqtrm.exe (no parameters specified!!). I put a message on the triggering queue
(same queue) and viola, notepad appeared. (I did not change any of the
queue or process definitions). 

So, I stopped runmqtrm at the Command Prompt (closed notepad), started the
Service Trigger Monitor and put a message on the triggering queue - nothing
again

After using IBM's name in vain, I checked the Windows Task Manager. Under the
Applications tab, it was normal looking but under the
Processes tab it showed that I had 5 notepad programs running. I
also noticed several copies of my missing program that I did not think was
started. 

So I looked at my Taskbar and also pressed Alt-Tab, there were no notepad
programs (or my GUI appl.). If I try to kill them, I get Access
denied. The only way to get rid of them is by rebooting.

I looked in the manuals but I don't see any restrictions about launching GUI
applications from the Service Trigger Monitor. 

Obviously the simple solution is to run the trigger monitor from the Command
Prompt but WHY. Why can't Trigger Monitor as a Service successfully start
a Windows GUI application? (i.e. AppID set to start
C:\WinNT\notepad.exe)

Anybody got any ideas?

later
Roger...










Re: Sec Channel Exit code

2002-11-28 Thread Howarth, Chris
I wrote the article mentioned below. It has an explanation of how
channel security exits work and has outline template code. You still
need to plug in the actual security you choose to implement, but the
article explains what each step is for, how it works and different
methods of security you can plug in.
If anyone wants the article and code, drop me a note. I think the link
below has the first part of the article.

Regards,
___
Chris Howarth
CommerceQuest UK Ltd


-Original Message-
From: Bullock, Rebecca (CSC) [mailto:[EMAIL PROTECTED]] 
Sent: 27 November 2002 17:34
To: [EMAIL PROTECTED]
Subject: OS/390: Channel Security Exit

Wasn't someone asking a question about this very topic just a week or so
ago? I just thought I'd point out that the latest issue of Mainframe
Week
(http://www.mainframeweek.com) has the start of a series of articles on
this. It may be too late for the person with the query, but perhaps
someone
else would be interested.

Regards, Rebecca

P.S. For those of you in the U.S. --Happy Thanksgiving!

Rebecca Bullock
Computer Sciences Corporation

Educational Testing Service Account
Princeton, NJ 08541

e-mail: [EMAIL PROTECTED][EMAIL PROTECTED]

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Compiling MQSeries progs on Linux

2002-11-25 Thread Howarth, Chris
Does anyone have a good knowledge of Linux programming with MQSeries?
I am trying to recompile some of my C++ programs on RedHat Linux 8.0.
The MQSeries (5.3.1) readme says I need libstdc++.so.3 to compile the
samples (which my installation didn't have), so I dutifully downloaded
an rpm package which included it and installed. Now any compilation I do
complains that the libstdc++.so.3 needed by /opt/mqm/lib/libimqb23gl.so
may conflict with libstdc++.so.5 and refuses to link despite the fact it
is only a warning.
I am relatively new to programming with Linux (in case you couldn't
tell) so any clear advice would be appreciated.
Regards,
___
Chris H

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive