In the JMS Server Configuration: Overview screen of the SAP NetWeaver Administrator you can view and manage the JMS Provider configuration on the AS Java. You can create and remove JMS resources (connection factories and destinations) and virtual providers. You can configure their current state as well by setting their properties in the Details section.
You have opened the SAP NetWeaver Administrator.
function ofManaging JMS Virtual Providers
Select JMS Virtual Providers from the Show dropdown menu.
Creating and Removing JMS Virtual Providers
To create a JMS virtual provider, choose Create . In the dialog box that appears, specify the name of the virtual provider and choose Save .
To remove a virtual provider, select the virtual provider you want to delete and choose the Remove button.
You have to be careful when you delete a virtual provider because this may cause some applications to stop running.
Configuring JMS Virtual Providers
Configuring the Global Default Properties of the JMS Provider Service
You can configure global properties of JMS virtual providers via the Config Tool.
Start the Config Tool by double-clicking the configtool script file in <SAP_install_dir>/<system_name>/<instance_name>/j2ee/configtool directory and expand the nodes .
If necessary, choose
.If you want to distribute all of the JMS virtual providers you have between the server nodes, set the value of hostMultipleVPs key to true. Otherwise you have only one virtual provider on a node and if the number of the virtual providers is larger than the nodes, some of the virtual providers are not started and some of your applications may stop running.
To apply the changes, you have to restart the Application Server cluster.
Configuring JMS Virtual Providers Locally (per Provider)
To manage the properties of a particular JMS virtual provider properties, select the provider, then choose Edit .
In the Details area, choose the Details tab.
Customize the settings, as necessary.
You can also specify the local JMS virtual provider properties in the jms-resources.xml deployment descriptor. The following table shows the correspondence between the online-configurable properties and the jms-resources.xml elements:
Property in SAP NetWeaver Administrator |
Property in jms-resources.xml |
---|---|
DataSource Name |
dataSourceName |
Running Mode |
runningMode |
Clean Up Service Sleep Interval (milliseconds) |
cleanUpServiceSleepInterval |
Client Memory Size (bytes) |
clientMemorySize |
Client Consumer Buffer Size (bytes) |
clientConsumerBuffer |
Cache Size Limit (bytes) |
cacheSizeLimit |
For more information about the properties you want to configure, see Property Reference .
To save your changes, choose Save .
Creating and Configuring JMS Resources
To create and configure JMS resources, select JMS Resources from the Show dropdown menu. The following table describes the different tasks you can do and how to do them:
Task |
Steps |
---|---|
Create a new topic or queue |
|
Edit the settings of a topic or a queue |
|
Create a new connection factory |
|
Remove a resource |
Select the resource to be removed in the JMS Resource List , then choose Remove . |
More information about the details displayed for a resource: JMS Details Description
Monitoring the JMS Provider
You can monitor the JMS Provider using the SAP NetWeaver Administrator. To access the monitors you have to:
Open the SAP NetWeaver Administrator and choose .
Choose the Monitor Browser tab.
Using the Show dropdown list, specify whether you want to display the active or inactive monitors.
To display the JMS provider monitors, enter /services/jms in the filter row of the Name column.
To display the configuration details of a particular monitor, select the monitor.
The Monitor Details area opens.
To switch the selected monitor on or off, choose the Activate or Deactivate pushbutton, respectively.
If necessary, change the values of certain properties of the monitor. You can also restore their server-default values. To apply the changed values, choose Save .