יום שני, 11 באפריל 2011

SBL-EAI-50176: Error writing to file reference file '%1'


Applies to: Siebel CRM - Version: 8.0 [20405] to 8.1.1 [21112] - Release: V8 to V8
Information in this document applies to any platform.
***Checked for relevance on 23-NOV-2010***

SymptomsThe "Error writing to file reference 'C:\sba80\siebsrvr\temp\1-18RZ0U_0.tmp' (SBL-EAI-50176)" error reported by the "IntObjHierToXMLDo" method of the "EAI XML Converter", broke the integration process, worked well before.

Cause
The "temp" folder's file system on the affected Siebel Server was likely lack of free space.

Since Siebel CRM Release 8.0, the internal memory management mechanism has been significantly improved for optimized RAM usage. The EAI XML Converter BS and other EAI business services which are manipulating with property set hierarchies and XML Documents are using now the "temp" sub-folder of the Siebel Product installation root to store temporary XML file references if the parsed or produced document size exceeds the 50Kb size. So the big XML documents can be efficiently passed between an XML Converter and an EAI Transport without its intermediate loading it into memory buffer.

Normally, all temporary files are automatically removed once the BS is unregistered (unloaded) or Siebel Session is completed . However some orphan files could remain there in case of unexpected Siebel CRM Application crash and termination.

Solution
Monitor the space usage in the "temp" folder of each Siebel Server installation
and periodically clean-up .tmp files from the "temp" sub-folder when the accordant Siebel Server is shutdown.

Product Enhancement Request CR # BUG 10566911 "Enable parameterization of XML file reference creation" has been logged to address the need in parametrisation of the XML file referencing feature (e.g. either increase the XML document file size threshold or turn it off or change the path to the temporary folder). This will be reviewed and evaluated for a possible implementation in future releases.

ReferencesBUG:10566911 - ENABLE PARAMETERIZATION OF XML FILE REFERENCE CREATION.
NOTE:745864.1 - EAI File Streaming is NOT supported before 8.0.0.6 Fix Pack or 8.1.1.1 Fix Pack















Applies to: Siebel CRM - Version: 8.1.1 SIA [21111] and later [Release: V8 and later ]
Information in this document applies to any platform.

SymptomsDuring processing for some interfaces, XML is written to a file in a network folder, for further processing by the middleware. The 'EAI XML Write to File' Business Service is used to write the file to the intended network location.

When processing some large files (e.g. 1 MB), it was observed that Siebel would write to a temporary location. And when this occurred, a failure was reported :-

ObjMgrBusServiceLog Error 1 000002ef4be2083c:0 2010-05-06 01:53:54 (eaixmlprtsvc.cpp (234)) SBL-EAI-04266: 'EAI XML Write to File' service with method 'WriteXMLHier' failed while generating XML to be written to file '\\10.10.10.10\SiebFS\CreditCard\FileWJ05.000006.xml'.

New large file reference is created - 'D:\sba811\siebsrvr\temp\1-6TU2_0.tmp'.

EAIFileAttachments EAIFileAttachmentDebug 5 000030134bde1fbc:0 2010-05-04 04:36:40 New large file reference is registered - 'D:\sba811\siebsrvr\temp\1-6TU2_0.tmp'.

ObjMgrLog Error 1 000030134bde1fbc:0 2010-05-04 04:36:40 (filerefutil.cpp (272)) SBL-GEN-10103: Error opening specified file

ObjMgrLog Error 1 000030134bde1fbc:0 2010-05-04 04:36:40 (filerefutil.cpp (272)) SBL-EAI-50176: Error writing to file reference 'D:\sba811\siebsrvr\temp\1-6TU2_0.tmp'.


CauseIn this case, it was determined that the error arose because the middleware application was picking up the file before Siebel had completed writing the file.

SolutionThe middleware process picking up the file was delayed, to allow Siebel to complete it's operation.

Other points to check :-

1. Ensure the \temp directory being written to is accessible from the operating system user running the Siebel Server service.

