Problem:
The file webadapter.properties is not created in ServletExec's configuration folder, as expected. As a result, OneView Monitor does not work.
Solution:
After configuring OneView Monitor on an RHAS 4.0 platform with a supported web server, manually create the webadapter.properties file in ServletExec's configuration folder. The ServletExec adapter uses the properties in this file to rout HTTP requests from the web server to a ServletExec Application Server (AS) instance.
The webadapter.properties file contains the following properties:
Specifies a minimum number of seconds for the ServletExec adapter to poll the ServletExec AS instance.
Note: Setting this property to a positive number ensures that the ServletExec adapter polls the AS instance for the specified interval of time. As a result, the adapter is automatically updated when the instance's web application data is modified.
Examples:
servletexec.aliasCheckInterval=10
servletexec.aliasCheckInterval=-1
Use this value to disable polling.
Specifies the name of a ServletExec AS instance.
Specifies one or more host names or IP addresses separated by commas.
Note: These are the hosts for which the specified ServletExec AS instance is configured to process requests.
Examples:
servletexec.instance_name.hosts=www.abc.com:9090,www.ca.com
servletexec.instance_name.hosts=192.168.200.17,192.168.200.43:8000
servletexec.instance_name.hosts=all
Specifies that this ServletExec AS instance is configured to process requests from all hosts.
Specifies the IP address and port number of a ServletExec AS instance.
Note: This IP address and port number are used by the ServletExec adapter when forwarding HTTP requests from the web server to the specified ServletExec AS instance. Each instance must have a unique IP address/port number pair.
Example:
servletexec.instance_name.instances=127.0.0.1:8888
Specifies default values for the IP address and port number.
Specifies the number of connections that can be added to the connection pool when a connection is needed and the pool is empty.
Note: These connections are used by the ServletExec adapter to communicate with the specified ServletExec AS instance.
Example:
servletexec.instance_name.pool-increment=5
Specifies the maximum number of idle connections that can be present in the connection pool at any one time.
Note: This number applies to the connections that are used by the ServletExec adapter to communicate with the specified ServletExec AS instance.
Example:
servletexec.instance_name.pool-max-idle=10
Using the webadapter.properties file, the ServletExec adapter applies the following algorithm to each HTTP request:
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |