SBL-SVC-00281

Applies to:

Siebel CRM - Version 8.0.0.5 [20420] - DO NOT USE and later
Information in this document applies to any platform.
***Checked for relevance on 24-OCT-2012***

Symptoms

Siebel 8.0.0.5 is trying to access the keydbmgr prior to upgrading to the Siebel Strong Encryption Pack. The utility appears to do its initial load properly, but after they press the "c" button to continue they get an error about not being able to decrypt the password. Inspection of the keydbmgr.log shows the following two errors:

Decrypt failed with 10879085. Error during encryption or decryption operation by the RC2 Encryptor.

(keymanager.cpp (268)) SBL-SVC-00281:
Internal: error occurred during password decryption.

Desired behavior is that the keydbmgr would present the password prompt and then allow access to the utility menu.

Cause

Mismatch between keyfile.bin file in the environment (which is standard vanilla) and the S_APP_VER.ENCRYPT_PWD_FL_KEY which should be NULL in this case but has a value since it was imported from another environment.

Customer has noted that the keyfile.bin is vanilla but the S_APP_VER value is clearly populated. This mismatch would cause the keydbmgr.exe program all sorts of problems. Also in all likelihood the value stored in S_APP_VER is encrypted with AES 256 encryption from the environment it came from, but this environment still has been upgraded to have that capacity.

Solution

The fact that there is pre-existing encrypted data somewhat complicates things. We will try the simplest approach first. If that does not work, we may need to go with a more complicated one.

_$#$_ *** CRITICAL: ONCE WE START THIS PROCESS NO ONE CAN CREATE NEW OR MODIFY ANY EXISTING ENCRYPTED DATA UNTIL WE ARE SURE THAT THE KEYFILE IS IN PLACE AND WORKING PROPERLY. IF THEY DO THERE IS A VERY HIGH CHANCE THAT THE DATA WILL BE LOST!!! ***


1. Make a backup of the existing vanilla keyfile.bin. Then make a second backup of the existing vanilla keyfile.bin. Consider making a third copy.

2. Copy the value currently in S_APP_VER.ENCRYPT_PWD_FL_KEY and verify it. Do it again so that you have two known good copies of S_APP_VER.ENCRYPT_PWD_FL_KEY.

(The above may seem a bit excessive, but these are the items that -- if lost -- will move us from complicated to a nightmare.)

3. Install the base Siebel Strong Encryption Pack with the exact same algorithm and bit length as the source environment. DO NOT DO THE KEYDBUPGRADE STEP!!!

4. Install any Fix Packs necessary to bring the SSEP on the target environment to the exact same level as the source environment.

5. Update any masked parameters as indicated in the SSEP installation instructions.

6. Copy the keyfile.bin from the source environment over to the target environment.

7. Stop and restart the Siebel Environment.

8. Attempt to use keydbmgr.exe to access the keyfile.bin utilities. If this fails, please let me know and we will take a look at it.

9. Decision Point: Are you going to do any additional refreshes of this target environment from the source environment?

9 (YES): Exit the keydbmgr utility without changing the password or adding a new key.

9 (NO): Change the keyfile password. Optional -- Add a new encryption key.

10. Inside the application, check to make sure that previously encrypted information is decrypting properly. If no, stop and let me know.

11. Inside the application, create a new record with encrypted data. Does it work properly? If no, stop and let me know.

12. Make backups of the working keyfile.bin and the value in S_APP_VER.ENCRYPT_PWD_FL_KEY. Put these somewhere safe.




Applies to:

Siebel System Software - Version: 7.7.2.8 [18379] and later   [Release: V7 and later ]
Oracle Solaris on SPARC (64-bit)
Product Release: V7 (Enterprise)
Version: 7.7.2.8 [18379]
Database: Oracle 9.2.0.4
Application Server OS: Sun Solaris 9
Database Server OS: Sun Solaris 2.8

This document was previously published as Siebel SR 38-3413239318.

Symptoms

Customer reported the following:
Customer applied Siebel Fix Pack versuib 7.7.2.8 on top of Siebel version 7.7.2.6, and immediately started experiencing crashes whenever using encrypted data.
This stops happening after rolling back the Siebel version 7.7.2.8 Fix Pack.
The Call Stack they are getting is the following:

CSSRandomBytes::GenerateRandomBytes
CSSGenericCrypter::AESDecrypt
CSSGenericCrypter::Decrypt
CSSGenericCrypter::Decrypt
CSSKeyManager::decryptPassword
CSSKeyManager::retrievePassword
CSSKeyManager::init
CSSBCFieldCryptMgr::Encrypt
CSSBCFieldCryptMgr::SetEncryptedFieldValue
CSSBCBase::SqlSetFieldValue
CSSBCFieldCryptMgr::SetSecureDisplayValue
CSSBCBase::SqlSetFieldValue
CSSBusComp::SetFieldValue
CSSSWEFrame::SetFieldValue
CSSSWEFrame::StoreFieldData
CSSSWEFrame::PostChangesToBC
CSSSWEFrame::OnActionsWriterecord
CSSMvgImpl::OnActionsWriterecord
CSSTPopupMvg::DoInvokeMethod
CSSSWEFrame::InvokeMethod
...

This customer is using AES as the encryption type, with encryption level (key length or strength) of 256 bit.

Cause

SBL-DAT-00111, SBL-SVC-00281, SBL-UIF-00299, SBL-OSD-02006

Solution

For the benefit of other readers:

We could locate a known Product Defect which has been recently reported in our Knowledge Base:

    - Bug 10522852: After upgrading to 7.8.2.5 SIA, AES 256 encryption causes object manager to crash.

This behavior had been reported with bug# 10522852 for Siebel version 7.8.2.5. The fix for version 7.8.2 has been introduced with Siebel version 7.8.2.12.
On Siebel version 7.7.2, the issue is fixed on version 7.7.2.9 or higher.



Applies to:

Siebel CRM - Version: 8.0.0.2 [20412] and later   [Release: V8 and later ]
Information in this document applies to any platform.

Symptoms

User has upgraded to 128 bit encryption using the Siebel Strong Encryption Pack (SSEP). Now when they try to go into the keydbmgr utility to add a new encyrption key, they are getting the following error:

Internal: error occurred during password decryption.
(SBL-SVC-00281)
Cleaning up... this may take a while.

Review of the keydbmgr.log further clarifies this error with the following:
CryptEngine CryptEngineError 1 0000000248c604c4:0 2008-09-09 15:42:11 Decrypt failed with 10879086.
Error: Base64 decode failed.

Cause

Behavior was caused by inclusion of the /k parameter on the command line. Verified in TS lab environment and change request 12-1Q9Z858 logged.

Solution

This behavior was caused by the inclusion of the /k parameter in the keydbmgr command line. Although this parameter shows up when you use a help command or enter keydbmgr without parameters, it is not documented anywhere and appears to be non-functional. BugID 12-1Q9Z858 has been filed to either fix the functionality or remove the reference.

The workaround is to simply not use the /k parameter. In this case you will be prompted to manually enter the keyfile password.





Applies to:

Siebel CRM Call Center - Version 8.0 SIA [20405] to 8.1.1.3 SIA[21219] [Release V8]
Information in this document applies to any platform.

Symptoms

SUMMARY
--------------------------
After modifying the default password stored under S_APP_VER.ENCRYPT_PWD_FL_KEY and installing the Strong Encryption Pack (SSEP) with AES 256bit encryption, running utilities such as KEYDBUPGRADE and KEYDBMGR fail - and create a user (core) dump.

ERROR MESSAGES
--------------------------
Internal: error occurred during password decryption.(SBL-SVC-00281)

CALL STACK
--------------------------
/apps/siebel/siebsrvr/lib/libsslcosd.so:0x4ad24
/lib/libc.so.1:0xc8dc8
/lib/libc.so.1:0xbd460
/lib/libc.so.1:0xbd648
/apps/siebel/siebsrvr/mw/lib/libmwsafe.so:B_RandomInit+0x0 [ Signal 4 (ILL)]
/apps/siebel/siebsrvr/lib/libsslcrsa256.so:bool CSSRandomBytes::GenerateRandomBytes(const CCFMemBlock&,unsigned,CCFMemBlock&)+0x64
/apps/siebel/siebsrvr/lib/libsslcrsa.so:int CSSGenericCrypter::AESEncrypt(const CCFMemBlock&,const CCFMemBlock&,CCFMemBlock&,CSSAESCrypter::EnumKeyLength&,const CCFMemBlock*)+0xfc
/apps/siebel/siebsrvr/lib/libsslcrsa.so:int CSSGenericCrypter::Encrypt(const CCFMemBlock&,CCFMemBlock&,CSSGenericCrypter::EnumCryptType,const CCFMemBlock*)+0x30c
/apps/siebel/siebsrvr/lib/libsslcrsa.so:int CSSGenericCrypter::Encrypt(const SSstring&,SSstring&,CSSGenericCrypter::EnumCryptType,const SSstring*)+0x1e8
/apps/siebel/siebsrvr/lib/libsslckm.so:unsigned CSSKeyManager::upgrade()+0x440
/apps/siebel/siebsrvr/bin/keydbupgrade:int upgradeKeyDB(CSSKeyManager*)+0x30
/apps/siebel/siebsrvr/bin/keydbupgrade:wmain+0x800
/apps/siebel/siebsrvr/bin/keydbupgrade:main+0x128
/apps/siebel/siebsrvr/bin/keydbupgrade:_start+0x108

