IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Siebel Business Applications > Troubleshooting and support

Solutions to some common problems

Solutions and workarounds to some problems you may encounter while running WebSphere Adapter for Siebel Business Applications with your database are provided. These problems and solutions are also documented as technotes on the Software support website.

For a complete list of technotes about WebSphere Adapters, see http://www-1.ibm.com/support/search.wss?tc=SSMKUK&rs=695&rank=8&dc=DB520+D800+D900+DA900+DA800+DB560&dtm.


The adapter may time out based on the default timeout value set on the Siebel application


Problem

The default timeout value for connections set on the Siebel application is approximately 45 minutes. Any connection that is idle (without any transactions coming in) for more than 45 minutes will be timed out. There is no way for the adapter to know this, because the adapter only gets the connection from the container. After it fails, the adapter generates a CommException exception back, and the corresponding connection is removed from the pool.


Cause

If the adapter has been idle for more than 45 minutes, it will time out. Also, if the container sends the adapter an invalid connection, the adapter will fail.


Solution and Workaround

If there is a possibility that the adapter remains idle, without any transactions coming in for 60 minutes, increase the timeout value on the Siebel business application to a higher number (for example, 1 1/2 hours). This ensures that the connections remain valid for a longer period.

If you cannot increase the timeout value, then resend the failed transaction.


Adapter does not check for the required fields to be set when creating Siebel business components


Problem

When creating Siebel business components, the adapter does not check to ensure that the required fields are set. If required fields are not set, the Siebel enterprise information system (EIS) generates an error, which is returned by the adapter.


Cause

Required fields are not set.


Solution and Workaround

Update the required attributes as needed based on the Siebel exception message provided by the adapter.


Adapter does not throw exception when the call to a Siebel business service method fails


Problem

When the adapter runs a Siebel business service method, it might not throw an exception, even if the transaction fails in the Siebel application.


Cause

This problem occurs because the corresponding business service does not throw an exception but rather returns an empty property set to the adapter. The adapter cannot detect if the transaction was successful, that is, whether the values were updated properly in the Siebel business application. Therefore, the adapter does not throw an exception. Because an empty property set is returned, the adapter returns the corresponding empty top-level business object.

Example scenario: Invalid attribute values are passed through the business object.

For example, if the key (for example, "ID") value does not exist and there is no value set on the business object, a corresponding record does not exist in the Siebel business application for that particular key. The business service method might simply ignore the attribute value, even if it is set on the property set. The method must throw an exception but instead returns an empty property set, so the adapter also returns the empty top-level business object (that corresponds to the property set).


Solution and Workaround

Customize the Siebel business service to throw an exception back when failure occurs.


Adapter generates multiple container attributes in the business object for simple link relationships


Problem

Multiple container attributes are generated by IBM WebSphere Adapter for Siebel Business Applications in the parent business object for a simple link relationship between two Siebel business components.


Cause

The adapter generates multiple container attributes for a simple link relationship.

For example, as part of the enterprise services discovery generation, assume you select the Siebel business components Account and Business Address in the Siebel business object Account. The corresponding WebSphere business object generated for the Siebel business component Account includes three container attributes, BusinessAddress, BusinessAddress2, and BusinessAddress3, instead of one. You can confirm that SimpleLink application-specific information is set against the three container attributes.


Solution and Workaround

Eventhough the extra container attributes does not affect the transaction if they are left untouched, remove the unwanted attributes using the business object editor in IBM Integration Designer. Therefore, you have only one of the three attributes (BusinessAddress, BusinessAddress2, and BusinessAddress3). For more information on how to use the business object editor, see IBM Integration Designer Information Center.


The adapter does not generate artifacts properly for all selected Siebel business components


Problem

When the adapter generates names for business objects from Siebel business components selected through the external service wizard, it removes special characters, including spaces, from the names. If multiple Siebel business components have the same name after the adapter deletes spaces from the names, the adapter does not generate artifacts properly.

Only one WebSphere business object is generated instead of multiple business objects, even though multiple Siebel business components were selected through the external service wizard.

As an example, consider a Siebel business object called Acc that has two Siebel business components: Bus Addr and BusAddr. Because the adapter deletes spaces from the Siebel business component names to generate the WebSphere business object names, two WebSphere business objects will have the same name: BOAccBCBusAddr. The first WebSphere business object is overwritten by the second one.


Cause

When generating business object names, the adapter deletes spaces instead of replacing them with Unicode values, as it does for other special characters.


Solution and Workaround

Use the Generate business object with shorter names option to generate multiple business objects. The naming convention for this option adds a counter to the end of the business object if resulting names will be the same, for example, BusAddr, BusAddr1, and BusAddr2.


The adapter does not generate an exception when the call to a Siebel business service method fails


Problem

When the adapter processes a Siebel business service method and the transaction fails in the Siebel application, the adapter might not generate an exception.


Cause

