Skip to content

AMQ9536E: Channel ended by an exit. #15

@leondelange123

Description

@leondelange123

Hi,

I have setup and have tried a number of things now and still its not working.

Can you confirm if this exit works with Keycloak ver 25.0.0 and MQ 9.4.0 on Linux HREL 8 ?

If I do the curl command to my keycloak server I get tokens back.
If I try the sample as suggested I can get it working until I add the exit like this... and then its starts failing.

DEFINE CHANNEL(ADM.SVRCONN2) CHLTYPE(CLNTCONN) CONNAME(
'zapsdcrapp3276.corp.dsarena.com(1420)') QMNAME(FILEBPRD01) SCYEXIT('extjwtexit(ChlExit)') SCYDATA(DEBUG)

Also no DEBUG info which makes this almost unusable as there isnt any proper errors.

[mqm@server3276 ssl]$ export JWT_TOKEN_USERNAME=xxxxxxxx
[mqm@server3276 ssl]$ export JWT_TOKEN_PWD=xxxxxxxx
[mqm@server3276 ssl]$ export JWT_TOKEN_CLIENTID=eJgX2xoNwFIhJLo1O2LQsUf8rFZeXMEb
[mqm@server3276 ssl]$ export MQSERVER="ADM.SVRCONN2/TCP/10.11.12.13(1420)"
[mqm@server3276 ssl]$ export MQSERVER="ADM.SVRCONN2/TCP/10.11.12.13(1420)"
[mqm@server3276 ssl]$ /apps/MQ940/MQServer/samp/bin/amqsputc Q2 FILEBPRD01
Sample AMQSPUT0 start
MQCONNX ended with reason code 2538

** If I remove ONLY the exit "extjwtexit(ChlExit)" from the channel it all works just fine. I can connect and put messages to the queue **

07/25/2024 05:42:19 PM - Process(1951211.12) User(mqm) Program(amqrmppa)
Host(server3276.corp.dsarena.com) Installation(Installation2)
VRMF(9.4.0.0) QMgr(FILEBPRD01)
Time(2024-07-25T15:42:19.399Z)
CommentInsert1(ADM.SVRCONN2)
CommentInsert2(extjwtexit(ChlExit))

AMQ9536E: Channel ended by an exit.

EXPLANATION:
Channel program 'ADM.SVRCONN2' was ended by exit 'extjwtexit(ChlExit)'.
ACTION:
None.

Any help would be appreciated as I cannot be the only one out there trying this :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions