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 » fileinput node filename length

Post new topic  Reply to topic
 fileinput node filename length « View previous topic :: View next topic » 
Author Message
paustin_ours
PostPosted: Tue May 06, 2014 1:14 pm    Post subject: fileinput node filename length Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

Fileinput node is not picking up a file if the filename greater than 250 characters at least in my testing. this is along with the directory length. I didnt see any limit in the infocenter.

Any thoughts?
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Tue May 06, 2014 7:49 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I believe there is somewhere in the documentation a caution remark about filepath length... Anyway you can reduce path length and complexity using the windows MKLink command... (or net use for network path)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
paustin_ours
PostPosted: Tue May 06, 2014 10:33 pm    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

I would hope a limitation of this sort if true would be clearly documented.
Back to top
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Wed May 07, 2014 4:29 am    Post subject: Reply with quote

Grand High Poobah

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

paustin_ours wrote:
I would hope a limitation of this sort if true would be clearly documented.


I would hope that if you had a path and filename with a combined length of much past 100 characters you'd already be thinking, "Isn't this a bit long and cumbersome? Isn't there anything we can do to simplify it?"
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Tibor
PostPosted: Wed May 07, 2014 6:09 am    Post subject: Re: fileinput node filename length Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

paustin_ours wrote:
Fileinput node is not picking up a file if the filename greater than 250 characters


If I remember correctly, you can switch the trace (user? service?) on for Execution Group at debug level and FileInput node sends detailed information about file handling.
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Wed May 07, 2014 11:10 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

Quote:
If I remember correctly, you can switch the trace (user? service?) on for Execution Group at debug level and FileInput node sends detailed information about file handling.


you can try all you want but the trace wont give you anything because the file is not even getting picked.
Back to top
View user's profile Send private message Yahoo Messenger
Tibor
PostPosted: Thu May 08, 2014 12:15 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

paustin_ours wrote:
you can try all you want but the trace wont give you anything because the file is not even getting picked.

Sorry, but it's not true.

If you switch the broker trace on for your EG which contains a FileInput node
Code:
mqsichangetrace BROKER -t -e EG -l debug -r


