Test the solution & Summary

To test the solution, I will log in on Sterling My File Gateway with my Producer User (ProducerToWMQFTE), and upload a file. This file should then be sent to AGENT1 on the MQ Server and stored in a folder there.

I upload the file SFG_Test_To_MQFTE.pdf.

The file is being written to the Producer Mailbox and Processed.

The file is Processed and Routed, and should now be on the Folder for AGENT1 on the MQ Server.

The file resides on the inbound folder for AGENT1 on the MQ Server.

Below is the Log file for the AGENT_SFG in WebSphere MQ, and it shows the Source Agent, Destination Agent, originator Host (SB2BI/SFG Server IP), Source File and Destination File.

This shows the possibility to connect IBM WebSphere MQ FTE with Sterling B2B Integrator/Sterling File Gateway. There is not really a very straight forward way, but once the initial setup is done, it works.

First of all thank you for this guide.
I am trying to follow it, however the adapter fails to start and I get this in the error log file of the queue manager:

AMQ9777: Channel was blocked

EXPLANATION:
The inbound channel ‘SYSTEM.DEF.SVRCONN’ was blocked from address
‘192.168.88.84’ because the active values of the channel matched a record
configured with USERSRC(NOACCESS). The active values of the channel were
‘CLNTUSER(sterling)’.
ACTION:
Contact the systems administrator, who should examine the channel
authentication records to ensure that the correct settings have been
configured. The ALTER QMGR CHLAUTH switch is used to control whether channel
authentication records are used. The command DISPLAY CHLAUTH can be used to
query the channel authentication records.

The user sterling is the one who runs the integrator and he is also added on the MQ machine and the mqm, FTAGENTS and FTUSERS groups.

It is a long time since I did this, and I have just replaced my laptop, and have not yet moved my MQ server to my new Mac, so I am not able to go back and check this. But it has to do with the default authentication in MQ, and that is a field of expertise by itself. I remember that I pretty much disabled all security in my MQ to get rid of the hassle since it is an internal test solution anyway and the fact that MQ is not my field of expertise. I think you could try to run MQSC command ALTER QMGR CHLAUTH(DISABLED) to disable all security. This is of course only if this is a test solution where security isn’t a concern. If not, talk to someone who knows MQ and the security settings in MQ to give the Sterling User the correct access rights.

Just for the record, I was able to make it work by:
– creating a new server-connection channel
– creating a channel authentication record for the sterling user in that channel
– using that channel when configuring the adapter in sterling
– running the addSpoke script again and setting the agentIPAddress to the sterling ip address
– authorizing the user sterling to put/get/inquire messages in the reply queue

I’m sure there is a better way to do it, but this worked for me.
Anyway, again thank you for this great guide.