EXPECTED BEHAVIOR
-------------------------------
After updating the KEYFILE.BIN with a non-default password, installing the SSEP and patching to the latest version - the KEYDBUPGRADE utility can be successfully run to completion

Cause

Bug 10590129 [CRASH SIEBEL OM AFTER ENABLING AES 256 ENCRYPTOR]

Solution

1. Install Siebel Fix Pack 8.1.1.4
NOTE:
Bug 10591305 has been fixed in 8.1.1.4 FP
Bug 10592400 has been fixed in 8.2.2 FP
Bug 14043864 has been requested for 8.0.0.13 QF
2. Alternative solution,


1. Uninstall the SSEP with AES 256bit encryption
2. Install the SSEP again, but with AES 128bit encryption
3. Run the KEYDBUPGRADE utility
4. Remask all parameters stored in the SIEBNS.DAT
 
 

Applies to:

Siebel CRM - Version 8.0.0.6 [20423] and later
Information in this document applies to any platform.

Symptoms

Environment:
-------------------
Product Type: Siebel CRM
Version: 8.0.0.6 [20423] ENU
OS platform: N/S
DB: Oracle Database - Enterprise Edition
Env type: Dev

Statement of Issue:
-----------------------------
An ASI has been created to enable an external application to insert a SR and an associated contact into Siebel. When the ASI is called and the field ContactEmail is not set, the SR and the contact are inserted correctly and the call completes correctly. When the ASI is called and ContactEmail is set, the SR and the contact aren’t inserted and the call fails with an error.

Error:
-------
Picklist validation of field 'Contact Last Name' in integration component 'Service Request' did not find any matches satisfying the query '[First Name] = "First Ronnie 160" AND [Last Name] = "Last Ronnie 160"', and an attempt to create a new record through the picklist failed.(SBL-EAI-04186)

Cause

The application has been configured so that contact email addresses are encrypted. However, an error was occurring when the application tried to encrypt a value, which in turn caused the contact insert and the ASI call to fail.

EAIObjMgr_enu_0037_38797322.log shows that the EAI Siebel Adapter was trying to insert a record through the Contact bus comp and the following error occurred executing the GetLatestIndxRef method on the SiebelEncryptKey business service:

CryptEngine CryptEngineError 1 00000174511c05c1:0 2013-02-14 15:42:56 Decrypt failed with 4522127. Internal: input disassembly failed.
ObjMgrLog Error 1 00000174511c05c1:0 2013-02-14 15:42:56 (keymanager.cpp (268)) SBL-SVC-00281:
Internal: error occurred during password decryption.

This caused the WriteRecord method to fail with the following error:

15:42:56 (adptutils.cpp (5614)) SBL-EAI-04376: Method 'WriteRecord' of business component 'Contact' (integration component '') returned the following error:
"
Internal: error occurred during password decryption.

The customer confirmed that the "Internal: error occurred during password decryption." also occurred when a user tried to enter a contact email address in the UI.

Solution

The customer configured the application so that it is able to correctly encrypt contact email addresses. The customer raised a SR in the area of Security / Authentication - Data Encryption to request assistance to do this. Once this was done, the contact insert, the SR insert and the ASI call all completed correctly.
 



SBL-SVC-00255

Applies to:

Siebel System Software - Version: 8.1.1.4 [21225] and later   [Release: V8 and later ]
Information in this document applies to any platform.

Goal

While using ADM to export the pricelist, the following error message displays:

An error occurred exporting to file. Please make sure the path <path value> points to a valid directory which has enough space and is writable by the application process owner (SBL-SVC-00255)




Solution


1. Verify that the file path given is valid and can be accessed from the machine where the ADM process is running. The export path should be a shared network resource.  If deploying to a file using a dedicated client, specify an export path that is relative to the dedicated client.

For example, if you are on your local Windows machine, you can specify d:\temp as your export path.

2. If you are deploying to a file using a zero footprint client, specify an export path that is relative to the Siebel server where the object manager is running.

For example, if you are using the thin client, and connecting to a Siebel server running on Solaris, you need to specify a network path that is valid for the Solaris server, i.e. /tmp.

3. Check to see if you are able to export any other ADM Data Types, or if all deployment fails with the error message SBL-SVC-00255.

In most cases, this problem is due to NOT having privileges to the path being accessed.  Please make sure you have Read/Write access to the export path indicated.



Applies to:

Siebel System Software - Version: 7.8.2.5 [19227] and later   [Release: V7 and later ]
z*OBSOLETE: Microsoft Windows Server 2003
Product Release: V7 (Enterprise)
Version: 7.8.2.5 [19227]
Database: Oracle 10.1.0.4
Application Server OS: Microsoft Windows 2003 Server SP1
Database Server OS: Sun Solaris 9

This document was previously published as Siebel SR 38-3333921191.

Symptoms

Problem: ADM export process fails with the following error: "An error occurred exporting to file. Please make sure the path <path value> points to a valid directory which has enough space and is writable by the application process owner (SBL-SVC-00255)" while performing migration of Price List Data Type.

Steps to recreate: Click the Navigation icon>Application Deployment Manager>Deployment Projects>New. Create a new deployment project (E.g. Price List Migration Batch 1). Check the 'Export to File' box. Scroll down and click 'New' to create a Data Type association for the deployment project. In the Data Type Name field, select PriceList from the drop down list. The 'Active Flag' field will automatically be checked as Active, and the 'Name' field will be populated with the Data Type (in this case, Price List). The user now has the option to edit the 'Name' field in order to better identify the XML file. (E.g. Price List Migration-Batch 1)

Background: We observed that when the Name field in the "EMT Project Item List Applet" contains an asterisk, hyphen, or a dash then it causes the ADM export to fail.

Confirmation Required: We wanted to confirm that what we are obseving is what is causing the error, if yes are there any Siebel recommended workarounds or resolution for this issue.
We are attaching a screen shot JPEG for your reference.


Cause

The reported behavior could be reproduced and Bug: 10523220 has been filed for addressing this issue.

Solution

SBL-SVC-00254


Applies to:

Siebel CRM - Version 8.1 [21039] and later
Information in this document applies to any platform.

Goal

After creating the content object and the integration object for the custom data type the ADM deployment filter [Screen Name]='Accounts' returns error SBL-SVC-00254.

Why does this error occur?


Fix

Error: Field 'Screen Name' not supported by CSSBCVSRF.(SBL-SVC-00146)

From the log files it can be seen that the business component "SRF Vlink Screen" is used to retrieve the screen names from the SRF file. However this fails because the VBC does not support the field "Sreen Name".

Using the field "Name" in the deployment filter results in error: Business Components configured on SRF data structures can not be used for complex queries (SBL-SVC-00143).

Using a deployment filter for View Links is not possible because the field information is retrieved from the SRF file through a VBC and this can not be used for a search that is needed when using a deployment filter.

To resolve this problem please alternatively use a full deployment of all View Links in upsert mode independently on the screen with an empty deployment filter.



Applies to:

Siebel Sales Enterprise - Version: 8.0.0.4 [20417] to 8.1 [21039] - Release: V8 to V8
Information in this document applies to any platform.

Goal

When creating a deployment filter using PDQ for LOV it is created with a "dot" that cannot be validated correctly.

By removing the "dot" from the deployment filter, the filter validates works fine. However, no rows are returned in the deployment file.

Also,  as soon as you remove the dot from the filter the PDQ disappears and its necessary to identify how ADM works with LOVs.


Solution


PDQ retrieved from application UI is:

[.Description] LIKE "LOV*" AND [.Type] LIKE "FIN_ACCOUNT_STATUS*"

Click on Validate button under Deployment Filter, get this error:

[1] The Filter 'Data Filter' is invalid. Please review the filter syntax and/or Field name.(SBL-SVC-00253)
[2] Information about integration component "not found. Check query specification and output integration object definition.(SBL-EAI-04176)

Remove the "." from the above, so it becomes:
[Description] LIKE "LOV*" AND [Type] LIKE "FIN_ACCOUNT_STATUS*"

Click on Validate button under Deployment Filter, no more error but got this message which can't be used as a filter because it retrieves 0 row:

The Deployment filter(s) for "LOV" returns no rows and will not allow any data to be deployed to the target system. Please revise the Deployment Filter.(SBL-SVC-00254)

Description and Type are valid fields, they are validated against "List Of Values Parent (UDA)" integration component of "UDA List Of Values" integration object, which is the primary business component of the IO. 

For the Deployment filter to work correctly to return the equivalent results as the application UI, it has to be modified to be as the following:

[List Of Values Child (UDA).Description] LIKE "LOV*" AND [Value] LIKE "FIN_ACCOUNT_STATUS*"

or

[List Of Values Child (UDA).Description] = 'LOV' AND [Value] = 'FIN_ACCOUNT_STATUS'















Applies to:

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

Symptoms


Using a PDQ with less than 250 characters to define the Deployment Filter of Deployment Project, the following error displays:


Data value for field 'Deployment Filter' is larger than the limit 250 defined in the database. Please type in less information to ensure that your data is committed to the database.(SBL-DAT-00362)


Steps to Reproduce:

1. In Site Map > Administration - Application > Views:
    Create a new view named 'Wireless Voice Main Package'.

2. Create a PDQ in Site Map > Administration - Application > Views :
'Karen Testing 1' OR 'Karen Testing 11' OR 'Karen Testing 111' OR 'Karen Testing 1111' OR 'Karen Test' OR 'Wireless Voice Main Package' OR 'Individual Plans (*ROAMING)' OR 'Individual Voice Plans Bundle (*ROAMING)' OR 'SMS Options (*ROAMING)'
The Word Count for this PDQ, including spaces, is 246 characters.

3. In Site Map > Application Deployment Manager > Deployment Projects:
3a.  Create a project
3b.  Choose the Data Type Name = View
3c.  In Deployment Filter, click on the button to bring up the list of PDQs saved for Views
3d.  Choose the PDQ created in Step 2.

4. Step off the record by clicking on the upper applet, the error displays.

Cause


The saved PDQ string is longer than the 246 characters:

'Feature Access'.Search = "[Name] = ""'Karen Testing 1'"" OR [Name] = ""'Karen Testing 11'"" OR [Name] = ""'Karen Testing 111'"" OR [Name] = ""'Karen Testing 1111'"" OR [Name] = ""'Karen Test'"" OR [Name] = ""Wireless Voice Main Package"" OR [Name] LIKE ""Individual Plans (*ROAMING)"" OR [Name] LIKE ""Individual Voice Plans Bundle (*ROAMING)"" OR [Name] LIKE ""SMS Options (*ROAMING)"""

The Word Count, including spaces, is 388, which is greater than 250 characters.

The ADM PDQ prefixes the [field name] and operator to each condition, making the string longer than PDQ's conditions. In this case, '[Name] = ' or '[Name] LIKE ' is added to each condition.

Solution


Bug:10578290 was raised to address this issue. Currently, there is no patch yet.

Workaround:
Break the one filter record into multiple records.

If the Name field in the filter record is unique, then the filter record will be created successfully.

For example, the following exceeds 250 characters:

[Name] = "Karen Testing 1" OR [Name] = "Karen Testing 11" OR [Name] = "Karen Testing 111" OR [Name] = "Karen Testing 1111" OR [Name] = "Karen Test" OR [Name] = "Wireless Voice Main Package" OR [Name] LIKE "Individual Plans (*ROAMING)" OR [Name] LIKE "Individual Voice Plans Bundle (*ROAMING)" OR [Name] LIKE "SMS Options (*ROAMING)" OR [Name] = "Karen Account List View - FS CE"


Break this one filter into two rows:

Data Type Name: View
Active: checked
Name: View
Deployment Mode: Synchronize
Deployment Filter:
[Name] = "Karen Testing 1" OR [Name] = "Karen Testing 11" OR [Name] = "Karen Testing 111" OR [Name] = "Karen Testing 1111" OR [Name] = "Karen Test" OR [Name] = "Wireless Voice Main Package"

Data Type Name: View
Active: checked
Name: View2
Deployment Mode: Synchronize
Deployment Filter:
[Name] LIKE "Individual Plans (*ROAMING)" OR [Name] LIKE "Individual Voice Plans Bundle (*ROAMING)" OR [Name] LIKE "SMS Options (*ROAMING)*" OR [Name] = "Karen Account List View - FS CE"

Note: For each filter condition row, since the conditions are OR'ed together, at least one of the conditions must be met (i.e., at least one view name meets the condition). If not, the Validate filter on that row will fail with the error:

The Deployment Filter(s) for "View2" returns no rows and will not allow any data to be deployed to the target system.
Please revise the Deployment Filter.(SBL-SVC-00254)

The deploy session will export data and generate the following files:
1. An .ini file with the list of .xml data filenames generated.
2. Each filter condition generates two files:
    2a. *_des.xml has the view names exported
    2b. *.xml has the view data exported.

In the above example, five files are generated.



SBL-SVC-00253


Applies to:

Siebel Sales Enterprise - Version: 8.0.0.4 [20417] to 8.1 [21039] - Release: V8 to V8
Information in this document applies to any platform.

Goal

When creating a deployment filter using PDQ for LOV it is created with a "dot" that cannot be validated correctly.

By removing the "dot" from the deployment filter, the filter validates works fine. However, no rows are returned in the deployment file.

Also,  as soon as you remove the dot from the filter the PDQ disappears and its necessary to identify how ADM works with LOVs.


Solution


PDQ retrieved from application UI is:

[.Description] LIKE "LOV*" AND [.Type] LIKE "FIN_ACCOUNT_STATUS*"

Click on Validate button under Deployment Filter, get this error:

[1] The Filter 'Data Filter' is invalid. Please review the filter syntax and/or Field name.(SBL-SVC-00253)
[2] Information about integration component "not found. Check query specification and output integration object definition.(SBL-EAI-04176)

Remove the "." from the above, so it becomes:
[Description] LIKE "LOV*" AND [Type] LIKE "FIN_ACCOUNT_STATUS*"

Click on Validate button under Deployment Filter, no more error but got this message which can't be used as a filter because it retrieves 0 row:

The Deployment filter(s) for "LOV" returns no rows and will not allow any data to be deployed to the target system. Please revise the Deployment Filter.(SBL-SVC-00254)

Description and Type are valid fields, they are validated against "List Of Values Parent (UDA)" integration component of "UDA List Of Values" integration object, which is the primary business component of the IO. 

For the Deployment filter to work correctly to return the equivalent results as the application UI, it has to be modified to be as the following:

[List Of Values Child (UDA).Description] LIKE "LOV*" AND [Value] LIKE "FIN_ACCOUNT_STATUS*"

or

[List Of Values Child (UDA).Description] = 'LOV' AND [Value] = 'FIN_ACCOUNT_STATUS'

The Documentation Enhancement Request Bug# 10557771 has been entered to document the above in Siebel Application Deployment Manager Guide.



Applies to:

Siebel eCommunications - Version: 8.1.1.1 SIA [21211] and later   [Release: V8 and later ]
Information in this document applies to any platform.

Goal


Unable to created ADM project for PDQ's. The following error is encountered when using the deployment filter [Name]='xyz':

[1] The Filter 'Data Filter' is invalid. Please review the filter syntax and/or Field name.(SBL-SVC-00253)
[2] Information about integration component field 'Name' not found.  Check query specification and fields defined for integration component 'Query List' (SBL-EAI-04177)

How can we resolve this problem?

Solution


The deployment filter is wrong. The integration component "Query List" does not have a "Name" field. The field is called "Description". Please change your deployment filter as follows to resolve the error message:

[Description]='xyz'

sbl-svc-00252


Applies to:

Siebel System Software - Version 7.8.2 [19213] to 8.1.1.4 [21225] [Release V7 to V8]
Information in this document applies to any platform.

Goal

Does Application Deployment Manager (ADM) online deployment work with SSO and LDAP?
The ADM online deployment fails with the errors below:

[Deployment Session Header]
ADM Deployment Session: 1-7A6M2O
Start Time: 11/16/2008 19:21:50
Target Web Address: http://abc.de.fg.com/eai_enu
Target User Name: 501516363

Status: Deployment Failed
End Time: 11/16/2008 19:21:53
EAI Logs:
Error invoking service 'UDA Service', method 'SendReceive' at step 'Send and Receive'.(SBL-BPR-00162)
HTTP Internet Exception during 'Login': 'A redirect request will change a non-secure to a secure connection ', code: '12039'(SBL-EAI-04116)
An error occurred connecting to the Target System. Please verify the connection information.(SBL-SVC-00252)
The environment is SSO and LDAP enabled.

Fix

ADM is the framework; underneath, ADM uses Enterprise Application Integration (EAI) for data deployment through the business object layer.
The online deployment of Siebel ADM uses EAI technology:  ADM uses an EAI HTTP inbound call to connect to the target environment. The first step in setting up ADM to do online deployment is to make sure the EAI HTTP inbound call to target environment is successful, independent from the ADM UI.
The ADM inbound EAI HTTP request logs into the EAIObjMgr_enu object manager using the username and password in the URL; thus, SSO and LDAP need to be configured for the EAIObjMgr_enu component.

Since there are currently issues with EAI using SSO, ADM does not yet work with SSO. When there is a new SSO solution for EAI,  then ADM will work with SSO.

ADM with Management Server is NOT supported in an SSO-enabled mode.

Workaround without Management Server and Management Agent:

This workaround should NOT be implemented in an environment with Management Server and Management Agent since the process would expose the trust token in multiple places.
Create a dedicated Siebel user to perform all EAIObjMgr works, bypassing the SSO and LDAP.  This works successfully in deploying from source to target.

Test Submitting an Inbound EAI HTTP Request:
URL to submit an inbound EAI HTTP request to the target environment:
http://kachend123.siebel.com:80/eai_enu/start.swe?SWEExtSource=SiebelEcho&SWEExtCmd=Execute&UserName=SADMIN&Password=SADMIN&SWEExtData=ABC

Description of URL: kachend123.siebel.com:80/eai_enu/start.swe? This is the target machine name where the EAI component is running; 80 is the port used to configure the SWSE in target environment.

SWEExtSource=SiebelEcho&SWEExtCmd=Execute This is to execute SiebelEcho defined in your siebsrvr\bin\enu\eai.cfg file in the [HTTP Services] section. SiebelEcho is defined as a method in the EAI profile subsystem.

&UserName=SADMIN&Password=SADMIN This is the username and password you want to use to log into the target system.

&SWEExtData=ABC This is the data you want to send. In this example, the text "ABC" is sent.
Steps to Submit:
  1. Open an IE browser.
  2. Copy and paste the above command in the URL, and hit enter.
  3. If successful, you will be prompted to save in a file named start.swe.
  4. Save the file.
  5. Open the file start.swe with notepad:  the text ABC is shown.

