Siebel Tools >  Errors SBL-EAI-50228, SBL-DEV-00341, SBL-EAI-04262 While Import/Export of XMLs in Siebel Tools

Errors SBL-EAI-50228, SBL-DEV-00341, SBL-EAI-04262 While Import/Export of XMLs in Siebel Tools

 

  1. While exporting the workflow from Tools
    Steps to reproduce:
    a) In Siebel Tools, Go to Workflow Processes ->Select any of the workflow -> Right Click -> Export Workflow Process.
    b) The errors below occur.
    Error1: 

Error writing XML to file '%1'. (SBL-EAI-04262) (IDS_EAI_ERR_XMLPRT_FILE_WRITE_ERR))

 Siebel Tools xml export error 1

Error2: 

File could not be created as the directory specified for the file creation is not valid.(SBL-EAI-50228)

 Siebel Tools xml export error 2

  1. While generation XML schema Wizard(XSD)
    Steps to reproduce:
    a) In Siebel Tools, Go to Integration Object ->Select any of the Integration Object -> Click on Generate Schema button which is present on the top right corner.
    b) Error occurs.

Error: 

Unable to create file '%1'. Please verify that the location is valid. (SBL-DEV-00341)

 Siebel Tools xml export error 3

  1. WSDL import in Siebel Tools
    Steps to reproduce:
    a) In Siebel Tools, Go to File ->New Object ->Go to EAI Tab -> Select Web Service ->Click on Ok button .
    b) WSDL Import wizard will popup. Please select the project and location of WSDL file -> Click on Next button.
    c) In the next popup window, Click on Finish Button.
    d) Below errors occur.

Error1:

Error writing XML to file '%1'. (SBL-EAI-04262) (IDS_EAI_ERR_XMLPRT_FILE_WRITE_ERR))

Siebel Tools xml export error 4

Error2: 

File could not be created as the directory specified for the file creation is not valid.(SBL-EAI-50228)

 Siebel Tools xml export error 5

  1. Application Deployment Manager (ADM) - Export to File
  2. BIP (bipublisher) - Generation of Siebel Reports

CAUSE

 

Error SBL-EAI-50228 or SBL-DEV-00341 occurs because of a new parameter EAIFileTransportFolders introduced as new feature in 8.1.1.10 Fix Pack and 8.2.2.3 or later. This parameter allows you to restrict write access for the EAI File Transport to specific folders within the Siebel file system.

By default, the Siebel temporary folder, SIEBSRVR_ROOT\TEMP, is a permitted folder and is not required to be explicitly configured with the EAIFileTransportFolders parameter. If the parameter is not configured, then writing is allowed only to the Siebel temporary folder; any attempt to write a file to a folder other than the Siebel temporary folder will fail with error SBL-EAI-50228.

 

SOLUTION

To resolve the issue, need to alter or add this parameter:

EAIFileTransportFolders = <folder where the xml file will be generated>.

Note:
Make sure to include ALL affected folders in the parameter.
Make sure to set the parameter for ALL affected Siebel Servers.

Steps to follow are as below :

ServerMgr:

  1. Change ent param EAIFileTransportFolders=<\\fileserver\fs1>;<\\fileserver2\fs2>
  2. Change param EAIFileTransportFolders=<\\fileserver\fs1>;<\\fileserver2\fs2> for server <servername>
  3. Edit the proper .cfg file adding following entries(application .cfg, tools.cfg)

[EAIFileTransportConfigSubsys]
EAIFileTransportFolders = <\\fileserver\fs2>;<\\fileserver2\fs2>;C:\temp;C:\users\data

NOTE : These directories might include both file share UNC and absolute path as well.


Using User Interface:

  1. Go to Siebel Client > Sitemap > Administration - Server Configuration > Enterprises > Parameters
  2. Query for:   EAIFileTransportFolder
  3. Add values:  <\\fileserver\fs1>;<\\fileserver2\fs2>
  4. Go to Sitemap > Administration - Server Configuration > Servers > Parameters
  5. Select the proper Server from the 'Siebel Servers' list applet
  6. In the Server Parameters applet query for:  EAI File Transport Folder List
  7. Add values:  <\\fileserver\fs1>;<\\fileserver2\fs2>
  8. Edit the proper .cfg file adding following entries(application .cfg, tools.cfg)

[EAIFileTransportConfigSubsys]
EAIFileTransportFolders = <\\fileserver\fs2>;<\\fileserver2\fs2>

NOTE : These directories might include both file share UNC and absolute path as well.

9.  Re-start Siebel Server and Gateway

For Unix platform, the folder path can be updated from srvrrmgr as below :

srvrmgr:siebsrvr1> change ent param  EAIFileTransportFolders=/siebel_fs/XML;/siebel_fs/ORDER_XML
srvrmgr:siebsrvr1> change param EAIFileTransportFolders=/siebel_fs/XML;/siebel_fs/ORDER_XML for server siebsrvr1

Refer to Siebel Bookshelf, Transports and Interfaces: Siebel Enterprise Application Integration Version 8.1, Rev. D > EAI DLL and EAI File Transports > About the EAI File Transport > Restricting Write Access for the EAI File Transport

Restricting Write Access for the EAI File Transport :

The EAIFileTransportFolders parameter allows you to restrict write access for the EAI File Transport to specific folders within the Siebel file system. The EAIFileTransportFolders parameter can be set at the enterprise or server level as a semicolon-separated list.

 

Additionally it has been observed that this Parameter has impact on Application Deployment Manager (ADM) as well :

Since EAI is the underlying technology for Application Deployment Manager (ADM), the EAIFileTransportConfigSubsys  parameter is required when executing ADM deployments.

Example Steps:

change ent param EAIFileTransportFolders=/home/appl/siebelnas/adm

Edit /home/appl/siebelnas/ses/siebsrvr/bin/enu/siebel.cfg, by adding these two lines after the [ThinClientUpgrade] section:

[EAIFileTransportConfigSubsys]
EAIFileTransportFolders = /home/appl/siebelnas/adm

 

NOTE:  Oracle provides the functionality that this guide describes as part of Siebel Fix Pack 8.1.1.10. To implement Siebel Fix Pack 8.1.1.10, see the applicable Siebel Maintenance Release Guide on My Oracle Support.

1) By default, the Siebel temporary folder, SIEBSRVR_ROOT\TEMP, is a permitted folder and is not required to be explicitly configured with the EAIFileTransportFolders parameter. If the parameter is not configured, then writing is allowed only to the Siebel temporary folder; any attempt to write a file to a folder other than the Siebel temporary folder will fail.

2) Some out of the box functionality like EAI Queue still writes to the folder c:\temp automatically(internally) and would need write access to these directories. In such cases C:\temp folder should be included into the EAIFileTransportFolders parameter as well and ensure that the C:\temp folder also exists on the Siebel server & Siebel client machine.

3) For BIP Siebel Report generation, XMLPReportServer comp may try to specifically write to  the folders <siebsrvr>/xmlp/report. So, it is advisable to include the path  <siebsrvr>/xmlp/report;<siebsrvr>/xmlp/data under EAIFileTransportFolders parameter.

CAUTION:  Do not allow write access to the SIEBSRVR_ROOT\BIN folder. Write access to the BIN folder allows anyone to overwrite Siebel system DLL files.

 

NOTE :

This same is applicable for Siebel Tools environment as well to add necessary directories to allow the users to perform writing to such directories ( when users perform export of XML files and other files as needed).

For Example :

[EAIFileTransportConfigSubsys]
EAIFileTransportFolders = c:\temp;C:\users\files\