Release Notes
for release information
Copyright © 2011 Red Hat, Inc.
Abstract
1. New Features in JBoss Operations Network 3.0
1.1. Rewritten UI

Figure 1. New UI: Menus, Tables, and Navigation

Figure 2. New UI: Default Dashboard
- A new message center which provides a stream of errors, notifications, and system messages that have been generated during the current session
- Support for cron expressions when scheduling operations
- Support for editing simple properties in the configuration editor for resources
1.2. New: Managing Configuration Drift
- The directory to monitor
- Any files and subdirectories within the base directory to include or exclude from monitoring
- The interval or schedule which the agent uses to check the drift base directory
- Drift is enabled as a server-side plug-in. If this plug-in is disabled, the drift monitoring is disabled and drift detection will not run. Any drift events will not be recorded in the events timeline, and any drift alerts will not be fired.This behavior is different than disabling other server-side plug-ins. For example, if an alert sender plug-in is disabled, the alert scans still run and any alerts are still recorded in the server, but the notification based on that sender is not sent.
- Drift is not supported on embedded web applications, such as an embedded WAR under an EAR application.
For more information on drift, see Managing Resource Configuration.
1.3. Enhanced: Provisioning to Allow Bundles on Non-Platform Resources
<bundle-target> element, which sets a base directory or directories for the provisioning process to use. Of the default resources, three resource types support provisioning:
- All supported platform types
- JBoss AS 4 servers
- JBoss AS 5 servers and any server which uses the JBoss AS 5 resource plug-in
Note
1.4. New: Synchronization (Import/Export) for Server and Monitoring Settings
- System settings
- Metric templates
Note
/rhq-remoting-cli-version#/samples/ directory. Documentation with usage examples is available in Configuring JBoss ON Servers and Agents.
1.5. New: Launching Server-side CLI Scripts in Response to Alerts
/alert-scripts/.
1.6. New: Configuring Alert Conditions Based on Call-Time Data
- Session bean methods
- Web servers with response time monitoring configured
1.7. New: Alert Conditions Based on Ranges
1.8. Enhanced: Authorization Controls for Content Repositories
- Owner, which assigns the repository to belong to a specific user; this sets write access to the repository.
- Private, which sets whether the repository can be accessed by anyone or only by the owner. This sets read/download access to the repository.
1.9. New: Deleting and Purging Agent Resource Plug-ins
1.10. New: Support for PostgreSQL 9.0
1.11. Tech Preview: JBoss Resource Plug-ins for mod_cluster Domains
mod_cluster domains. This is for mod_cluster version 1.1.2[1].
mod_cluster plug-in will be one of the new standard resource plug-ins with JBoss ON.
Note
mod_cluster domain resources are tech preview in JBoss Operations Network 3.0. These resource types are not fully-supported.
mod_cluster resource in JBoss ON 3.0, it must be uninventoried and re-added in later versions of JBoss Operations Network. It cannot be migrated. This means that you can lose monitoring data and configuration.
mod_cluster is in Manage JBoss Servers with JBoss ON.
1.12. Tech Preview: JBoss Resource Plug-ins for JBoss AS 7.1
Note
2. Structural Changes in JBoss ON 3.0
2.1. Removing Discovery Queue from the Default Dashboard
2.2. Deprecated Platforms and Browsers
- Java 5 is no longer supported for the JDK or JRE.
- Microsoft Internet Explorer 6, Internet Explorer 7, and Firefox 2.x are no longer supported for accessing the JBoss ON GUI.
- Solaris 9, HP-UX 11, AIX 5.2, Microsoft Windows XP, and Microsoft Windows 2000 are no longer supported platforms for the JBoss ON server or agent.
- Microsoft Server 2003
2.3. New and Changed Remote API Methods
2.4. Different Name Keys for JBoss AS and JBoss EAP Servers
3. JBoss Operations Network Prerequisites
- Red Hat Enterprise Linux 6 (32-bit and 64-bit)
- Microsoft Windows 2008 R2 (32-bit and 64-bit)
- PostgreSQL 9.0
4. Quick Setup for JBoss Operations Network 3.0
- Set up a database named
rhqadminand a database user namedrhqadmin. Make sure the database user has adequate permissions to perform operations on the JBoss ON database.For more detailed database setup information: - Stop any currently running JBoss ON instances.
serverRoot/jon-server-3.0.0.GA/bin/rhq-server.sh stop
If the new JBoss ON server will use a database that existing JBoss ON instances are also using, then all of the existing JBoss ON instances have to be stopped. - Download the server packages from the Customer Support Portal.
- Click Software in the top menu.
- In the Product field, select the product.
- Unzip the server distribution to the directory where it will be executed from. For example:
cd /opt unzip jon-server-3.0.0.GA.zip
This creates ajon-server-3.0.0.GA/directory in your chosen installation root. - Run the JBoss ON server:
serverRoot/jon-server-3.0.0.GA/bin/rhq-server.sh start
- Open the server UI at
http://localhost:7080/. This will display the JBoss ON server installer.Clicking the Click here to continue the installation link brings you to the main installer page. - Go through the installer and fill in the information. Only the database connection information is required; most of the default can be accepted without changes.
The main installer page appears different depending on the database settings. - When the configuration is complete, click the link to log into the JBoss ON UI.
5. Fixed Bugs in JBoss Operations Network 3.0
Table 2. JBoss ON 3.0 Fixed Bugs
| Bug Number | Description | ||
|---|---|---|---|
| Installation and Upgrade | |||
| Bugzilla 598922 | Upgrading from JON2.3.1 to JON2.4 with an Oracle backend returned a 'Connection timed out' error for connecting to the LDAP server. | ||
| Bugzilla 618214 | Upgrading JON2.3.1 to 2.4 lost SNMP Server Configuration Properties. | ||
| Server | |||
| Bugzilla 712311 | If the resource configuration could not be found because the resource was unavailable, the server incorrectly recorded an NPE. | ||
| Bugzilla 747922 | Uninventorying and then re-importing a resource could return a Java error. | ||
| General | |||
| Bugzilla 536032 | If the same user is logged in from multiple machines, sessions were logged out in rotation. | ||
| Bugzilla 644344 | An LDAP user with the name admin could act as a superuser in JBoss ON. Now, no LDAP user is allowed in JBoss ON with the name admin. | ||
| Bugzilla 683609 | Purging a plug-in without deleting it would remove the plug-in from the UI but leave the .jar file on the filesystem. | ||
| Bugzilla 691476 | When viewing compatible groups of resources and their children, the same resource will be displayed multiple times in the group view. Grouping failed because the resource key is too unique for the same resource across compatible parents. | ||
| Bugzilla 695408 | When a child resource was deleted from a machine, the inventory history page for the parent contained few details. | ||
| Bugzilla 707047 | The LDAP group member search doesn't escape special characters. | ||
| Bugzilla 711502 | Resources using the ResourceContext.createAvailabilityCollectorRunnable were unable to start up when loaded from the disk. | ||
| Bugzilla 734135 | A dynagroup could be created with an improper expression. | ||
| Bugzilla 746347 | A role could not be updated if an LDAP-authenticated user belonged to the role. | ||
| Bugzilla 756106 | The agent resource has a status of UP, but all its child Resources are DOWN, with plugin container exceptions in the agent log. | ||
| Performance | |||
| Bugzilla 535237 | Traversing a compatible group with a large number of entries was slow to render. | ||
| Bugzilla 617577 | The uninventory process had some unnecessary database calls, making it last several seconds for platforms with a lot of children. | ||
| Bugzilla 645502 | Agent availability reports included the full resource object and additional information, which could make them over 1MB. | ||
| Bugzilla 661203 | There were issued with the inventory browser load efficiency. | ||
| Bugzilla 720794 | It could take several minutes to import a large number of resources. | ||
| Bugzilla 727869 | When there were a large number of resources in inventory, it could take several seconds to open the configuration history. | ||
| Bugzilla 734599 | It could take several seconds to update a metric schedule on a compatible group with 1,000 members. | ||
| Bugzilla 736517 | It can take a very long time to load the resource tree for a platform with a large number of children. | ||
| Bugzilla 738798 | It could take several seconds or a minute to delete a large number of alerts. | ||
| Agent | |||
| Bugzilla 702691 | If a resource was restarted outside JBoss ON, then its process information in the agent's resource context was never refreshed. | ||
| Bugzilla 711484 | An exception thrown inside the ResourceComponent.start() method will get rethrown as InvalidPluginConfigurationException which is not being caught. The agent stops and tries to restart the plug-in container, which fails and the agent doesn't restart. | ||
| Bugzilla 712444 | If a fatal validation error occurred while parsing the agent plug-in descriptor, the errors were not logged. | ||
| Server | |||
| Bugzilla 658491 | If call time metrics for several Oracle resources were received in one batch, they were all assigned to the first resource in the batch. | ||
| Bugzilla 713744 | The ResourceMetadataManagerBean call hung on Oracle 11g. | ||
| Monitoring | |||
| Bugzilla 634648 | Using Advanced Settings to enter a display range for a metric graph or metric table has no effect. The criteria specified in the Advanced Settings pop-up window does not get applied to the graph or chart. | ||
| Bugzilla 649825 | A user who has a role which contains a compatible group definition with Tomcat server resources is unable to see any metric graphs and could show an error in the UI. | ||
| Bugzilla 713750 | The event timeline displays data, but showed a client side message about invalid configuration IDs and recorded a server-side message about 'Failed to load json data.' | ||
| Bugzilla 717921 | Creating an event log under the JBoss ON server resource displays IndexOutOfBoundsException. | ||
| Alerts | |||
| Bugzilla 602178 | The email notification for alerts did not include the resource type in the email text, so it was difficult to determine what resource triggered the alert. | ||
| Bugzilla 657007 | The resource alert history had to be manually refreshed to show new alerts. | ||
| Bugzilla 726202 | If an alert using a baseline as a condition was created before the metric baseline was defined, then it could be over an hour before alerts for that condition were triggered. | ||
| Bugzilla 735262 | An alert definition with two conditions using the same metric could fire at, apparently, the wrong time. For example, a setting of load at >40% and <60% could fire an alert that recorded values of 15% and 41%. A spike over 40% triggered one condition (>40%) while another measurement triggered the other condition (<60%). This is because conditions are evaluated individually not corporately. | ||
| Bugzilla 736685 | If a resource had an alert with two AND conditions and one of those conditions was evaluated but the other wasn't, then the alert essentially locked the resource and it could not be uninventoried. | ||
| Inventory | |||
| When attempting to re-add an uninventoried platform, the server recorded a stacktrace. | ||
| Bugzilla 596680 | An embedded WAR with "/" as Web application context was shown as not available. | ||
| Bugzilla 622491 | Deleting a user caused user's modified groups and manually added resources to be inaccessible. | ||
| Bugzilla 634306 | If a custom Linux kernel had a version name longer than 50 characters, the platform discovery returned the error "java.lang.IllegalStateException." | ||
| Bugzilla 714812 | If a resource was deleted through JBoss ON and then later recreated, it resulted in an invalid inventory report and the resource could not be re-inventoried. | ||
| Bugzilla 719734 | Importing a large number of resources could return the SQL exception "ORA-01795: maximum number of expressions in a list is 1000". | ||
| Bugzilla 736439 | Uninventorying a large number of resources could cause the operation to timeout and fail. | ||
| Bugzilla 739789 | Deleting a VDB from inventory removed it from the EDS instance, but it remained in the inventory. | ||
| UI | |||
| Bugzilla 614847 | The left navigation tree for the provisioning area would not expand on Internet Explorer 8. | ||
| Bugzilla 636709 | A favorites icon was displayed for folders, but actually added the parent as a favorite. | ||
| Bugzilla 663722 | User passwords did not allow special characters. | ||
| Bugzilla 734034 | Saved search name was not removed from the search bar after it was deleted. | ||
| Bugzilla 734231 | A dynagroup does not support a name or description over 100 characters. | ||
| Bugzilla 638728 | The UI does not indicate when a resource is down. | ||
| Bugzilla 638737 | Duplicate rows show up in schedules table. | ||
| Bugzilla 639950 | Moving between autogroups did not move properly to the same subtab. | ||
| Bugzilla 641179 | In the Dynagroup Manager view, the "Last Calculation Time" and "Next Calculation Time" are the same when a dynagroup has scheduled recalculations. | ||
| Bugzilla 676761 | Entering invalid expression in search bar results in uncaught runtime exception, rather than user friendly error. | ||
| Bugzilla 678349 | The OK button was missing from alert definition edit page, preventing it from being updated. | ||
| Bugzilla 695810 | It was not possible to schedule an operation from the context menu for a group. | ||
| Bugzilla 695889 | There were several issues with saved searches, including intermittent NPE errors. | ||
| Bugzilla 729329 | If the JBoss ON server was not running, a globally uncaught exception was returned in the UI. | ||
| Bugzilla 730991 | When a new child was added to a resource, the left navigation tree did not refresh. | ||
| Bugzilla 601721 | In Internet Explorer, text areas in resource entry views are frequently displayed as if they are editable fields when they are not. | ||
| Bugzilla 701314 | A large import operation could cause the UI to timeout. The import operation was unaffected. | ||
| CLI | |||
| Bugzilla 725252 | The MeasurementBaselineManager.findBaselinesForResource() method did not work with the JBoss ON CLI, despite being defined in the remote API. | ||
| Bugzilla 736792 | Using the retrieveBackingContent method with the JBoss ON CLI returned a file not found exception on the agent. | ||
| Bugzilla 754968 | The JBoss ON CLI did not support arguments with spaces. | ||
| Bundles | |||
| Bugzilla 614410 | The bundle deployment wizard does not show the message "Bundle Deployment Scheduled!" in Internet Explorer 7. | ||
| Bugzilla 655187 | A platform could not be uninventoried if it had a bundle deployed to it. | ||
| Bugzilla 694741 | Role permissions were not filtering the destinations that a user could deploy a bundle to. | ||
| Bugzilla 702390 | Large number of bundle deployments for a single bundle causes Hibernate exceptions. | ||
| Configuration | |||
| Bugzilla 573034 | When a new plug-in with new plug-in configuration properties is deployed, any existing resources do not get default values set for their plug-in configurations that are required but have default values defined in the descriptor. | ||
| The server did not verify that a user had the proper modify resource permissions when they attempted to delete a plug-in configuration update from the group connection properties history. | ||
| Deleting a resource checked that a user had configuration write permissions, rather than the modify resource permission. | ||
| Bugzilla 706232 | Looking at the configuration for a compatible group could give the error "does not match latest associated ResourceConfigurationUpdate with SUCCESS status." | ||
| Platform Plug-in | |||
| Bugzilla 653496 | The platform plug-in shows the name for 64-bit Windows servers as Win32. | ||
| JBoss AS and AS 5 Plug-in | |||
| Bugzilla 590953 | If JBoss ON was scanning a JBoss server while the AS console page was rendering, it returned an NPE. | ||
| Bugzilla 607001 | The JBossMessaging Queue resource was blacklisted, so it wasn't discovered. | ||
| Bugzilla 642732 | A Web application context reported DOWN availability when JBoss Web is started with host name other than localhost. | ||
| Bugzilla 694660 | Properties that were unset would eventually revert back to their previous values. | ||
| Bugzilla 752399 | Attempting to create a datasource failed with the error "java.lang.IllegalArgumentException:item value." | ||
| Apache Plug-in | |||
| Bugzilla 535786 | The autodiscovery process does not properly parse the snmp.conf file for an Apache resource, so it does not discover the actual address and port used by the Apache SNMP service and enters default values of 127.0.0.1 and 1610, respectively. This means that SNMP for Apache must be configured manually after the Apache resource is added. | ||
| Bugzilla 653695 | If more than one Apache process is running on a platform and discovery fails to load or parse the configuration file of one of the Apache instances, the entire discovery process is terminated leaving all Apache instances un-discovered. | ||
| Bugzilla 665855 | Performing operations on an Apache resource failed with the exception 'java.lang.StringIndexOutOfBoundsException: String index out of range: -1.' | ||
| Bugzilla 690117 | The agent could not monitor a virtual host with an address set to 0.0.0.0[:port]. | ||
| Bugzilla 690435 | Phantom main virtual host appears in the inventory if the apache server resource does not have the URL set in the configuration properties. | ||
| Bugzilla 690430 | Pinging an HTTPS URL fails if the certificate is not trusted by the JVM. | ||
| Bugzilla 697585 | JBoss ON cannot find the httpd executable path for a default EWS Apache installation. | ||
| Bugzilla 698474 | Discovery was unable to find the correct httpd.conf file for Apache 2.2 on Windows. | ||
| Bugzilla 717787 | Even when Augeas support is disabled, the plug-in continues to use Augeas. | ||
| Bugzilla 721152 | Plug-ins initializing Augeas without explicitly de-initializing it resulted in large memory and resource leaks. | ||
| Bugzilla 733717 | The mod_snmp module to monitor Apache had memory leaks. | ||
| Bugzilla 618877 | The Apache configuration fails to load in the Configuration tab of the GUI if the <Include> directive in the Apache configuration has an unacceptable format. This returned a series of Augeas-related Java exceptions in the server logs. | ||
| Bugzilla 594453 | Manually removing a VirtualHost in the httpd.conf and re-adding caused multiple entries. | ||
| Tomcat Plug-in | |||
| Bugzilla 688800 | Tomcat servers that were installed through EWS were discovered by the agent but not visible in the UI. | ||
| Bugzilla 690957 | If an EWS Tomcat instance was installed from RPM, the shutdown operation on JBoss ON failed with a Java exception. | ||
6. Known Issues in JBoss Operations Network 3.0
6.1. Upgrade and Installation
Warning
java.rmi.server.hostname parameter to the real value, and it uses the default of 0.0.0.0. This parameter must be set to the real IP address of the server by manually editing the rhq-server.properties file.
- The agent must be installed and running as a Windows service.
- No Windows Explorer window can be open to any agent subdirectory. Windows sets a lock on directories when they are open, which blocks the upgrade process.
org.apache.catalina.connector.CoyoteAdapter service are returned when the JBoss ON 3.0 server is first installed. These errors are harmless and can be ignored. Installation will complete successfully, and both the server and the GUI will start and run properly.
6.2. Server Configuration
你好 is treated as the string 你好 in the installer, and the second string is the one that is hashed and stored in the rhq-server.properties file.
rhq-server.properties file:
- Manually generate a hashed password based on the Unicode password:
serverRoot/jon-server-3.0.0.GA/bin/generate-db-password.sh 你好 Encoded password: 68f725778bb36d3b
- Replace the database password value with the new hashed password.
rhq.server.database.password=68f725778bb36d3b
6.3. Agents
6.4. Databases
6.5. Groups
6.6. Provisioning
<tag></tag>, not the abbreviated format <tag />.
6.7. Content and Repositories
6.8. Remote API and the CLI
Caused by: java.lang.IllegalArgumentException: interface org.rhq.enterprise.server.auth.SubjectManagerRemote is not visible from class loader at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581) at org.rhq.enterprise.client.RemoteClientProxy.getProcessor(RemoteClientProxy.java:69)
6.9. UI
coregui/ element in them. Remove any old bookmarks and replace them with the new GWT-based pages in the coregui/ area.
6.10. Alerts
6.11. Drift
*.conf files, then the pattern is set to *.conf and to look within the base directory, the path must be set to a period (.), to indicate the current directory.
C:\ or D:\, is the base directory in the drift definition, the backslash ends up escaping the first character in the path. For example, C:\tmp shows as C:\mp. This makes all of the drift file paths for that definition wrong.
.) to look for patterns only in the local base directory.)
Definition base directory: C:\ Includes: myDir1 Includes: myDir2
Definition 1 base directory: C:\myDir1 Definition 2 base directory: C:\myDir2
rhq.agent.plugins.drift-detection.period-secs value higher than the highest drift definition. (It may be feasible to set the drift definition intervals lower to allow a moderate drift detection scan period.) For example, to set the interval to 15 minutes (900 seconds):
agentRoot/rhq-agent/bin/rhq-agent.sh -Drhq.agent.plugins.drift-detection.period-secs=900
6.12. Resources
6.13. LDAP
6.14. Performance
7. Document History
| Revision History | |||
|---|---|---|---|
| Revision 3.0-5 | August 21, 2012 | ||
| |||
| Revision 3.0-3 | December 7, 2011 | ||
| |||
| Revision 3.0-0 | September 7, 2011 | ||
| |||
mod_cluster version supported in JBoss EAP and the httpd service in Red Hat Enterprise Linux is 1.0.10.