You should be able to do this with an out-of-the-box configuration.

Perform/Check in the Target Environment:
  1. Enable the "Enterprise Application Integration" server component group.
  2. Synchronize the batch component after you enable the server component group.
  3. Restart the Siebel Server service.
  4. Confirm that "EnableExtServiceOnly = TRUE" in the eai_enu section of the eapps.cfg.

Extracted Example From eapps.cfg:
[/eai_enu]
ConnectString = siebel.TCPIP.None.None://kachend123:2321/SEA78/EAIObjMgr_enu
EnableExtServiceOnly = TRUE
WebPublicRootDir = D:\S78\SWEApp\public\enu
WebUpdatePassword = z6u4MuGrmSPESz8R09ZsxwH5IDnI





Applies to:

Siebel System Software - Version: 7.7.2.2 [18356] and later   [Release: V7 and later ]
Siebel System Software - Version: 7.8.2.2 [19219] to 8.1.1.4 [21225]   [Release: V7 to V8]
z*OBSOLETE: Microsoft Windows Server 2003
Product Release: V7 (Enterprise)
Version: 7.7.2.2 [18356]
Database: Microsoft SQL Server 2000 SP3
Application Server OS: Microsoft Windows 2003 Server SP1
Database Server OS: Microsoft Windows 2000 Server SP 4

This document was previously published as Siebel SR 38-2319330387.

Symptoms

We are working with ADM, trying to migrate data from Dev to test environments using the Application Deployment Manager GUI. We are using the vanilla View object created by Siebel when installed. We have created the project and the session to migrate the views.

However, ADM fails while trying to access our test environment. We get the following error:

An error occurred connecting to the Target System. Please verify the connection information.

I have checked the test environment for:

•    EAI Object manager is enabled and running.
•    UDA Deployment exists in the Enterprise profile and eai.cfg.
•    Login works is successful.
•    I can manually export a file and import the file successfully.


The following is output from the ADM session log:

[Deployment Session Header]
ADM Deployment Session: 1-5K76
ADM Deployment Project: Test Aspens Views
Start Time: 07/26/2005 16:57:50
Target Web Address: http://test.serverlocation.com/eai_enu
Target User Name: sadmin

Status: Deployment Failed
End Time: 07/26/2005 16:57:50

EAI Logs:
Unterminated token starting at position '116' in EAI template 'http://test.serverlocation.com/eai_enu/start.swe?SWEExtCmd=ExecuteLogin&SWEExtSource=UDADeploy&UserName=sadmin&Password=$tebel08'(SBL-EAI-04030)
Error invoking service 'UDA Service', method 'SendReceive' at step 'Send and Receive'.(SBL-BPR-00162)
An error occurred connecting to the Target System. Please verify the connection information.

An error occurred connecting to the Target System. Please verify the connection information.(SBL-SVC-00252)

Cause

Additional errors in EAIObjMgr log file:

EAIObjMgr_enu_6176.log 7.7.2.2 [18356] ENU


SisnTcpIp SisnSockDetail 4 0 2005-07-26 16:53:10 7360: [LOCALTRANS-server] accept() timeout during get conn request

SisnTcpIp SisnSockDetail 4 0 2005-07-26 16:53:15 7360: [LOCALTRANS-server] accept() timeout during get conn request

SisnTcpIp SisnSockDetail 4 0 2005-07-26 16:53:20 7360: [LOCALTRANS-server] accept() timeout during get conn request

MaintTestObjEvt MaintTestObjEvtTrace 4 0 2005-07-26 16:53:23 6180: _smiFacTestObj::Execute(43c1d4) for Background, Waitime = 23


The problem was due to the password associated with the SADMIN user.

The password contained a '$' symbol which was causing the error.

Solution

A different user without the '$' symbol worked fine.
Do not use the '$' or '#' symbols in passwords.

SBL-SVC-00251

Applies to:

Siebel System Software - Version: 8.0.0.7 SIA [20426] and later   [Release: V8 and later ]
Information in this document applies to any platform.

Symptoms


On : 8.0.0.x SIA version, ADM - Appication Deployment Manager

When creating a new project using the ADM Data Type "ADM Search Parent Category", by pressing 'Enable' and get error SBL-SVC-00251: A configuration error occurred. The Data Type <?> is using a missing or invalid Content Object. Please contact your Application Administrator.


ERROR
-----------------------
When pressing 'Enable' and get error SBL-SVC-00251: A configuration error occurred. The Data Type <?> is using a missing or invalid Content Object. Please contact your Application Administrator.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Go to Application Deployment Manager -> Deployment Projects;
2. Create a new record and set the name = Test, description = Test and export flag = true;

3. In the child Applet hit 'New' to create a new record and select from the Data Type Name pick list the "ADM Search Parent Category";
4. In the parent Applet hit 'Enable'.

5. Go to the Application Deployment Manager -> "Deployment Sessions" applet, create a new record and select the record that you have just created by step 2. (This should bring the record in the UI)

6. Now, hit the 'Deploy' button, set the location where you would like to export the ADM file, like C:\temp.
-> Check that now the C:\temp directory has two files: xx_ADM_Search_Parent_Category.xml and XX_ADM_Search_Parent_Category_des.xml

7. In the same Manager -> "Deployment Sessions" applet, create a new record and click Menu -> Deploy from File and add the location where you have exported the files from step 6.

The file path should point to the following:
--
C:\temp\ xx_ADM_Search_Parent_Category.xml
--

8. Hit the 'Import' button and the following error is shown:
**
Multiple matches found for instance of integration component 'Search Index Category BC' using search specification [Name] = "Catalog Category" in the business component 'Search Index Category BC', based on user key 'UserKey' (SBL-EAI-04390)
**


Cause


Cause Determination
--

Change Request/Bug: 10588612 - "ADM Search Parent Category Data Type" fails during import.

In the Integration Component (Search Category Available Fields IO) “Search Index Category BC”, only the field “Name” forms its UserKey. For the query based on search specification [Name] = "Catalog Category”, during ADM import there are multiple records in the table S_SRCH_CTGRY with the matching value. Therefore the error occurs.

The User key is not robust enough to identify records uniquely and so its not possible to use the "ADM Search Parent Category Data Type" functionality.



Solution


As a part of the fix provided by Change Request/Bug: 10588612 - "ADM Search Parent Category Data Type", the following changes are required:

1. Open the Siebel Tools and look for the following the IO's (Integration Objects):

Search Category Available Fields IO
Search Category Parent Category IO

2. Note that both have the IC "Search Index Category BC".
3. Select this IC (Integration Component) and drill down on the Integration Component Key to display the User key attribute.
4. Drill down on the Integration Component Key to see the fields from the BC "Search Index Category BC" that form part of the User key.
5. Currently, 'Name' is the field used, but search specification based on "Name" retrieves more than one record and hence the error.
--
*Multiple matches found for instance of integration component 'Search Index Category BC' using search specification [Name] = "Catalog Category" in the business component 'Search Index Category BC', based on user key 'User Key' (SBL-EAI-04390)*
--

6 - [FIX] -  In order to fix it, add "Connector Name"(available field) field also to the User Key for the BC 'Search Index Category BC', in both the IO's and then compile the changes to the srf and restart the Siebel Server and the application. Then proceed with the import and it should work.



Applies to:

Siebel CRM Call Center - Version: 8.0.0.2 [20412] - Release: V8

Information in this document applies to any platform.

Goal


Why does the following error message occure and what can be done to avoid it:

SBL-SVC-00251 A configuration error occurred. The Data Type %1 is using a missing or invalid Content Object. Please contact your Application Administrator.

Solution


The problem is that the content object either doesn't exist or is obsolete in the repository.

Firstly ensure that the right SRF file is used. The server component ADMBatchProc need to use an SRF file that contains the definitions of the Content Object.
If this is not the cause the data type has to be reconfigured to use a content object that exists.




Applies to:

Siebel CRM - Version: 8.0.0.3 SIA [20416] to 8.1 SIA [21039] - Release: V8 to V8
Information in this document applies to any platform.

Goal


Is it possible to import VALIDATION MESSAGES (DVM) via ADM?

In a scenario where it is necessary to import Rule Sets and/or Validation Messages from source to target environment, can they be imported using ADM instead of inserting them manually?


Solution

There is no vanilla ADM data type for Data Validation Manager; customers who created their own could not deploy successfully using ADM.
Customizations of ADM Data Types requires changes at IO and IC levels, which might be complex to be implemented. Therefore, here goes some possible customizations ideas:

- Configure integration objects, content objects in Siebel Tools for creating custom ADM data types for migration.
- Create new data type in adm_registry.xml file, which is used when using the method of Management Server, Management Agent, and ADM components to deploy. Possibly need to create a business service needed for Backup, Activate, RestoreActivate, etc., methods, whatever methods needed.

So far, several customers attempted, all failed at various stages and errors.

1. "SBL-SVC-00251: A configuration error occurred. The Data Type <?> is using a missing or invalid Content Object."

It happens because there are information on how new data type should be created in adm_registry.xml. It may need a custom business service to backup, activate, RestoreActivate, etc.

2. EAISiebAdpt EAISiebAdptErr 1 0000000a49413220:0 2008-12-11 16:43:11 [0] Cannot perform 'NewRecord' on the business component 'FINS Validation Rule'(SBL-EAI-04421) (IDS_WRN_EAI_SA_DML)

This error occurs when migrating Rule Sets to target environment, even though customer claimed Validation Messages can be migrated successfully via ADM using File Operation method, but not Rule Sets.

