Deploying and Removing a JMS
Library
Use this procedure to deploy and register a JMS library when you want to use an external JMS provider. A JMS library includes the client JAR file of the provider. It enables you to create ConnectionFactory objects using the relevant JMS provider.
You can also remove the JMS library using the J2EE Engine administration tools.

To set
references from a JMS library to other libraries, you must deploy the JMS
library as a server component using the Deploy Tool. For more information, see
Deploy
Tool. After you have successfully deployed the library and set necessary
references, you proceed with defining the JMS library. For more information,
see Defining
and Un-defining a JMS Library.
You can deploy a JMS library using the:
● Visual Administrator
● Console Administrator
Perform the following steps to deploy a JMS library:
1. In the Runtime tab of JMS Connector Service, choose Resources → JMS Libraries.
2.
Choose
New on the
toolbar.
3. Enter an arbitrary name for the JMS library, such as myLibrary.
4. Browse to the archive file (ZIP or JAR) that contains the classes of the JMS library.
You can choose several files consequently. When you confirm the selection of a file, you can either choose to add another archive file or finish the process by choosing Cancel.
5. Confirm the deployment of the library.
To remove a JMS library,
1. In the Resources → Libraries tree, select the library that you want to remove.
2.
Choose
Remove on the
toolbar.
To deploy a JMS library, use deploy_jms_library command from the JMSCONNECTOR command group.
To remove a JMS library, use undeploy_jms_library command from the JMSCONNECTOR command group.
For more information, see JMSCONNECTOR in the Reference Manual.
See also:
Defining and Undefining a JMS Library