Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security exit configuration for MQ java client.

Status
Not open for further replies.

yonk

Programmer
Feb 14, 2001
3
SG
Hi everyone..
Currently I'm working on a security exit program on MQ AIX to validate userid (passed as security exit data) from MQ client site. MQ AIX security exit is created using C with connection type SVRCONN.
I've already create simple MQ client + client security exits using C and it works properly. But when I use MQ java client, the problem arised.
The security exit program on the server always get MQXR_TERM after receiving MQXR_INIT exit reason. The error code is:
AMQ9547: Type of remote channel not suitable for action requested.
And the java client endded with comp code : 2 and Reason code 2195.
If I removed the server security exit then the problem vanished.
Is there any additional configuration needed specially for this MQ Java client ?

Following is the configuration of the channel :
DEFINE CHANNEL(MYCHANNEL) CHLTYPE(SVRCONN) TRPTYPE(TCP) +
SCYEXIT('SVREXIT(ChannelExit)')
DEFINE CHANNEL(MYCHANNEL) CHLTYPE(CLNTCONN) TRPTYPE(TCP) +
CONNAME('168.7.31.11(1427)') QMNAME(QM.MAN) +
SCYEXIT('CLIEXIT(MYCHANNEL)')

Thanks a zillion for any help....

Kind regards

YONK

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top