2. Ensure there is sufficient space, as discussed in :-

The "Error writing to file reference '...\siebsrvr\....tmp (SBL-EAI-50176)'" is raised from "IntObjHierToXMLDoc" method of the "EAI XML Converter" BS when producing large XML document (Doc ID 824888.1)

3. Check that no other processes (e.g. anti-virus software) are trying to access the files being written to by Siebel.


ReferencesNOTE:824888.1 - The "Error writing to file reference '...\siebsrvr\....tmp (SBL-EAI-50176)'" is raised from "IntObjHierToXMLDoc" method of the "EAI XML Converter" BS when producing large XML document
















Applies to: Error Message Area:Application Integration Infrastructure, Enterprise Application Interfaces - EAI
Version:Siebel 8.1

PurposeThis document is intended to provide cause and corrective action information about Siebel Error Message SBL-EAI-50176: Error writing to file reference '%1'.

ScopeThis document is informational and intended for any user.

SBL-EAI-50176: Error writing to file reference '%1'.ExplanationUnable to write to temporary file.

Corrective ActionCheck whether the specified file exists and is writable.





















Applies to: Siebel CRM - Version: 8.0.0.2 [20412] to 8.0.0.5 [20420] - Release: V8 to V8
Information in this document applies to any platform.
***Checked for relevance on 22-NOV-2010***

DescriptionEAI File Streaming is NOT supported on Siebel before 8.0.0.6 Fix Pack or 8.1.1.1 Fix Pack

There are known issues in using the new "EAI File Streaming" that causes failure in specific cases.

One example is BUG :12-1LTG2F6 described in "Problem with file attachment size with EAI object manager (Doc ID 496506.1)"

Please do not use it prior to 8.0.0.6 Fix Pack or 8.1.1.1 Fix Pack

Likelihood of OccurrenceMay happen if "LargeFileChunkingEnabled" is explicitly set to TRUE in the [Application] section of eapps.cfg and a large dataset is returned from an inbound web service call.

Possible SymptomsEAIFileAttachments EAIFileAttachmentDebug 5 00000af848f814f2:0 2008-10-18 11:35:28 Getting file reference manager Session Global by key 'FileReferenceManager'
EAIFileAttachments EAIFileAttachmentDetail 4 00000af848f814f2:0 2008-10-18 11:35:28 New large file reference is created - '/sbsiebcrmtest/siebsrvr/temp/1-DN5R_0.tmp'
EAIFileAttachments EAIFileAttachmentDebug 5 00000af848f814f2:0 2008-10-18 11:35:28 New large file reference is registered - '/sbsiebcrmtest/siebsrvr/temp/1-DN5R_0.tmp'
ObjMgrLog Error 1 00000af848f814f2:0 2008-10-18 11:35:28 (filerefutil.cpp (249)) SBL-GEN-10103: Error opening specified file
ObjMgrLog Error 1 00000af848f814f2:0 2008-10-18 11:35:28 (filerefutil.cpp (249)) SBL-EAI-50176: Error writing to file reference

and

Erreur lors du traitement de l'argument http://www.siebel.com/xml/RBQ%20Form%20Instance%20Attachment:ListOfRBQFormInstanceNumerisation de l'op�ration IncrireDocument(SBL-EAI-04316)

SBL-EAI-50187 The file 'D:\sba80\siebsrvr\temp\1-IG49_0.tmp'does not exist

Workaround or Resolution
Please ensure "LargeFileChunkingEnabled" is explicitly set to FALSE in the [Application] section of eapps.cfg. and restart the web server.

Or please apply 8.0.0.6 Fix Pack or higher or 8.1.1.1 Fix Pack or higher.









Related







Products








Siebel > Customer Relationship Management > CRM - Enterprise Edition > Siebel CRM


Keywords






 

WEB SERVICES; INBOUND; SERVICES

 

Errors





 

SBL-EAI-50176; SBL-EAI-04316; SBL-EAI-50187; SBL-GEN-10103; ERROR 1



אין תגובות:

הוסף רשומת תגובה