Author |
Message
|
Omuch |
Posted: Mon Jun 18, 2012 12:58 am Post subject: Fileinput node - Parsed Recored Sequence |
|
|
Acolyte
Joined: 23 Mar 2012 Posts: 54
|
Hi
I'm using Broker 6.1.0.7
I have a flow that reads large XML file (50 MB) with Fileinput node
as Parsed record Sequence
Sometimes, the flow throws parsing exception and sometimes everything works.
When I configured the retry on the node to short and long it fixed it ,
and now it works always.
Has anyone ever encountered a problem like this? |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Mon Jun 18, 2012 2:00 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Hi Omuch,
Have you captured and examined the actual error messages and service / user traces? They could point you the root cause of the problem.
--
Marko |
|
Back to top |
|
 |
Esa |
Posted: Mon Jun 18, 2012 2:29 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
I would guess that your FileInput node sometimes starts procesing the file before its finished.
Is the file written by an application or does the FileInput node get if with FTP?
Which platform? What is your strategy for locking the file until its finished? |
|
Back to top |
|
 |
Omuch |
Posted: Mon Jun 18, 2012 5:57 am Post subject: |
|
|
Acolyte
Joined: 23 Mar 2012 Posts: 54
|
Esa wrote: |
I would guess that your FileInput node sometimes starts procesing the file before its finished.
Is the file written by an application or does the FileInput node get if with FTP? |
Yes it could be, The file is written by DataPower.
Esa wrote: |
Which platform? What is your strategy for locking the file until its finished? |
For now, I configured the retry on the fileinput node to
long and short retry, it works.
What is your strategy for locking the file? |
|
Back to top |
|
 |
Esa |
Posted: Mon Jun 18, 2012 6:02 am Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
Omuch wrote: |
For now, I configured the retry on the fileinput node to
long and short retry, it works.
What is your strategy for locking the file? |
I should have asked 'What was your strategy for locking the file?'
I think your current strategy is the right one for handling XML files with parsed record sequence. Or at least sufficient. |
|
Back to top |
|
 |
|