Sun Microsystems 820433510 Server User Manual


 
Conguring the Generic Resource Adapter
Prior to deploying the resource adapter, JMS client libraries should be made available to the
Enterprise 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 JVM(s).
1. Deploy the generic resource adapter the same way you would deploy a connector module.
2. Create a connector connection pool.
3. Create a connector resource.
4. Create an administered object resource.
5. Make the following changes to the security policy in the Enterprise Server:
Modify sjsas_home/domains/domain1/config/server.policy to add
java.util.logging.LoggingPermission "control"
Modify sjsas_home/lib/appclient/client.policy to add permission
javax.security.auth.PrivateCredentialPermission
"javax.resource.spi.security.PasswordCredential ^ \"^\"","read":
Resource Adapter Properties
The following table presents the properties to be used while creating the resource adapter.
PropertyName ValidValues DefaultValue Description
ProviderIntegration
Mode
javabean/jndi javabean Decides the mode ofintegration
between the resourceadapter and the
JMS client.
ConnectionFactory
ClassName
Nameof the class available
in the applicationserver
classpath, for example:
com.sun.messaging.
ConnectionFactory
None Class name of
javax.jms.ConnectionFactory
implementation of theJMS client.
Used if ProviderIntegrationMode is
javabean.
QueueConnection
FactoryClassName
Nameof the class available
in the applicationserver
classpath, for example:
com.sun.messaging.
QueueConnectionFactory
None Class name of
javax.jms.QueueConnectionFactory
implementation of theJMS client.
Used if ProviderIntegrationMode is
javabean.
ForeignJMS Providers
SunGlassFishEnterpriseServer2.1AdministrationGuide • December200868