Adapter for Siebel Connections
Overview
The following sections provide instructions for creating and managing Adapter for Siebel connections.
For more information about how connections work, see Adapter Connections.
Before Configuring or Managing Adapter Connections
About this task
To prepare to configure or manage an adapter connection :
Procedure
- Install IBM webMethods Integration Server and Adapter for Siebel on the same machine. For details, see Installing, Upgrading, and Uninstalling the Adapter for Siebel.
- Make sure you have webMethods administrator privileges so that you can access the Adapter for Siebel administrative screens. For information about setting user privileges, see the IBM webMethods Integration Server Administrator’s Guide for your release.
- Start Integration Server and Integration Server Administrator, if they are not already running.
- Using Integration Server Administrator, make sure the WmSiebelAdapter package is enabled. See Enabling a Package for instructions.
- Using Digital Event Services or Designer, create a user-defined package to contain the connection, if you have not already done so. For more information about managing packages, see Adapter for Siebel Package Management.
Run-Time Behavior of Connection Pools in Production Environments
As you configure and test your adapter, set the Minimum Pool Size field to 1 or greater. Doing this ensures that Integration Server will verify your connection parameters when you enable (establish) the connection, using the Adapter for Siebel.
However, when you deploy the adapter in a production environment, set the Minimum Pool Size field to 0 to avoid possible connectivity failures. When the Minimum Pool Size field is set to 1 or greater, and the Siebel Server closes an inactive Siebel connection in its pool, the Siebel Server does not notify the Adapter for Siebel that this connection has been closed because the Siebel Server has no knowledge of the Adapter for Siebel connection pool. If one of your adapter services uses a connection that the Siebel Servers has closed, that adapter service will fail and you will receive a Siebel disconnect message. To eliminate this potential problem, set the Minimum Pool Size field to 0. In this case, instead of keeping one or more connections open at all times (risking the possibility that the Siebel Server may close its inactive connections), the Adapter for Siebel connection pool opens one or more connections as needed, eliminating this possibility. Because the pool reuses connections, performance might not be impacted at all. Remember that the connection pool keeps active all connections that have not exceeded the setting specified for the Expire Timeout field. For example, if you set Expire Timeout to 30000 milliseconds, the pool will retain any inactive connection in the pool for 30 seconds before closing it. Thus, if an adapter service executes at least once every 30 seconds, the same connection will be reused.
Configuring Adapter Connections
About this task
When you configure a Adapter for Siebel connection, you specify information that the adapter uses to connect to and log into a Siebel system. You configure connections using Integration Server Administrator.
As mentioned in the installation chapter, to use a Siebel Java Data Bean client connection, you must obtain the following .jar files from the Siebel Server installation CD and place them in the WmSiebelAdapter\code\jars directory:
- SiebelJI_Common.jar (Not required for Siebel Client version 7.7.1 and later)
- Siebel.jar (Required only for Siebel Client version 7.7.1 and later)
- SiebelJI_xxx.jar
where xxx is your locale. For example, SiebelJI_enu.jar for English.
To configure a connection :
Procedure
Dynamically Changing a Service's Connection at Run Time
You can run a service using a connection other than the default connection that was associated with the service when the service was created. To override the default, you must code your flow to pass a value through the pipeline into a service's $connectionName field.
For example, you have a flow whose primary purpose is to update a business component (for example, Contact) on a production Siebel server. However, you want the flow to have the capability to update the same business component on a test Siebel server-with the decision of which Siebel server to update to be made programmatically at run time. The output signature of the flow's first service contains a field called Target. The flow could branch based on the value in Target. If Target contains the value Production, the second service in the flow would ignore $connectionName-thus using its default connection to connect to (and then update) the production Siebel server. However, if Target contains the value Test, the second service in the flow would use the value in the $connectionName from the pipeline and connect to (and then update) the test Siebel server.
Keep in mind these restrictions when using dynamic connections:
- Both connections-the default and override-must connect to the same version of Siebel Server.
- The $connectionName field is present only in
services…
- created with Digital Event Services 6.5 or later
- created with Digital Event Services 6.1 (or earlier) and edited with Digital Event Services 6.5
- created with Designer
For more information, see Changing the Connection Associated with an Adapter Service at Run Time.
Viewing Adapter Connection Parameters
You can view a connection's parameters from Integration Server Administrator, Digital Event Services or Designer.
Using Integration Server Administrator
About this task
To view the parameters for a connection using the Integration Server Administrator
Procedure
Using Digital Event Services or Designer
About this task
To view the parameters for a connection using Digital Event Services or Designer L
Procedure
- Start Digital Event Services or Designer if it is not already running.
- From the Digital Event Services Navigation panel or the Designer Package Navigator view, open the package and folder in which the connection is located.
- Double-click the connection you want to view.
- The parameters for the connection appear in the Connection Information tab. For descriptions of the connection parameters, see Configuring Adapter Connections.
Editing Adapter Connections
About this task
If the login information for your Siebel Server changes, or if you want to redefine parameters that a connection uses when connecting to a Siebel Server, you must update your connection. You edit adapter connections using the Integration Server Administrator.
To edit a connection :
Procedure
Copying Adapter Connections
About this task
You can copy an existing Adapter for Siebel connection to configure a new connection with the same or similar connection properties without having to re-type all of the properties for the connection. You copy adapter connections using Integration Server Administrator.
To copy a connection
Procedure
Deleting Adapter Connections
About this task
If you no longer want to use a particular Adapter for Siebel connection, you can delete it by following the instructions in this section. You delete adapter connections using Integration Server Administrator.
If you delete a Adapter for Siebel connection, the adapter services that are defined to use the connection will no longer work. However, you can change which connection an adapter service uses. Therefore, if you delete a Adapter for Siebel connection, you can assign a different connection to an adapter service and re-use the service. To do this, you use the built-in webMethods pub.art.service:setAdapterServiceNodeConnectionservice. For more information, see Changing the Connection Associated With an Adapter Service at Design Time.
To delete a connection
Procedure
Enabling Adapter Connections
About this task
A Adapter for Siebel connection must be enabled before you can configure any adapter service using the connection, or before an adapter service can use the connection at run time. You enable adapter connections using Integration Server Administrator.
When you enable a connection, the adapter verifies your connection parameters and tries to establish a connection to the Siebel application, assuming you configured your connection with the Minimum Pool Size field set to 1 or greater. However, when you deploy the adapter in a production environment, set the Minimum Pool Size field to 0 to avoid possible connectivity failures. For details, see Run-Time Behavior of Connection Pools in Production Environments.
To enable a connection :
Procedure
- In Integration Server Administrator, select Adapters > IBM webMethods Adapter for Siebel.
- On the Connections screen, click No in the Enabled column for the connection you want to enable.
Results
Integration Server Administrator enables the adapter
connection and displays a
and Yes in the Enabled column.
Disabling Adapter Connections
About this task
Adapter for Siebel connections must be disabled before you can edit or delete them. You disable adapter connections using Integration Server Administrator.
To disable a connection :