The Enhancement Request 10566034 was created to provide a vanilla ADM data type for Data Validation Manager.  The enhancement was submitted to Engineering; however, the enhanced feature request was rejected.
 

SBL-SVC-00232

Applies to:

Siebel Life Sciences CRM - Version 8.1.1.8 SIA [23012] and later
Information in this document applies to any platform.

Symptoms

When using Application Deployment Manager (ADM) to migrate non-repository objects, the following error occurs:
The schema of the source environment and the target environment must be of the same version.(SBL-SVC-00232)

STEPS TO REPRODUCE
Environment:
Source Environment, schema version = 45.19.0.0
Target  Environment, schema version = 48.32.0.0.

1. Create ADM Project for LOVs.
2. Deploy ADM Project.
3. The LOV data is exported to an XML file.

XML file contains:
<SchemaVersion>45.19.0.0</SchemaVersion>

4. Import the generated XML file into the Target environment.

Error Message Displays:
    The schema of the source environment and the target environment must be of  the same version.(SBL-SVC-00232).


Cause

ADM checks the Schema version of the Source Environment with the Schema version of the Target when deploying data to ensure they match.
The following bug addresses this issue in 8.1.1.8:
Bug 15862953 DISABLE SCHEMA VERSION CHECKING WHEN DEPLOYING DATA USING ADM
This issue is fixed in the 8.1.1.10 Fix Pack.

Solution

STEPS
Install QF0000041 for 8.1.1.8 (Patch 16405541)

Summary: ADM FAILS WHEN SOURCE AND TARGET SCHEMAS ARE NOT SAME VERSION


1. Click 'Patches & Updates' screen tab [see upper right hand corner of this My Oracle Support]
2. Go to Patch Name or Number from the Search tab
3. Enter the Patch Number : 16405541
4. Press Search
5. Click on the patch that contains your platform
6. Click the Read Me button to see the information contained in the Quick Fix Release Notes
7. Click the Download button
8. Download all parts. The first contains the Readme file with installation instructions.
9. Be sure to read and follow directions in the Readme file.
 
   Note: There are configuration changes in addition to the Quick Fix:
  Log into Siebel Tools.
     a. In the Object Explorer, click on the Business Service object.
     b. Query for the UDA Service.
     c. Create a new business service user property with the following values:
         Name: IgnoreSchemaCheck
         Value: Y
     d. Compile the SRF.

10. Apply this patch to all Siebel components.
11. Install and test in a Development environment BEFORE installing into a Production environment.



Applies to:

Siebel System Software - Version 7.7.1 SIA [18306] to 8.2.2 SIA[22320] [Release V7 to V8]
Information in this document applies to any platform.
Area(s):ADM - App. Deployment Manager, Siebel EAI
Release(s):V7 (Enterprise), V7 (Professional)
Database(s):All Supported Databases
App Server OS(s):All Supported Platforms
Latest release tested against:V7 (Enterprise)
Keywords:Application Deployment Manager, ADM, UDA, EMT

This document was previously published as Siebel Troubleshooting Steps 41.


Purpose

How To Troubleshoot Application Deployment Manager (ADM)

Troubleshooting Steps

 
The information presented in this document is intended to help troubleshoot ADM related problems and the most commonly reported symptoms and error messages while running Application Deployment Manager (ADM).
 
ADM is a new feature in Siebel version 7.7 that helps Siebel administrators easily and quickly automate the migration of key reference data across different Siebel environments, such as between a development and a test environment. This troubleshooting document is a supplement to Siebel Bookshelf version 7.7 > Going Live with Siebel eBusiness Applications > Migrating Customizations Between Applications.
 
 
Note: This document may not be fully applicable for Siebel version 8.x due to the new ADM architecture, for more information please review Siebel Application Deployment Manager Guide from version 8.x.
 
 
Contents

Troubleshooting Overview

Table 1 - Deployment Session Status Field Values
Table 2 - Component Events to Enable for ADM Troubleshooting
Figure 1 - Location of Log Files for ADM errors
Table 3 - ADM Session Log.

Architecture

Figure 2 - Siebel Components and Objects Used in ADM

ADM Workflow Processes for Online Deployments

Figure 3 - Workflow Process and Business Services Used for Online Deployment

ADM Business Services for File Deployments

Figure 4 - Business Services Used for File Deployment

Common ADM Error Messages

Table 4 - Common ADM Error Messages and Symptoms
Figure 5 - Hierarchical LOV Deployment with LOVs of the Same LOV Type
Figure 6 - Hierarchical LOV Deployment with LOVs of Different LOV Type
 
 

Troubleshooting Overview

 
Because ADM is designed with standard Siebel Business application components and objects, many tools already exist for troubleshooting the individual Siebel components. The challenge is to understand how the components communicate with each other and the sequence of events. An understanding of the ADM architecture and workflow processes is critical to successful isolating and resolving problems.
 
The general steps for troubleshooting are:
 
  1. Navigate to Site Map > Application Deployment Manager > Deployment Session View View and locate your ADM session’s status. The status will let you know if there is an error. See Table 1 for an explanation of the session statuses and first steps.
 
  1. Check the source and target systems for log files or error messages. The locations where logs can be found are shown in Figure 1. Log file locations for the Siebel server and a dedicated client are shown. If you are performing an online deployment OR a file deployment connected to a thin client, the logs you want to examine will be on the Siebel server. If you are performing a file deployment on the dedicated client, the logs you want to examine will be on the dedicated client.
 
  1. Once you have found the relevant log files, scan the component logs to find the first point of failure. Typical error messages for ADM are listed in this Troubleshooting guide.
 
  1. If the logs do not contain any detail, enable the appropriate component events for each server component. See Table 2 for a list of the component events to enable and which components to enable them on.
 
  1. If you identify the problem to be related to an integration object, business component rules or the EAI Siebel Adapter, then do further testing using export files.
 
Once you have resolved the problem, re-create your ADM session and deploy it again.
 
Table 1 - Deployment Session Status Field Values
 
Status
Description
Diagnostic
New
This is a new deployment session.
Deployment session has not submitted yet.
Submitted
This is a status that you will usually see for HTTP deployments. This means data has been sent successfully sent from the source system to the target system.
On the Source system, you will see the Submitted status until the jobs complete on the Target system.
 
If the status never changes on the source system, check target system for queued or failed server requests (jobs). Typically these requests will be in the WorkFlow Process Manager server component. To find the jobs, navigate to Site Map > Administration - Server Management > Jobs.
 
On the target system, also make sure the Workflow component group is online, and you have synchronized the batch components.
Validation Failed
This status indicates that the source system was unable to validate the environment details (see error SBL-SVC-00232) or log into the target server.
Check the source system log file in the $SIEBSRVR/temp/<session_id>.log for the underlying error message.
Deployment Failed
The deployment failed.
Check the source system log file in the $SIEBSRVR/temp/<session_id>.log for the underlying error message.
 
If it was an online deployment, also check target system for Workflow or EAI object manager logs for any errors.
Incomplete Deployment
Some items did not deploy successfully. Other items may have been deployed successfully.
Check the source system log file in the $SIEBSRVR/temp/<session_id>.log for the underlying error message.
 
If it was an online deployment, also check target system for Workflow or EAI object manager logs for any errors.
Export Completed
This is a status usually for file deployments. It indicates a successful file export.
The ADM data was exported successfully from the source system. Check the specified file directory for the output file.
 
NOTE: this status does not indicate that data was imported into the target system.
Deployment Completed
This status indicates successful data migration from source to target.
The submitted deployment ran successfully on the target system, and an acknowledgement was successfully sent back and received.
 
 
Table 2 - Component Events to Enable for ADM Troubleshooting
 
Component Event Name (Alias)
Level
Description
Components*
ADM Event (ADM Event)
4
Captures events related to ADM, such as errors.
EAIObjMgr, WfProcMgr, the AOM
EAI Siebel Adapter (EAISiebAdpt)
4
Captures EAI Siebel Adapter related events, including integration component and integration component fields accessed, and the values for the fields; business components and business component fields accessed and the values for the fields.
WfProcMgr, the AOM
EAI Transport (EAITransport)
4
Captures EAI Transport related events: including direction (send/receive) and result. For HTTP transport, shows headers and responses. For File Transport, shows the full filename.
EAIObjMgr, WfProcMgr, the AOM
Performance Event (FSMPerformance)
4
Captures events related to the File Systems performance such as time taken to read or write to the file system, and the name of file.
EAIObjMgr, WfProcMgr, the AOM
Event Context (EventContext)
4
Captures applet and method executed, view names, and screen names that the user navigates to.
the AOM
SrmBusSvc Condition (SRMBusSvc)
3
Captures when the Server Requests business service submits a job.
EAIObjMgr, WfProcMgr, the AOM, SRProc, SRBroker
Server Requests Routing Info (SRMRouting)
4
Captures Server Requests routing information, including SRB Session ID and component name.
EAIObjMgr, WfProcMgr, the AOM, SRProc, SRBroker
Object Manager SQL Log (ObjMgrSQLLog)
4
Captures the SQL select, insert, update, and delete statements.
EAIObjMgr, WfProcMgr, the AOM
Session Manager (SessMgr)
3
Captures SISNAPI events related to the Siebel session manager.
WfProcMgr, the AOM
Object Manager Business Service Operation and SetErrorMsg Log (ObjMgrBusServiceLog)
4
Captures Business Service-related events such as when business services are created, deleted, and the methods invoked.
 
EAIObjMgr, WfProcMgr, the AOM
Object Manager Business Component Operation and SetErrorMsg Log (ObjMgrBusCompLog)
4
Captures Business Component-related events: create and delete.
EAIObjMgr, WfProcMgr, the AOM
Workflow Engine Invoked (EngInv)
4
Captures when the workflow process engine is invoked.
EAIObjMgr, WfProcMgr
Workflow Process Execution (PrcExec)
4
Captures workflow process related events, and shows process properties values.
EAIObjMgr, WfProcMgr
Workflow Step Execution (StpExec)
4
Captures the process step events including business services invoked and inputs and outputs of the business services, conditions evaluated, and outcome of the step.
EAIObjMgr, WfProcMgr
XML Conversion (XMLConversion)
4
Captures the conversion of XML documents to property sets steps and vice versa, shows encoding used in the document.
EAIObjMgr, WfProcMgr
 
* AOM refers to your application object manager. If you are connected through the Siebel Web Client, you are using an application object manager, such as CallCenter (SSCObjMgr_enu).
 
You can enable more events than those listed in Table 2. The events listed in Table 2 are intended as a starting point for troubleshooting generic ADM problems. For more information about the component event infrastructure, refer to Siebel Bookshelf version 7.7 > System Monitoring and Diagnostics Guide for Siebel eBusiness Applications > Configuring Siebel Server and Component Logging > Configuring Siebel Server Component Logging.
 
Figure 1 - Location of Log Files for ADM errors
 
 
 
On the source system, the ADM log file in the $SIEB_ROOT/temp directory often contains more information than you will see on the screen. The ADM Session will show a hyperlink to the log file. Even if you do not see a file listed in the ADM Session, check the Siebel server temp directory for a file.
A sample log where a deployment failed and the reason it failed is shown below in Table 3. The filename will be the name of the deployment session with a .log suffix.
 
Table 3 - ADM Session Log. Filename Is 42-4P84F.log
 
Line #
Text
1
[Deployment Session Header]
2
ADM Deployment Session: 42-4P84F
3
ADM Deployment Project: testtest
4
Start Time: 08/01/2004 17:00:00
5
Target Web Address: http://myserver/eai_enu
6
Target User Name: SADMIN
7
 
8
[Transaction: ProdFeature]
9
Status: Data Preparation Completed
10
Session Items: UDA Admin Product Line, UDA Product Feature
11
End Time: 08/01/2004 17:00:07
12
 
13
[Transaction: ProdFeature]
14
Status: Import Failed
15
End Time: 08/01/2004 17:00:17
16
EAI Logs:
17
No inserts are allowed in Integration Component 'Admin Product Line_Internal Product'.
(SBL-EAI-04184)
 
In the sample ADM Session log, you can see the name of the ADM project testtest in line 3, as well as the target server name myserver in line 5. You can also quickly see that the deployment data type, ProdFeature in line 8 and line 13, and the final status Import Failed in line 14.  The Status Data Preparation Completed on line 9 means that the source system was able to successfully query and get information from the Source system. But then the import into the Target system failed as shown by the status in Line 14. The failure error message is in line 17.
 
At this point, you should check the Target system for WfProcMgr logs (workflow process manager tasks) where the EAI Siebel Adapter is used to update or insert the data. In this case, the reason is because the standard Admin Product Line Internal Production integration component does not allow inserts. In order to successfully deploy the Product Feature data, the products associated with the Product Lines must already exist on the target system.
 

Architecture

 
ADM is built on the Server Requests, Workflow Process and Enterprise Application Integration (EAI) infrastructure.
 
Figure 2 presents a logical overview of the different components involved. There are two environments shown, a source and target. Each environment is a distinct Siebel enterprise with its own Siebel database and server(s). The Siebel database for each environment contains tables that store data that is to be migrated (i.e. LOV data), ADM workflow process definitions, job details for the server requests, and entries in the EAI Queue. Each Siebel enterprise has an SRF which contains the ADM integration objects. Each enterprise will also have access to its own Siebel FileSystem, which will temporarily store files used in the ADM session.
 
On the source system, you need to have the Workflow and System Management component groups online. On the target system, you need to have the EAI, Workflow and System component groups online; you also need to setup the Siebel Web Server so that the target system can receive the HTTP requests. (If you are deploying using Export file, you would not use the Siebel server components or the Web Server, but all the other components below the dashed line are still required.)
 
Figure 2 - Siebel Components and Objects Used in ADM
 
 
 
 
 

ADM Workflow Processes for Online Deployments

 
The workflow processes used by ADM and standard integration objects’ names start with the letters UDA (for Universal Deployment Agent). The primary business service used in the UDA workflow process is the UDA Service. The sequence of events, workflow processes and business services for an online ADM session are outlined in Figure 3. Because of differences in the flow and architecture for a deployment using export files, that process is outlined separately in Figure 4.
 
Figure 3 - Workflow Process and Business Services Used for Online Deployment
 
 
 
Figure 3 also illustrates the flow of data in an online deployment. When you click Deploy in the ADM views, the button invokes the UDA Deployment workflow process. The UDA Deployment workflow process runs in the current application object manager you are using. So for example, if you are logged into the Financial Services object manager, it will run in the FinsObjMgr_enu component. The UDA Deployment workflow process then runs a subworkflow process, UDA Environment Verification, to verify that the Target environment is up and its schema versions match those in the Source environment. The UDA Environment Verification workflow processes use HTTP at this point to communicate with the Target system.
 
On the target system, the EAI Object Manager receives the request from the UDA Environment Verification workflow process through the UDA Deploy named subsystem. The UDA Deploy named subsystem dispatches the request to the UDA Service business service and the UDA Service sends a response back to the source system.
 
After verification is complete, on the source system, the UDA Deployment workflow process uses the Server Requests business service to submit an asynchronous workflow process job. The workflow process task invokes the UDA Data Query workflow process. The UDA Data Query workflow process uses the EAI Siebel Adapter and method query to extract data that to be deployed (into a Siebel integration object and then into XML). Once the ADM data is obtained, it is sent from the source to the target system using the UDA HTTP Transport workflow process as a sub workflow process.
 
On the target system, the EAI Object Manager receives the ADM data from the UDA HTTP Transport workflow process through the UDA Deploy named subsystem. This time UDA Deploy named subsystem uses the Server Requests business service to submit an asynchronous workflow process job. A new workflow process manager task runs the UDA Target Workflow workflow process. In the UDA Target Workflow, the EAI Siebel Adapter, with method Upsert (in Siebel version 7.7), is used for the logic of determining if the data will be updated or inserted. Upon successful processing of the ADM Data, the workflow process manager sends a confirmation back to the source using the SISNAPI protocol.
 
On the source system, the confirmation request is received by the same application object manager that originally initiated the deployment. The UDA Acknowledgement workflow process runs to update the ADM Session data with the results from the target system.
 

ADM Business Services for File Deployments

 
Figure 4 illustrates the flow of data in a deployment using export files. Unlike batch or online deployments, when you use export files, you do not need to have a running Siebel server. There are also no explicit workflow processes invoked. The architectural simplification makes the file deployment option ideal for testing ADM.
 
If you encounter an error performing an online deployment, switching your test case to a file deployment is a good way to isolate the root cause of the error. When you test with the file deployment option on a dedicated client, you can enable client-side tracing so you can see more details on what may be happening with the underlying Siebel application layers. You can focus on errors specific to the integration objects, content objects or EAI Siebel Adapter, and not be concerned with Siebel server infrastructure. For steps on how to perform client logging, refer to How Should Client Side Logging Be Set? (Doc ID 475587.1).
 
 
Figure 4 - Business Services Used for File Deployment
 
 
 
In Figure 4, the application object manager represents the object manager engine in a dedicated client or in a zero foot print client. In a file deployment, you need to create an XML file that represents the ADM data first in the source system. The file needs to be saved in a location that is accessible by both the source and the target environments.
 
On the target system, you import the file created from the source system. When the XML file is deployed on the target system, a copy of the XML file is saved in the EAI Queue. When the update or insert is complete on the target system, a broadcast message is displayed on the target system to the position of the user who initiated the import
 
On the source system, you will still need to create an ADM project and a new ADM Session. However, when you click the Deploy button in a File deployment scenario, no workflow processes will be dispatched. Instead, the UDA Service will provide the logic to create an XML file containing the ADM deployment data.  On the target system, you can directly import the XML file using the Menu -> Deploy from File option. You do not need to have the EAIObjmgr running or any deployment session or project created on the target system.
 
The drawback to using file deployment is that you will not have a record showing if an import succeeded or failed on the source or target system. Since there is no HTTP or SISNAPI established between the target and source environment in a file deployment, there is no ADM view that shows if the deployment data was successfully imported. If there is a failure on the target system to import the data, you will see the message in the client GUI. You can also check the EAI Queue (under Application Administration – Integration) for a status and a copy of the XML that you attempted to import.
 
The file deployment mode is also supported via the server manager (srvrmgr) command line which optimizes the import operation. With one srvrmgr command, you can import multiple files.
 

Common ADM Error Messages

 
Below is a list of common ADM error messages. Make sure to search SupportWeb with the error message and check for the latest ADM alerts as well.
 
These error messages may appear on the GUI or in a log file. For a listing of places to check for log files that would contain ADM related errors, see Figure 1.
 
Table 4 - Common ADM Error Messages and Symptoms
 
