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 » WebSphere Message Broker (ACE) Support » Issue with FileInput node

Post new topic  Reply to topic Goto page 1, 2  Next
 Issue with FileInput node « View previous topic :: View next topic » 
Author Message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 9:28 am    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

I am facing an issue with FileInput node which reads from an FTP server.
The security identity has been configured correctly. The WMB flow is able to login and read a file from FTP server. But the mqsiarchive, mqsibackout folders are not created on the FTP server on successful processing or failure.

Have anyone faced this kind of issue before. I would appreciate if someone can help me with this issue.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 9:30 am    Post subject: Re: Issue with FileInput node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MQWMBDeveloper wrote:
But the mqsiarchive, mqsibackout folders are not created on the FTP server on successful processing or failure.


Should they be? I've have expected (perhaps mistakenly) that's they'd be on the WMB machine.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 9:50 am    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

No, When the file processing is complete, The broker automatically creates mqsiarchive, mqsibackout folders once the file processing is complete.

On successful processing of file, file is moved to mqsiarchive
On Failure, file is moved to mqsibackout.

I am facing an issue like the broker is not able to create these folders on the FTP server location though the file is processing successfully.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 9:56 am    Post subject: Re: Issue with FileInput node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MQWMBDeveloper wrote:
No, When the file processing is complete, The broker automatically creates mqsiarchive, mqsibackout folders once the file processing is complete.


Not in dispute.

MQWMBDeveloper wrote:
On successful processing of file, file is moved to mqsiarchive
On Failure, file is moved to mqsibackout.


Not in dispute either.

MQWMBDeveloper wrote:
I am facing an issue like the broker is not able to create these folders on the FTP server location though the file is processing successfully.


My point is that the expectation I have is that broker wouldn't try to create them on the FTP server location but would create them locally.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 10:13 am    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

When you say it creates locally, where does it create?
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 10:33 am    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

Here's the help contents on File Input node File Processing.

File processing
The FileInput node reads files from a specified directory called the input directory and propagates messages based on the contents of these files. Only files with names that match a specified pattern (the input pattern) are read.

The FileInput node removes each file from the input directory as it is processed.

Optionally, the FileInput node can transfer files from a remote FTP or SFTP server to process them. If the remote file is successfully transferred, it is deleted from the FTP or SFTP server and the transferred copy is processed as though it had been placed in the input directory. Only files that match the input pattern are transferred.

The FileInput node uses subdirectories of the input directory to hold files during and after processing. All of these subdirectories begin with the prefix mqsi. Among these subdirectories are the archive directory, mqsiarchive, and the backout directory, mqsibackout.

If the message flow processes the file successfully, the message flow transaction commits, and the file is deleted or moved to the archive directory. You can determine which of these actions is to be taken by specifying properties on the node. If processing is unsuccessful, the message flow transaction backs out, and the file is deleted and moved to the backout directory.



Still I am having an issue that it is not creating a subdirectory mqsiarchive, mqsibackout on the FTP server location where it reads the file from.
Back to top
View user's profile Send private message
dilse
PostPosted: Thu Jul 28, 2011 10:41 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

mqsiarchive and mqsibackout directories will only be created on WMB server under your mentioned local input directory folder which is a mandatory parameter and NOT on the FTP Server. Hope this helps.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 11:37 am    Post subject: Re: Issue with FileInput node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MQWMBDeveloper wrote:
When you say it creates locally, where does it create?


On the broker's machine; that's what I mean when I say "locally".
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 12:38 pm    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

I understand that it is on the broker machine, but what is the Path??
Is there any standard path like /var/???? something something
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 28, 2011 12:39 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's the path that *you* configured as the *input* directory.
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 12:41 pm    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

The file input directory is a path on the FTP server. as per the information provided in the help contents, It should have created subdirectory mqsiarchive, mqsibackout under Input directory(Which is already a path on FTP server.)
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 12:52 pm    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

Ok, now i get it. The input directory under basic tab is a path on the broker, whereas the server directory under FTP tab is the actual location of the file in the FTP server.

I have provided the same path in the Input directory under basic tab as the server directory in the FTP tab.

If the broker doesn't find the input directory path, does it create one automatically??????
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jul 28, 2011 1:13 pm    Post subject: Re: Issue with FileInput node Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

MQWMBDeveloper wrote:
If the broker doesn't find the input directory path, does it create one automatically??????


No, and I still have some doubts that providing an FTP location will trigger the node to create a remote destination.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 1:23 pm    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

FileInput node is configured to read a file from FTP location and directory which is given in the FTP tab.
As per the help contents, Inputdirectory should be the directory from which the files have to be processed, So it is the same as the FTP server directory from where we have to take and process files.

It is reading the file from the FTP server location processing it successfully.

Now when it comes to moving the file to mqsiarchive part, you say that it is created on the path configured in the input directory...
Back to top
View user's profile Send private message
MQWMBDeveloper
PostPosted: Thu Jul 28, 2011 1:28 pm    Post subject: Issue with FileInput node Reply with quote

Novice

Joined: 28 Jul 2011
Posts: 16

In the FileInput node, The input directory under the Basic tab, Server directory under FTP tab. Shouldn't they be the same? When it comes to Processing file from FTP server.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Issue with FileInput node
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.