Setting Up a Transactional ASE Database Service

If you want to use a transactional ASE database service in a business process service, you must disable the Autocommit option in the database service editor, deploy the business process service, and then reconfigure the Connection Cache created in EAServer Manager. You can also select the ASE XA driver when creating a connection profile for ASE. This automatically sets the required properties.

Note

You cannot set up an ASA database service to be transactional.

To set up a transactional database service:

  1. To edit the ASE database service do the following:

    1. Open the database service.

    2. Deselect the Autocommit option in the Operations section of the service editor.

    3. Save the service.

  2. Deploy the business process service.

  3. To reconfigure the EAServer Connection Cache properties:

    1. Open EAServer Manager.

    2. In the tree view, expand EAServer Manager and select the machine that runs the business process service.

    3. Double-click Connnection Caches to display the cache list in the right pane.

    4. Open the Connection Cache dialog box.

    5. Double-click the <business process service name>.

    6. Specify the following properties and then click OK:

      General Properties tab

      PropertyDescription

      Server Name

      NetworkProtocol=Tds:Server=<db_host_name>:Port=<db_listener_port>

      XA Server Name

      NetworkProtocol=Tds:Server=<db_host_name>:Port=<db_listener_port>

      Driver Properties tab

      PropertyDescription

      Connection Library 1PC

      In the DLL Class name, specify the following:

      com.sybase. jdbc2.jdbc.SybConnectionPoolDataSource

      Connection Library XA

      In the DLL Class name, reconfigure the default to be

      com.sybase.jdbc2.jdb. SybXADataSource

  4. Restart EAServer. Right-click Jaguar Manager and select Shutdown and Start.

  5. Reconnect to EAServer using the connection profile in Enterprise Explorer.

Note

To set up a transactional database service for other database types (Oracle), ensure the database is currently configured to handled XA transactions. You must also have the correct DLL or Class identified in EAS|Connection Cache Properties. See the EAServer product documentation on the Sybase WorkSpace bookshelf for more detailed instructions.

Setting Up a Nontransactional Adaptive Server Anywhere Database Service

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com