InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.4: Example wscp commands, procedures, and scripts >
6.6.0.2.2.4.11: Administering EIS connections

6.6.0.2.2.4.11: Administering EIS connections

The wscp J2CResourceAdapter and J2CConnectionFactory operations allow you to manage connections to enterprise information system (EIS) backend systems, such as PeopleSoft or Customer Information Control System (CICS). These operations can be used to perform the following tasks:

  • Create a J2C resource adapter by using the J2CResourceAdapter create command. A J2C resource adapter is a module that enables connections to a specific back-end system.

  • Install a J2C resource adapter on a node by using the J2CResourceAdapter install command. You can install a J2C resource adapter on multiple nodes.

  • Create an instance of a J2C connection factory by using the J2CConnectionFactory create command. A J2C connection factory is a set of connection configuration values that are used by the J2C connection pool manager to specify how applications connect to a backend system.

The following command example creates a J2C resource adapter. The ArchiveFile attribute is required.

wscp> J2CResourceAdapter create /J2CResourceAdapter:ResAd/
-attribute {{ArchiveFile C:/apps/resources.rar}}

The following command example installs a J2C resource adapter. The node and resource archive (RAR) file attributes are required.

wscp> J2CResourceAdapter install /J2CResourceAdapter:myRes/
-node /Node:Appserv1/ -rarfile "C:/apps/resources.rar"

The following command example creates a J2C connection factory object. You must specify the name of the J2C resource adapter with which the connection factory is associated with. The optional attributes specify the timeout period in milliseconds and the maximum number of connections supported by that connection factory.

wscp> J2CConnectionFactory create /J2CResourceAdapter:ResAd/J2CConnectionFactory:factory1/
-attribute {{ConnectionTimeout 1000} {MaxConnections 10}}

For more information on administering J2C connections, see Administering J2C related administrative objects.

Go to previous article: 6.6.0.2.2.4.10: Configuring server groups and clones Go to next article: 6.6.0.2.2.4.12: Administering the Java Message Service (JMS)

 

 
Go to previous article: 6.6.0.2.2.4.10: Configuring server groups and clones Go to next article: 6.6.0.2.2.4.12: Administering the Java Message Service (JMS)