You can get detailed information about file handling, e.g.
Code:
{ ImbJniInputTemplateNode::readData Test_file#FCMComposite_1_1 ComIbmFileInputNode , Test_file.FileInput
  { com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.readData , 'null file[0] offset: 0 of: 0'
    { com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.flowState
    } com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.flowState , 'clear'
    com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.readData 'Moving to next file'
    { com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.resetOffsetAndRecord
    } com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.resetOffsetAndRecord
    { com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkWorkingDirectories
      { com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , '/mqsiwork/./mbfe/test'
        { com.ibm.broker.flowgroupfiles.MbDirectory@-21a405da.ensureWriteable , '/mqsiwork/./mbfe/test'
        } com.ibm.broker.flowgroupfiles.MbDirectory@-21a405da.ensureWriteable , 'true'
        { com.ibm.broker.flowgroupfiles.MbDirectory@-21a405da.getCanonicalMbDirectory
          com.ibm.broker.flowgroupfiles.MbDirectory@-21a405da.getCanonicalPath 'Cached Canonical path used' , '/m/mq/mqsiwork/mbfe/test'
          com.ibm.broker.flowgroupfiles.MbDirectory@-4540bae.MbDirectory '/m/mq/mqsiwork/mbfe/test'
        } com.ibm.broker.flowgroupfiles.MbDirectory@-21a405da.getCanonicalMbDirectory , '/m/mq/mqsiwork/mbfe/test'
      } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , 'true'
      { com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , '/mqsiwork/./mbfe/test/mqsitransitin'
        { com.ibm.broker.flowgroupfiles.MbDirectory@-12861249.ensureWriteable , '/mqsiwork/./mbfe/test/mqsitransitin'
        } com.ibm.broker.flowgroupfiles.MbDirectory@-12861249.ensureWriteable , 'true'
        { com.ibm.broker.flowgroupfiles.MbDirectory@-12861249.getCanonicalMbDirectory
          com.ibm.broker.flowgroupfiles.MbDirectory@-12861249.getCanonicalPath 'Cached Canonical path used' , '/m/mq/mqsiwork/mbfe/test/mqsitransitin'
          com.ibm.broker.flowgroupfiles.MbDirectory@-2b98f5d.MbDirectory '/m/mq/mqsiwork/mbfe/test/mqsitransitin'
        } com.ibm.broker.flowgroupfiles.MbDirectory@-12861249.getCanonicalMbDirectory , '/m/mq/mqsiwork/mbfe/test/mqsitransitin'
      } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , 'true'
      { com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , '/mqsiwork/./mbfe/test/mqsitransitin/locks'
        { com.ibm.broker.flowgroupfiles.MbDirectory@7eb57cee.ensureWriteable , '/mqsiwork/./mbfe/test/mqsitransitin/locks'
        } com.ibm.broker.flowgroupfiles.MbDirectory@7eb57cee.ensureWriteable , 'true'
        { com.ibm.broker.flowgroupfiles.MbDirectory@7eb57cee.getCanonicalMbDirectory
          com.ibm.broker.flowgroupfiles.MbDirectory@7eb57cee.getCanonicalPath 'Cached Canonical path used' , '/m/mq/mqsiwork/mbfe/test/mqsitransitin/locks'
          com.ibm.broker.flowgroupfiles.MbDirectory@-423b37e6.MbDirectory '/m/mq/mqsiwork/mbfe/test/mqsitransitin/locks'
        } com.ibm.broker.flowgroupfiles.MbDirectory@7eb57cee.getCanonicalMbDirectory , '/m/mq/mqsiwork/mbfe/test/mqsitransitin/locks'
      } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , 'true'
      { com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , '/mqsiwork/./mbfe/test/mqsibackout'
        { com.ibm.broker.flowgroupfiles.MbDirectory@b66fbe4.ensureWriteable , '/mqsiwork/./mbfe/test/mqsibackout'
        } com.ibm.broker.flowgroupfiles.MbDirectory@b66fbe4.ensureWriteable , 'true'
        { com.ibm.broker.flowgroupfiles.MbDirectory@b66fbe4.getCanonicalMbDirectory
          com.ibm.broker.flowgroupfiles.MbDirectory@b66fbe4.getCanonicalPath 'Cached Canonical path used' , '/m/mq/mqsiwork/mbfe/test/mqsibackout'
          com.ibm.broker.flowgroupfiles.MbDirectory@-7b4044f0.MbDirectory '/m/mq/mqsiwork/mbfe/test/mqsibackout'
        } com.ibm.broker.flowgroupfiles.MbDirectory@b66fbe4.getCanonicalMbDirectory , '/m/mq/mqsiwork/mbfe/test/mqsibackout'
      } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkDirectory , 'true'
      { com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.clearBlock
      } com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.clearBlock
      { com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.setDirectoryValid , 'directoryInvalidCount: 0'
      } com.ibm.broker.nodes.filenodes.FileInputContext@35fd35fd.setDirectoryValid
    } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.checkWorkingDirectories , 'true'
    { ComIbmFileInputNode.getNextFile
      { ComIbmFileInputNode.getNextLocalFile
        com.ibm.broker.nodes.filenodes.InputFileQueue@7fb27fb2.isUsed 'Used flag: false'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7fb27fb2.getNext 'End of polling.  Processed no files from /mqsiwork/./mbfe/test/mqsitransitin'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7fb27fb2.getNext 'Polling file null'
        ComIbmFileInputNode.getNextLocalFile 'No files in mqsitransit directory:' , '/mqsiwork/./mbfe/test/mqsitransitin'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.isUsed 'Used flag: true'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.getNext 'End of polling.  Processed 1 files from /mqsiwork/./mbfe/test'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.fill 'Refilling input file queue.'
        { com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.fillInternal , 'Directory name: test, Recursion level: 1, In transit sweep?: false'
          { com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.addFilesToListRecurseIfNeeded , 'Directory name: test'
            com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.addFilesToListRecurseIfNeeded 'Looking at file or directory' , 'mqsibackout'
            com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.addFilesToListRecurseIfNeeded 'Looking at file or directory' , 'mqsitransitin'
            com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.addFilesToListRecurseIfNeeded 'Looking at file or directory' , 'trace.xml'
            com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.addFilesToListRecurseIfNeeded 'Looking at file or directory' , 'trace.xml.txt'
          } com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.addFilesToListRecurseIfNeeded
        } com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.fillInternal
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.fill 'Current size: 0'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.getNext 'Polling file null'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.isUsed 'Used flag: false'
        com.ibm.broker.nodes.filenodes.InputFileQueue@7f707f70.markUsed 'Incrementing file count.'
      } ComIbmFileInputNode.getNextLocalFile , 'null'
    } ComIbmFileInputNode.getNextFile , 'null'
  } com.ibm.broker.nodes.filenodes.ComIbmFileInputNode@75d575d5.readData , 'READDATA_TIMED_OUT_WAIT_REQUIRED'
} ImbJniInputTemplateNode::readData Test_file#FCMComposite_1_1 ComIbmFileInputNode , Test_file.FileInput
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 » WebSphere Message Broker (ACE) Support » fileinput node filename length
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.