000033239 - Data Feeds sporadically failing in RSA Archer 5.4.1.3 with the error: "The process cannot access the file" for being used by another process

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000033239
Applies ToRSA Product Set: Archer
RSA Version/Condition: 5.4.1.3
IssueData Feeds sporadically failing with the following entry in the Jobframework.Job log:
 

<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
  <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
    <EventID>3</EventID>
    <Type>3</Type>
    <SubType Name="Error">0</SubType>
    <Level>2</Level>
    <TimeCreated SystemTime="2016-05-12T05:00:52.2585953Z" />
    <Source Name="ArcherTech.DataFeed" />
    <Correlation ActivityID="{2de9b7b3-71a9-49ac-91e4-f1d9d82d9ecd}" />
    <Execution ProcessName="ArcherTech.JobFramework.Job" ProcessID="122088" ThreadID="1" />
    <AssemblyVersion>5.4.10101.1001</AssemblyVersion>
    <Channel />
    <Computer>REMOVED</Computer>
  </System>
  <ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>ArcherTech.DataFeed</TraceIdentifier>
          <Description>Unexpected error occurred while executing data feed.</Description>
          <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
          <ContextData>
            <LogReferenceId>051216-050052-1179</LogReferenceId>
            <DataFeedId>136</DataFeedId>
            <DataFeedName>A2A_Feed</DataFeedName>
            <DataFeedHistoryId>1256942</DataFeedHistoryId>
          </ContextData>
          <Exception>
            <ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>The process cannot access the file '\\REMOVED\File Repository\Datafeed\A2A_Feed\REMOVED.xml' because it is being used by another process.</Message>
            <Source>mscorlib</Source>
            <StackTrace> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at ArcherTech.DataFeed.Transporters.TransporterStream..ctor(Uri fileUri, IFilesCollection files)
at ArcherTech.DataFeed.Transporters.Transporter.CreateDataFile(String fileName)
at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.WritePageFiles(String reportName, Func`2 getAction, Boolean writeToFile, Boolean oneRequestOnly)
at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteReportQuery(searchSoapClient client, String sessionToken, Boolean writeToFile, Boolean oneRequestOnly)
at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteInternal(String url, String sessionToken, Boolean writeToFile, Boolean oneRequestOnly)
at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteInternal()
at ArcherTech.DataFeed.ComponentModel.DataFeedActivity.Execute()</StackTrace>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
</E2ETraceEvent>

 
CauseThis problem is caused when the File Repository path is not excluded from Virus Scanning software as per the installation guide.
The changes to the File Repository are detected by the Virus Scanning software and this causes the Virus Scanning software to lock these files while it scans them.
The lock on the file blocks the Data Feed from reading and writing to files in the File Repository and this causes the Data Feed to fail.
ResolutionAs per the Archer Installation guide, the following folders should be excluded from Virus Scanning:
  • Windows\Microsoft.Net\Framework64
  • RSA Archer Company Files
  • RSA Archer Log Files
  • RSA Archer Index
  • RSA Archer File Repository
     
See the documentation of your Anti-virus software and/or contact your Anti-virus vendor for help on getting this configured as required.

Attachments

    Outcomes