Skip to Content
0
Former Member
Aug 01, 2005 at 02:13 PM

File receiver: Dynamic Filenames error

25 Views

Hi

I get an error in my File receiver adapter..

Receiver Adapter v1730 for Party '', Service 'SenderSystem':

Configured at 19:32:43 2005-08-01

Last message processing started 19:33:26 2005-08-01, Error: Message processing failed with java.text.ParseException: Variable 'test' not found in variable substitution table

We are currently on XI Sp12 patch level3.I have enabled the Variable substitution option and have defined a variable "test" used in defining the file name scheme.The reference points to a node value in the payload.

I have checked the config xml for the channel which does contain this value test in the variable table..Am I missing anything???

the config xml is as below:

[code]2005-08-01 19:32:43 : ToFile

      • Raw configuration data ***

      Transport protocol: File, version

      Message protocol: File, version 3.0.0527

      ftp.user|anonymous

      file.varSubstitution|true

      file.adapterStatus|active

      file.addParameterParams|*** TABLE , 0 ROWS DEFINED ***

      file.execute|

      file.targetFileName|%test%.xml

      ftp.overwrite|false

      file.counterMode|immediately

      file.encoding|

      file.overwrite|true

      ftp.transferMode|bin

      ftp.anonymous|false

      ftp.port|21

      file.advanced|false

      file.varSubstitutionDisableSecurity|true

      ftp.targetDir|null

      ftp.host|null

      file.counterSeparator|

      file.counterFormat|00000

      file.varSubstitutionParams|*** TABLE , 1 ROWS DEFINED ***

      file.varSubstitutionParams|file.varSubstitutionParams$0$file.varSubstitutionParamName$test

      file.varSubstitutionParams|file.varSubstitutionParams$0$file.varSubstitutionParamValue$payload:input,1,filenode,1,filename,1

      file.type|bin

      file.targetDir|//10.201.103.253/download

      ftp.password|***

      ftp.putSafe|YES

      file.writeMode|addTimeStamp

      ftp.writeMode|addTimeStamp

      file.recordsetStructure|null

      file.conversionParameters|*** TABLE , 0 ROWS DEFINED ***

      ftp.connection|permanently

      file.counterStep|1

          • Used configuration data ***

          'MessageProtocol': 'File'

          'TransportProtocol': 'File'

          'file.adapterStatus': 'active'

          'file.advanced': 'false'

          'file.encoding': ''

          'file.execute': ''

          'file.overwrite': 'true'

          'file.targetDir': '//10.201.103.253/download'

          'file.targetFileName': '%test%.xml'

          'file.type': 'bin'

          'file.varSubstitution': 'true'

          'file.varSubstitutionDisableSecurity': 'true'

          'file.waitForExecute': '0'

          'file.writeMode': 'addTimeStamp'

          OK - initialized

          [/code]