cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.Exception: Overwriting file

Former Member
0 Kudos

Hi All,

We are having some trouble with one of our interfaces where XI creates files in append mode and gets the filename from the Payload. From last couple of days, we are getting the below error for some reason. There are no other extra config setups in the file CC.

Any help to figure out the issue would be highly appreciated.

2008-08-12 14:04:56 Error Attempt to process file failed with java.lang.Exception: Overwriting file '
host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag

2008-08-12 14:04:56 Error Exception caught by adapter framework: Overwriting file '
host\folder\otci001\Archive\08122008_140453_OTCI001.txt' not allowed due to configuration flag.

Thanks,

AJ.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check if the file permissions have changed to read only mode....as well as confirm the authorizations for User ID to append data.

Thanks

Swarup

Former Member
0 Kudos

Thanks for pointing it out Swarup.

But the error doesn't occur for all the messages that appends. If it is an authorization issue then the interface should throw error for all the appends. right?

Any other thoughts.

Thanks,

AJ.

Edited by: AJ on Aug 12, 2008 9:29 PM

Former Member
0 Kudos

HI,

Once the file is appended, are you doing any further processing with file. because the error "not allowed due to configuration flag" and as youhave said its not for al the messages indicates to single point.

If the attempt to append the data in file if in case that is in processing and have locked with some other process flow marked after XI...

You may also need to look into the FTP log details...for more details

Thanks

Swarup

Former Member
0 Kudos

Thanks for all your replies.

Swarup,

That makes sense. It is possible that the legacy application would have opened the file in read mode and XI tries to append it.

Let me check that first and will get back.

***Points are given to all replies.

Thanks,

AJ.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

>>not allowed due to configuration flag

Is it possible that some other application is trying to read this file and it has locked any changes to be performed over it?

Could you please check that

Thanx

Aamir

GabrielSagaya
Active Contributor
0 Kudos

Check with File Permission whether it is in Read Only mode

please check with the similar thread