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 » IBM MQ File Transfer Edition » MQMFT 7.5 client agent does not read from local directory

Post new topic  Reply to topic
 MQMFT 7.5 client agent does not read from local directory « View previous topic :: View next topic » 
Author Message
rian
PostPosted: Mon Mar 31, 2014 9:38 am    Post subject: MQMFT 7.5 client agent does not read from local directory Reply with quote

Newbie

Joined: 17 Feb 2014
Posts: 2

Hi,

I have an app server (app01) with MQ MFT 7.5 installed on it. I have 2 queue managers CMDQM which acts as coordination and command QM. The other one is AGNTQM which acts as agent queue manager. app01 has an agent MQSERVAGENT configured connecting to the local agent and coordination Queue managers. I have another server (ftp01) which has MQ MFT 7.5 with a client agent CLIENTAGENT connecting to app01 remote queue managers.

If I issue a file transfer command on ftp01 to transfer a file from CLIENTAGENT to MQSERVAGENT as below, the file input.txt from local directory on ftp01 is not transferred to app01 /tmp/testing directory.

fteCreateTransfer -sa CLIENTAGENT -da MQSERVAGENT -dm AGNTQM -dd /tmp/testing "/tmp/fromWD/input.txt"

But if I issue the following command to transfer file from a directory on app01 to another directory on app01, it works.

fteCreateTransfer -sa CLIENTAGENT -da MQSERVAGENT -dm AGNTQM -dd /tmp/testing "/tmp/input.txt"

The agent is running under mqm user.I checked the permissions on the file and they seem to be right for the mqm user. Any pointers on how to debug this issue?

Thanks!
Back to top
View user's profile Send private message
tomleend
PostPosted: Sat Apr 05, 2014 1:16 am    Post subject: Reply with quote

Acolyte

Joined: 24 Jan 2014
Posts: 51

Hi rian,

With your first fteCreateTransfer command:

fteCreateTransfer -sa CLIENTAGENT -da MQSERVAGENT -dm AGNTQM -dd /tmp/testing "/tmp/fromWD/input.txt"

you are instructing WebSphere MQ Managed File Transfer (MFT) to transfer the source file "/tmp/fromWD/input.txt" using the agent named CLIENTAGENT as the source agent for the transfer to the destination agent MQSERVAGENT. Therefore this file must be accessible to the source agent, which according to the description you have provided of your topology, is running on a server called ftp01. The file should then be transferred to the server app01 where it will be written by the agent MQSERVAGENT.

Does the file "/tmp/fromWD/input.txt" exist on ftp01?


As your second fteCreateTransfer command works:

fteCreateTransfer -sa CLIENTAGENT -da MQSERVAGENT -dm AGNTQM -dd /tmp/testing "/tmp/input.txt"

the file "/tmp/input.txt" must exist on ftp01, is read by the agent CLIENTAGENT, and the data then written to /tmp/testing/input.txt by the agent MQSERVAGENT on app01. I assume therefore there is no communication / configuration error between your agents as this case works okay.


If you are still having difficulties, I suggest you inspect your database (if using the MFT database logger tools) or just the WebSphere MQ Explorer and the MFT Transfer Log to review what is being reported about the first transfer request you issued? If the transfer has failed, the log will tell you why and this will help you to resolve the situation.

Hope this helps!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ File Transfer Edition » MQMFT 7.5 client agent does not read from local directory
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.