An error occurred exporting to file. Please make sure the path <path value> points to a valid directory which has enough space and is writable by the application process owner (SBL-SVC-00255)
SBL-SRQ-00103: Unable to find definition of component WfProcMgr
SBL-SVC-00232: The schema and SRF of the source environment and the target environment must be of the same version.
Step '<?>' references non-existent error symbol '<?>'.(SBL-BPR-00186)
EAI Queue Entry Always Created During File Import
Unable To Deploy: Target Server Path is a required field. Please enter a value for the field. (SBL-DAT-00498)
Deployment Failed: “[Microsoft][ODBC Driver Manager] Invalid cursor state”
Cannot connect to the server (SBL-EAI-04115). An error occurred connecting to the Target System.
SBL-BPR-00158: Cannot execute workflow process definition 'UDA Batch Deployement'
ObjMgrSRFLog Warning...(objdef.cpp (2192)) SBL-DAT-00144: Could not find 'Import Object' named 'EMT Session'
Multiple matches found for instance of integration component '%1' using search specification '%2' in the business component '%3', based on user key '%4'
LAST_UPD_BY Field Does Not Contain Correct Values
Task Status Completed but Data Not Imported
"There were more rows than could be returned. Please refine your query to bring back fewer rows (SBL-DAT-00500) (SBL-EAI-04376)
View: UDA Project Administration View does not contain applet: EMT Project Form Applet. (SBL-SVC-00254)
LOV Parent-Child Relationship Is Not Established
 
 

An error occurred exporting to file. Please make sure the path <path value> points to a valid directory which has enough space and is writable by the application process owner (SBL-SVC-00255)

 
Symptom or Error Message
 
You received the following error when exporting to a file:
 
An error occurred exporting to file. Please make sure the path <path value> points to a valid directory which has enough space and is writable by the application process owner (SBL-SVC-00255)
 
Cause
 
The export path specified is not a valid directory name or is inaccessible from the machine where the ADM process is running.
 
Diagnostic Steps
 
Verify that the file path given is valid and can be accessed from the machine where the ADM process is running.
 
Solution
 
The export path should be a shared network resource. If deploying to a file using a dedicated client, specify an export path is that is relative to the dedicated client. For example, if you are on your local Windows machine, you can specify d:\temp as your export path.
 
If deploying to a file using a zero footprint client, specify an export path is relative to the Siebel server where the object manager is running.  For example, if you are using the thin client, and connecting to a Siebel server running on Solaris, you need to specify a network path that is valid for the Solaris server, i.e. /tmp.
 
 

SBL-SRQ-00103: Unable to find definition of component WfProcMgr

 
Symptom or Error Message
 
After clicking Deploy and entering the correct password, the deployment session fails. The following error messages shows up in the Siebel component log:
 
SBL-SRQ-00103: Unable to find definition of component WfProcMgr
 
In the ADM log or on the Siebel client, you may see this error message:
 
Error encountered at workflow "<?>", step "<?>"
- No change/update is in effect.(SBL-EAI-04442)
 
Cause
 
The Workflow Process Manager Server component definition has not been synchronized from the Server Manager screen. When you synchronize components, the Siebel server updates information about your Enterprise in the S_SRM_ACTION table.
 
Diagnostic Steps
 
  1. Navigate to Sitemap > Administration - Server Configuration > Enterprises > Synchronize.
 
  1. The middle applet (Batch Component Admin) should contain a list of server components. If the list is empty, synchronization has not been done.
 
Solution
 
In the source and target environments, start a Siebel Client. Then navigate to Sitemap > Administration - Server Configuration > Enterprises > Synchronize, click Synchronize.
 
 

SBL-SVC-00232: The schema and SRF of the source environment and the target environment must be of the same version.

 
Symptom or Error Message
 
The deployment session fails with this error:
 
SBL-SVC-00232: The schema and SRF of the source environment and the target environment must be of the same version.
 
Cause
 
In Siebel 7.7, ADM checks the Siebel SRF and schema versions of the target environment against that of the source environment. If either the SRF or the custom schema versions are different, you will get the error.
 
Bug 10477353 has been logged to address this product defect. It has been fixed in Siebel Fix Pack 7.7.2.1. 
 
The new behavior is that SRF version will not be validated. The custom schema version checking will be skipped but the major, minor and vertical schema versions are still checked. However, if the SRFs between the target and source environments do not have matching integration objects, the deployment would still fail.
 
Solution
 
  1. Contact Siebel Technical Support to request the latest available 7.7.2.x Fix Pack. Install the fix pack on your target and source Siebel application environments.
 
  1. If you are not able to install the fix pack, a manual workaround is available. It is to deploy using Export Files so you can modify the XML attributes. Here is how to modify the XML:
 
    1. Determine the schema and srf versions for the target system.
 
    1. Deploy any file on the target System (you will not need to import this project into any system.) Then open up the file you deployed in notepad and copy out the lines containing the SchemaVersion and SRFVersion. It will look something like this (with different values in double quotes):
 
SchemaVersion="41.57.0.69" SRFVersion="36|1074164158|1087259477"
 
    1. Modify the Export file.
 
    1. Open up the XML file created from your source system. Then cut and paste the Schema and SRF string from the target system’s XML into your source system’s XML file. When you save the source system XML file, make sure you retain the original encoding of the XML document (utf-8).
 
NOTE: Other modifications to the XML content are not recommended unless otherwise directed by Siebel Technical Support.
 
If you require a workaround for online deployments, please contact Siebel Technical Support for assistance with modifying the UDA Deployment workflow process.
 
 

Step '<?>' references non-existent error symbol '<?>'.(SBL-BPR-00186)

 
Symptom or Error Message
 
When deploying a session using the command line interface, the status of the deployment session fails with the following errors:
 
We detected an Error which may have occurred for one or more of the following reasons:
Step '<?>' references non-existent error symbol '<?>'.(SBL-BPR-00186)
 
You may see this error in the object manager log:
 
SBL-GEN-00000: Unable to load message 0xffff
 
Cause
 
Command line deployment using on-line mode is not supported
 
Solution
 
In order to deploy in command line mode, the session must be configured to export to a file by checking the Export to File flag. Batch deployment using on-line mode is not supported.
 
 

EAI Queue Entry Always Created During File Import

 
Symptom or Error Message
 
An EAI queue entry is always created when performing a file import regardless of the Business Component User Property value.
 
Cause
 
This is an expected behavior for the standard ADM configuration.
 
Solution
 
To stop entry generation in the EAI Queue, set the User Property Use EAI Queue to Never on the EMT Session business component.
 
For more information about the EAI Queue, refer to Siebel Bookshelf version 7.7 > Siebel Connector for SAP R/3.
 
 

Unable To Deploy: Target Server Path is a required field. Please enter a value for the field. (SBL-DAT-00498)

 
Symptom or Error Message
 
You are not able to deploy to a file. When you click Deploy, you may see this message:
 
Target Server Path is a required field. Please enter a value for the field. (SBL-DAT-00498)
 
Cause
 
The Export to File box must be checked to deploy to a file.
 
Solution
 
Check the Export to File box in the ADM Session.
 
If the box is grayed out, you need to recreate a new ADM Project and check the Export to File box for the new ADM Project. Then enable the new ADM Project and redeploy.
 
 

Deployment Failed: “[Microsoft][ODBC Driver Manager] Invalid cursor state”

 
Symptom or Error Message
 
After clicking Deploy, the status changes to Deployment Failed. The following error message shows up in the SRProc.log file:
 
"[Microsoft][ODBC Driver Manager] Invalid cursor state"
 
Cause
 
  1. The database is running out of the cursors.
 
  1. There are too many connected users.
 
Diagnostic Steps
 
Check the number of the cursors in the database and make sure it complies with Siebel system requirements.
 
Solution
 
If the number of cursors is too low, increase the cursor number and run the deployment again.
 
 

Cannot connect to the server (SBL-EAI-04115). An error occurred connecting to the Target System.

 
Symptom or Error Message
 
When submitting an online deployment, you receive the following error:
 
Cannot connect to the server (SBL-EAI-04115). An error occurred connecting to the Target System. Please verify the connection information. (SBL-SVC-00252)
 
Cause
 
The HTTP session from the source to the target could not be started.
 
Diagnostic Steps
 
  1. Check that you have supplied a valid Siebel URL for the target system.
 
  1. Check that you have typed in a valid username and password for the target system
 
  1. Check that the EAI object manager on the target system is online. You can verify that the EAI object manager on the target system is online by using the statspage with this URL: http://<webserver>:<port>/eai_enu/_stats.swe (substitute <webserver> and <port> with values for your environment). If the stats page comes up, you have verified that you are able to connect to the EAI Object manager and it is online.
 
  1. Check that the source and target environments have network connectivity. For example, make sure you can ping the target webserver from the source Siebel server physical machine.
 
Solution
 
  1. Fix any invalid arguments supplied and recreate the deployment session.
 
  1. Make sure that the EAIObjMgr is online on the target system.
 
  1. If there are network problems, check with your network administrator to resolve the problems (e.g., name resolution problems, firewalls in place).
 
 

SBL-BPR-00158: Cannot execute workflow process definition 'UDA Batch Deployement'

 
Symptom or Error Message
 
When executing a batch deployment, you get the error:
 
SBL-BPR-00158: Cannot execute workflow process definition 'UDA Batch Deployement'
 
Cause
 
The workflow process name is not spelled correctly or the workflow process is not activated in the Siebel Client.
 