The corresponding business service does not generate an exception to the adapter when the transaction fails, but instead returns an empty property set to the adapter. Because the adapter cannot detect whether the transaction was successful, that is, whether the values were updated properly in the Siebel application, it does not generate an exception. Because it receives an empty property set, the adapter returns the corresponding empty top-level business object.

For example, if the key value, such as ID, does not exist, and there is no value set on the business object, a corresponding record does not exist in the Siebel application for that particular key. The business service method might ignore the attribute value, even though it is set on the property set. The method must generate an exception but instead returns an empty property set, so the adapter also returns the empty top-level business object that corresponds to the property set.


Solution and Workaround

Customize the Siebel business service to generate an exception when a failure occurs.


Inbound component of WebSphere Adapter for Siebel Business Applications stops working after the number of event entries passes 10,000


Problem

Inbound component of WebSphere Adapter for Siebel Business Applications stops polling and throws some exception.


Cause

WebSphere Adapter for Siebel Business Applications uses Siebel API to access the event table. The possible cause for this issue may be:


Solution and Workaround

Following actions can be considered:


Adapter does not generate WebSphere business objects for child Siebel business components if the related link is inactive


Problem

The external service wizard generates WebSphere business objects against the corresponding Siebel business components. If the link that relates the parent business component to the child business component is inactive, the external service wizard does not generate a WebSphere business object for the corresponding child business component.


Cause

The link in Siebel enterprise information system (EIS) for the parent business component to the child business component is inactive.


Solution and workaround

Set the link as Active in Siebel enterprise information system (EIS).


Adapter returns version conflict exception message


Problem

When install multiple adapters with different versions of CWYBS_AdapterFoundation.jar, and if a lower version of the CWYBS_AdapterFoundation.jar is loaded during run time, the adapter returns the ResourceAdapterInternalException error message, due to a version conflict.

For example, when install Oracle E-Business Suite adapter version 7.0.0.3 and WebSphere Adapter for Siebel Business Applications version 7.5.0.3, the following error message is displayed "The version of CWYBS_AdapterFoundation.jar is not compatible with IBM WebSphere Adapter for Siebel Business Applications" as IBM WebSphere Adapter for Siebel Business Applications loads file:/C:/IBM/WebSphere/ProcServer7/profiles/ProcSrv01/installedConnectors/CWYOE_OracleEBS.rar/CWYBS_AdapterFoundation.jar with version 7.0.0.3. However, the base level of this jar required is version 7.5.0.3. To overcome this conflict, you must migrate all adapters to the same version level.


Solution

Migrate all adapters to the same version level.

For further assistance, visit http://www.ibm.com/support/docview.wss?uid=swg27006249.


Endpoint application of the passive adapter instance listens to the events when enableHASupport is set to True


Problem

In the active-passive configuration mode of the adapters, the endpoint application of the passive adapter instance also listens to the events or messages even if the enableHASupport property is set to True.


Cause

By default, in WebSphere Application Server, the alwaysactivateAllMDBs property in the JMS activation specification is set to True. This enables the endpoint application of all the adapter (active or passive) instances to listen to the events.


Solution

To stop the endpoint application of the passive adapter instance from listening to the events, you must set the alwaysactivateAllMDBs property value to False. The JMS activation specification is associated with one or more MDBs and provides the necessary configuration to receive events. If the alwaysActivateAllMDBs property is set to False, then the endpoint application of only the active adapter instance receives the events.

Perform the following procedure, to set the alwaysActivateAllMDBs property to False.

  1. Log on to the Process Administrative Console.

  2. Go to Resources> JMS > Activation specifications.

  3. Click the activation specification corresponding to the application from the list.

  4. Click Custom properties under Additional properties.

  5. Click alwaysActivateAllMDBs.
  6. Change the value to False.

  7. Click Apply and OK.


Result

The endpoint application of only the active adapter instance listens to the events.


Error displayed when using external service wizard


Problem

Error is displayed when using the external service wizard.

  1. Add a Siebel driver file in the Locate the Required Files and Libraries window.

  2. Click Next and move to the Specify the Discovery Properties window.

  3. Click Back and go to the Locate the Required Files and Libraries. Then add another Siebel driver file.

  4. Click Next and move to the Specify the Discovery Properties window.

The Specify the Discovery Properties is not displayed.


Cause

This is an Eclipse limitation for class loading.


Solution

Close the connector project and reopen it to add the Siebel driver files again.


Issues faced while using Oracle Siebel dependency jars 8.1.1.4 (and greater)


Problem

An end of file error occurred (SBL-DAT-00393). An article on Oracle (article ID 1328941.1) discusses about this issue. If Java Data Bean is using the Oracle Siebel dependency JAR files of version 8.1.1.4 (or 8.1.1.5), the JAR files generate an Unexpected Error at the End Of File when executing the NextRecord command. A bug (# 12641734) is also identified for the same.


Solution

The issue is resolved in the Oracle Siebel dependency JAR files of version 8.1.1.5 by applying the QF0562 defect fix from Oracle. It is also resolved in the Fix Patch version 8.1.1.6 (and greater).

Troubleshooting and support