Contained Within
Find More Documentation
Featured Support Resources
| Download this book in PDF (1770 KB)
To configure the generic resource adapter
Prior to deploying the resource adapter JMS client libraries should be made
available to the application server. For some JMS providers, client libraries may
also include native libraries. In such cases, these native libraries should also be
made available to the application server JVM(s).
-
Deploy the generic resource adapter using the steps in the section To deploy a connector modulein Chapter 2 of this guide.
In this case, make sure that you specify install-dir/lib/addons/resourceadapters/genericjmsra/genericra.raras the location of the generic resource adapter. Also, you should specify
the properties explained in the section Resource Adapter Properties.
-
Create a connector connection pool using the steps in the section To create a connector connection pool. In the New Connector
Connection Pool page, from the Resource Adapter combo box, select genericra. Also,
in the Connection Definition combo box, select javax.jms.QueueConnectionFactory. Additionally,
specify the properties explained in the section ManagedConnectionFactory Properties.
-
Create a connector resource following the steps in the section To create a connector resource. In the New Connector Resource
page, select the pool you created in the previous step.
-
Create an administered object resource using the steps in the section To create an administered object resource. In the New Admin
Object Resource page, select genericra as the Resource Adapter and javax.jms.Queue
as the Resource Type. Click Next and in the second page, click Add Property. In the
Additional Properties table, specify a new property called DestinationProperties with
the value Name\\=clientQueue. For information on more properties, see the section Administered Object Resource Properties.
-
Make the following changes to the security policy in Sun Java System Application
Server.
-
Modify sjsas_home/domains/domain1/config/server.policy to
add java.util.logging.LoggingPermission "control"
-
Modifysjsas_home/lib/appclient/client.policy to add permission javax.security.auth.PrivateCredentialPermission "javax.resource.spi.security.PasswordCredential
* \"*\"","read";
|