Diagnostic Steps
 
  1. Check the spelling of your workflow process. In the symptom above, Deployement is misspelled (an extra 'e' between the 'y' and the 'm').
 
  1. In Siebel Tools, check that workflow processes have a status of Completed. In the Siebel client, verify the same workflow processes have a status of Active.
 
Solution
 
  1. Resubmit your workflow process task with the correct spelling.
 
  1. If you have enabled a workflow process in the Siebel client, stop the workflow process manager component and restart it. Resubmit your job.
 
 

ObjMgrSRFLog Warning...(objdef.cpp (2192)) SBL-DAT-00144: Could not find 'Import Object' named 'EMT Session'

 
Symptom or Error Message
 
When you enable component event logging in the Siebel server components, you see messages like these:
 
ObjMgrSRFLog      Warning    ...    (objdef.cpp (2192)) SBL-DAT-00144: Could not find 'Import Object' named 'EMT Session'. This object is inactive or nonexistent.
 
Cause
 
These are warning messages, and they are benign. You can ignore those messages. If the value after the component event is not Warning, then you should investigate if the error is fatal.
 
 

Multiple matches found for instance of integration component '%1' using search specification '%2' in the business component '%3', based on user key '%4'

 
Symptom or Error Message
 
When deploying all the out of the box LOVs, you get this error:
 
Multiple matches found for instance of integration component '%1' using search specification '%2' in the business component '%3', based on user key '%4'.
 
Cause
 
The Siebel seed data has duplicate values for LOVs.
 
Change Request 12-MPWXD3  has been logged to address this product defect.
 
Diagnostic Steps
 
Log into the database and run the following SQL statement to see if you have duplicate seed data:
 
select TYPE, NAME from S_LST_OF_VAL
where type = ‘LOV_TYPE’
group by TYPE, NAME
having count(*) > 1
 
Solution
 
Log on a Siebel Client, and go to the LOV Views. Query for the LOV Types you found running the SQL Query in the diagnostic steps. For each duplicate pair, change the display value for one of the records to make the record unique.
 
 

LAST_UPD_BY Field Does Not Contain Correct Values

 
Symptom or Error Message
 
After migrating data from the source application to the target application with different users, records are always inserted as SADMIN user ID. The LAST_UPD_BY field does not contain correct values.
 
Cause
 
Data is inserted into the target application using the Server Request Broker (SRB) and Server Request Processor components (SRP). The user stamp on the inserted records will be the user name set for the SRB/SRP components (typically SADMIN), not the user name supplied from the source application.
 
Solution
 
Create a new user ID with the same privilege as SADMIN and update the SRB/SRP components to use that new user ID.
 
 

"There were more rows than could be returned. Please refine your query to bring back fewer rows (SBL-DAT-00500) (SBL-EAI-04376)

 
Symptom or Error Message
 
When exporting data to a file, you receive the following error message:
 
We detected an Error which may have occurred for one or more of the following reasons:
Method 'NextRecord' of business component 'Feature Access' (integration component 'Feature Access') returned the following error: "There were more rows than could be returned. Please refine your query to bring back fewer rows (SBL-DAT-00500) (SBL-EAI-04376)
 
Cause
 
There is a 10K limit on the EAI transport.
 
Solution
 
Specify a search specification such as [Name] not like 'A* to reduce the number of records returned to less than 10,000.
 
If you are not in a production environment and would like to bypass the 10K limit, it is possible to do so. However, please bear in mind that there is a potential for large memory usage of the Siebel server component.
 
To bypass the default 10,000-record limit, set the value for the parameter "DSMaxFetchArraySize" under the "InfraDatasources" named sub-system to the number of records you expect to export. Note that this param is for a given data source and would impact all components that share the same data source so we only advise you set this value immediately prior to your export and reset it to the default after your export.
 
 

Task Status Completed but Data Not Imported

 
Symptom or Error Message
 
When deploying sessions using the command line interface, the status of the workflow process task is completed. However the data has not been imported to the target environment.
 
Cause
 
  1. The UDA Batch Import and UDA Batch Deployment workflow processes have not been deployed properly.
 
  1. The FileExportPath and FileImportPath process properties are not valid.
 
Diagnostic Steps
 
  1. In Siebel Tools, check that UDA Batch Import and UDA Batch Deployment workflow processes have a status of Completed. In the Siebel client, verify the same workflow processes have a status of Active.
 
  1. Confirm the workflow processes have the correct FileExportPath and FileImportPath process property values.
 
Solution
 
  1. Deploy the UDA Batch Import and UDA Batch Deployment workflow processes in Siebel Tools. Activate the workflow processes in the Siebel Client.
 
  1. When exporting the file, verify the FileExportPath process property is set correctly for the workflow process UDA Batch Deployment. When importing the file, verify that the FileImportPath for the UDA Batch Import workflow process has a valid value. The values should be the directories which will contain the exported and imported files respectively. Both values can point to the same location.
 
NOTE: For more information about how to deploy using the command line interface, refer to Siebel Bookshelf version 7.7 > Going Live with Siebel eBusiness Applications > Migrating Customizations Between Applications > Deploying Sessions Using Command-Line Interface.
 
For more information about deploying in batch mode (running the workflow process), refer to Siebel Bookshelf version 7.7 > Going Live with Siebel eBusiness Applications > Migrating Customizations Between Applications > Reviewing the ADM Data Migration.
 
 

View: UDA Project Administration View does not contain applet: EMT Project Form Applet. (SBL-SVC-00254)

 
Symptom or Error Message
 
View: UDA Project Administration View does not contain applet: EMT Project Form Applet. (SBL-SVC-00254)
 
Cause
 
The applet might be missing in View: UDA Project Administration View
 
Diagnostic Steps
 
In Siebel Tools, query for the View UDA Project Administration View.
 
Check for all the View Web Template Item applets. Verify if the EMT Project Form Applet is there.
 
Solution
 
In Siebel Tools navigate to View and query for UDA Project Administration View and then add a View with the following information:
 
Web Template Item
Name = "EMT Project Form Applet" applet
Item Identifier = 3 or next number
Applet Value = "EMT Project Form Applet"
Applet Mode = "Edit"
 
 
LOV Parent-Child Relationship Is Not Established
 
Symptom or Error Message
 
When deploying dependent data types, such as hierarchical LOVs with the LOV-HierParent data type, both records are successfully imported in the target system, but the parent-child relationship is not established. For LOVs, after the first deployment, the child LOV does not show the parent LOV. When you redeploy the project a second time, then the parent-child relationship is established.
 
Cause
 
For dependent data types, ADM will deploy the child data type before the parent data type. When ADM deploys the child data, the parent does not yet exist so the EAI Siebel Adapter cannot set the relationship on the child to point to the parent. Hence, after the first deployment, while both data types are successfully deployed, the relationship between the two records is not established.
 
Solution
 
This is the intended behavior of ADM that all hierarchical data must be imported twice. When deploying a child record, ADM will not error out if the parent record does not exist because the picklist validation is disabled.
 
When an LOV record with a reference to a parent Language Independent Code (LIC) value is being inserted, that parent LIC value must already be present in the target system for the reference to be successfully set. However, since the Parent LIC value is in itself another LOV record, the only way to make sure that all the references are successfully established is to import the LOV values using two dependent data types both are LOV data types. Internally this will cause two deployment operations to occur, once per session item. See Figure 5 for a logical description of what happens.
 
Import pass #1 based on the LOV-HierChild session item: all LOVs will be inserted successfully. For the child LOVs that reference a parent LIC, the parent LIC field will be left blank. The UDA List of Values integration component has been configured to ignore errors on self referenced fields which are bounded to a picklist.
 
Import pass #2 based on the LOV-HierParent session item: the same LOVs will be updated. However, now any Parent LIC values referenced in the record being imported is already present in the target DB. So therefore, second import will update the LOV records previously upserted from the first deployment with the correct parent LIC value.
 
In the case where the parent and child LOVs are of different LOV Types, you can deploy the data in one deployment session by using the deployment filter. Since the ADM child data type (LOV-HierChild) is always deployed first, if you set the deployment filter for the child ADM data type to find the record for the parent LOV, the parent LOV can be inserted before the child LOV. Then set the deployment filter for the parent ADM data type (LOV-HierParent) to find the child LOV deployment record. See Figure 6 for the logical description of what happens.
 
NOTE: If you are deploying LOVs where the LOV child and parent are of different LOV types, please have a new service request opened referring to Bug 10473596 , Bug 10474105, and Bug 10498207 in order to get more information on how to obtain updated SIFs. Without the updated SIFs compiled into your SRF, you will not be able to deploy LOV data if the LOV Types are different.
 
Figure 5 - Hierarchical LOV Deployment with LOVs of the Same LOV Type
 
 
 
Figure 6 - Hierarchical LOV Deployment with LOVs of Different LOV Type
 
 









Applies to:

Siebel CRM Service, SPE - Version 8.1.1.8 SIA [23012] and later
Information in this document applies to any platform.

Symptoms

While using ADM to migrate data, "The schema of the source environment and the target environment must be of the same version.(SBL-SVC-00232)". error message is seen if the schema of source and target environment are different.
If there are multipe schema changes on an environment, the schema version of the environment would be higher than the other and it is very hard to get the schema versions in sync.

Cause

 Siebel Product defect 15862953 has been logged to disable schema version checking when deploying data using ADM.

Solution

 This has been reproduced in vanilla and defect 15862953 has been logged to address this.
 As a workaround, the schema version information in the xml file generated can be manually edited to be same as the target env.