13.07.2015 Views

Application Deployment Guide - GlassFish - Java

Application Deployment Guide - GlassFish - Java

Application Deployment Guide - GlassFish - Java

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Advanced Connector Configuration Optionsconfiguration. As a result, you can create multiple connector connection pools for aconnection definition in a functional resource adapter instance, and you can createmultiple user-accessible connector resources (that is, registering a resource with a JNDIname) for a connector connection pool. In addition, dynamic changes can be made toconnector connection pools and the connector resource properties without restartingthe <strong>GlassFish</strong> Server.Advanced Connector Configuration OptionsThread AssociationsThe following topics are addressed here:■■■■■■■■■■■■Thread AssociationsSecurity MapsWork Security MapsOverriding Configuration PropertiesTesting a Connector Connection PoolFlushing a Connector Connection PoolHandling Invalid ConnectionsSetting the Shutdown TimeoutSpecifying the Class Loading PolicyUsing Last Agent Optimization of TransactionsDisabling Pooling for a ConnectionUsing <strong>Application</strong>-Scoped ConnectorsConnectors can submit work instances to the <strong>GlassFish</strong> Server for execution. Bydefault, the <strong>GlassFish</strong> Server services work requests for all connectors from its defaultthread pool. However, you can associate a specific user-created thread pool to servicework requests from a connector. A thread pool can service work requests frommultiple resource adapters. To create a thread pool:■In the Administration Console, select Thread Pools under the relevantconfiguration. For details, click the Help button in the Administration Console.■ Use the asadmin create-threadpool command. For details, see the <strong>GlassFish</strong>Server Open Source Edition Reference Manual.To associate a connector with a thread pool:■ In the Administration Console, open the <strong>Application</strong>s component and selectResource Adapter Configs. Specify the name of the thread pool in the Thread PoolID field. For details, click the Help button in the Administration Console.■Use the --threadpoolid option of the asadmin create-resource-adapter-configcommand. For details, see the <strong>GlassFish</strong> Server Open Source Edition ReferenceManual.If you create a resource adapter configuration for a connector module that is alreadydeployed, the connector module deployment is restarted with the new configurationproperties.Developing Connectors 11-3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!