Chapter 3 EAServer and Application Issues
This section discusses how Application Integrator components use connections to target servers, including the following topics.
When the Component Builder deploys a component into EAServer, it sets the following properties for the component. These properties affect connection handling and security.
com.sybase.ai.connection.name This property is referred to as connection_name. It specifies the name of the connection associated with the component.
com.sybase.ai.use_client_security This property is referred to as use_client_security. It affects the user ID and password that are used to obtain connections. Valid values are:
com.sybase.ai.use_connection_cache This property is referred to as use_connection_cache. It specifies how the Application Integrator component acquires and disposes of connections. Valid values are:
com.sybase.ai.connection_cache_unavail_action This property controls the action that EAServer takes if there are no connections available in the cache. The valid values correspond to the values for the flag parameter on the JCMCache.getConnection() method. See the section on using connection management in the EAServer Programmer's Guide for a more detailed discussion. Valid values are:
The process of acquiring and disposing of connections differs depending on whether the Application Integrator component is configured to use connection caching.
Defining connection caches for Application Integrator components is similar to defining them for other components that use JDBC connection caches. A connection cache that is defined for an Application Integrator component can be shared with other non-Application Integrator components.
You must set up connection cache definitions in Jaguar Manager using the following procedure. In general, use the same information that was used to create the connection in the Component Builder.
To define a connection cache:
Currently, EAServer connection cache definitions for
JDBC drivers do not allow you to specify driver connection properties.
If you are using jConnect, you can specify the JDBC
connection properties by appending the name-value pairs to the URL
using this syntax: /optional_db_name&PROP1=VAL1&PROP2=VAL2.
See the Sybase jConnect for JDBC Programmer's
Reference for information about setting connection properties.
In addition to the properties that all Java-style EAServer components have, Application Integrator adds some properties to the component in the EAServer component repository. Application Integrator-specific properties begin with the com.sybase.ai prefix and are set to default values by the Component Builder when the component is initially deployed. You must refresh the component in Jaguar Manager for property changes to take effect.
To edit these properties in Jaguar Manager, use the All Properties tab on the Component Properties dialog box. Click on the column heading once to sort the properties alphabetically by name in ascending order; click on the column heading again to sort the properties alphabetically in descending order.
Component property name | Where property is set |
---|---|
com.sybase.ai.connection.name | During Application Integrator Component Builder deployment |
com.sybase.ai.use_connection_cache | Jaguar Manager |
com.sybase.ai.connection_cache_ unavail_action | Jaguar Manager |
com.sybase.ai.use_client_security | Jaguar Manager |
com.sybase.ai.debug | Jaguar Manager |
Do not modify any of the following component properties unless instructed to do so by Sybase Technical Support:
The com.sybase.ai.debug component property
can be used to cause the component to write detailed trace information
to the EAServer log. The property can have a value of true to
indicate that the component should write trace information to the
EAServer log.
A value of false (the
default) indicates that the component should not write information
to the log.
WARNING! | Turning on debugging can cause large amounts of data to be logged, which can adversely affect performance. |
In general, the information produced by this logging is intended for Sybase Technical Support to aid in problem determination.
To turn on component debugging:
Copyright © 2001 Sybase, Inc. All rights reserved. |
![]() |