cancel
Showing results for 
Search instead for 
Did you mean: 

File Receiver Adapter Error

Former Member
0 Kudos

I'm using Variable substitution for the Directory I determine dynamically using UDF. I'm gettig following error. Would someone clarify how to wrok around this error.

2006-09-28 14:43:38 EDT: Message processing failed: Error during variable substitution: java.text.ParseException: Security violation encountered during variable substitution: Content of variable var2 is not safe: /sales/temp

Accepted Solutions (0)

Answers (1)

Answers (1)

agasthuri_doss
Active Contributor
0 Kudos

Dear Ram,

Can you post your error message still with more detail,

Kindly look into the parser.

Regards

Agasthuri Doss

Former Member
0 Kudos

Doss,

for Directory I was using variable substitution.

for example %var2% and then Var1 Iam getting from the Payload ( Iam populating the payload from UDF ).

When I checked 'disable security checks' on the receiver adapter screen, I'm not getting this error anymore.

Message was edited by: Ram Krish

bhavesh_kantilal
Active Contributor
0 Kudos

Ram,

To disable the check the adapter performs for the element data, set the Disable Security Checks indicator.

Otherwise, the adapter checks whether the element data contains characters that could lead to security risks in the file system environment. The check includes the characters “/“, “\“, and “..“.

Regards,

Bhavesh