JBoss Community Archive (Read Only)

RHQ

Release Notes 4.10

RHQ 4.10

This is the RHQ 4.10 release.

Installation note

RHQ 4.10 no longer has a GUI-based installer and its installation routines have changed even since 4.7. Even if you are familiar with installing earlier versions of RHQ, be sure to see Installing the Server for updated installation and upgrade instructions. Specifically, you are now required to use the rhqctl Control Script to install (and start) the RHQ server components.

Upgrade note

If upgrading from RHQ 4.2 (4.3 and later are not affected) you must first make a manual change to your database. Have a look at the first note on the RHQ 4.4 release notes

Upgrade note

If upgrading from RHQ 4.8  (other versions not affected) you might want to delete your browser cache as cached javascript may affect the browser in unexpected ways.

Please note

RHQ 4.10 is recommended with Java7, and also supports Java6.

New Features and Changes (since RHQ 4.9 )

Improved Cassandra backend for metric storage

RHQ 4.10 uses Cassandra as backend store for metric values. This has been done to increase scalability. Numeric metric data is no longer stored in the RHQ relational database. There is no option or support to still store numeric metric data in the RHQ relational database. The use of Cassandra as a data store is intended to be an implementation detail to the greatest extent possible. This has some significant implications.

  • RHQ will manage the Cassandra storage nodes 

  • An RHQ agent will have to be run along side Cassandra.

  • RHQ will not support using an arbitrary Cassandra installation for its storage node.

This release adds more storage node changes that includes,

Please see RHQ Storage Cluster Administration for details.

RHQ 4.8 storage patch

If you are upgrading from 4.8, you MUST apply the storage patch described below before upgrading. Without the patch, the storage node in 4.9 will not work.

In RHQ 4.8, the storage node packaged native libraries that have been removed in 4.9. If your platform has support for those native libraries, then the storage node will the functionality. You need to apply this patch to your 4.8 installation before starting the upgrade process. Unzip the patch file and follow the instructions in the .sh/.bat file. You can find some more information about the patch in this blog post.

REST API

GUI

  • We are more resilient against session expiration and all kinds of edge cases here. For instance if user click on log out from a different browser tab.

  • Admin view for storage nodes now restarts the storage node if necessary (it is necessary for some configuration changes to take into consideration)

  • A buttons serving as a shortcut for creating new alert definitions or scheduling the new operation were added to the corresponding (Alert and Operation) history views.

  • Admin UI for managing agents now displays the agent's installed plugins (on the agent detail page)

  • When server is starting, on the root context (${host}:7080/) there is a simple application indicating the state of the server and it redirect to coregui app once it is ready

Fine Grained Bundle Permissions

You can now define much more fine-grained security controls around the bundle provisioning feature of RHQ. In past versions, it was an all-or-nothing proposition - a user could either do nothing with bundles, or could do everything with bundles. Now there are several permissions you can assign to users to allow for them to, say, create bundles but not deploy bundles. A new concept of "bundle groups" has also been introduced to help support this new fine-grained security model around the bundle subsystem.

For more information, see the Security Model for Bundle Provisioning user documentation page.

Plugins

Plugins Descriptor

The <c:option-source> node has a new expressionScope attribute which helps to refine expression searches when linking configuration properties to resources or configurations.

See Option source wiki notes for more details

Cassandra Plugin

A new Cassandra plugin compatible with Cassandra 1.2.x is part of this release. The plugin supports monitoring and configuration for features exposed via Cassandra's JMX interface. Additional support for some important internal configuration settings (Eg. gc_grace_seconds) is also available. The plugin has enhanced support for taking and restoring snapshots.

Databases plugins

The parent database plugin now supports connection pooling. Child plugins (MySQL, Oracle, Postgres) have been updated to use the new API.

AS7 / EAP6 plugin

The plugin now supports discovery and management of AS7 or EAP6 servers configured to use SSL/TLS for the HTTP management interface (standalone or domain mode). Client certificate authentication is supported as well. The plugin now also collects method invocation statistics on EJB beans.

Script Server Plugin

Quoted arguments to the script execution are now supported.

ARM support for Linux (Beta)

The Sigar library has been update include pre-built binaries for ARM for Linux. Sigar is a portable library used by plugins to gather system information. With the addition of ARM pre-built binaries, plugins that require native system information will now work on ARM based Linux installations.

CLI

  • The CLI process now stops with an exit code other than zero if an error occurred (script file does not exist, login error, exception thrown)

  • The new streaming API allows to create content based resources or bundles from files of any size without increasing the CLI process memory requirements

  • CLI no longer changes the current working directory

  • The rhqctl status command now uses colors

Agent

The agent memory footprint has been reduced. If you update the agent in place (which you should not), make sure to
remove data/inventory.dat and data/tmp before starting the upgraded agent.

Can you can help us ?

We would like to learn how those changes work for you.
Could you please run jmap -heap <pid> where pid is the process id of the agent before and after updating the agent (after update please wait for ~30mins for the agent to get back into a steady state) and report the results back?

Known Issues

Deprecations

Newly deprecated since 4.9:

  • bin/internal/rhq-storage-installer.sh switch -dbpassword was deprecated. Use -encodepassword instead. NOTE: use this only if you want to obtain obfuscated version of your password for automatization. Because normally user is asked for the password in terminal.

Deprecated since 4.8:

  • REST-API Endpoints introduced in 4.5.1 to create platforms and resources have been deprecated - replacements are provided.
    The deprecated endpoints will go away in RHQ 4.11

Bundles:

  • Constructor org.rhq.bundle.ant.AntLauncher#AntLauncher() has been deprecated. Callers should switch to using a new constructor org.rhq.bundle.ant.AntLauncher#AntLauncher(boolean requireExplicitCompliance).

  • Method org.rhq.bundle.ant.type.DeploymentUnitType#getManageRootDir() has been deprecated. Callers should switch to using a new method org.rhq.bundle.ant.type.DeploymentUnitType#getCompliance() method.

  • Method org.rhq.bundle.ant.type.DeploymentUnitType#setManageRootDir(String booleanString) has been deprecated. Callers should switch to using a new method org.rhq.bundle.ant.type.DeploymentUnitType#setCompliance(org.rhq.core.util.updater.DestinationComplianceMode) method.

  • Constructor org.rhq.core.util.updater.DeploymentData#DeploymentData(DeploymentProperties deploymentProps, Set zipFiles, Map rawFiles, File sourceDir, File destinationDir, Map zipEntriesToRealizeRegex, Set rawFilesToRealize, TemplateEngine templateEngine, Pattern ignoreRegex, boolean manageRootDir, Map zipsExploded) has been deprecated. Callers should switch to using a new constructor org.rhq.core.util.updater.DeploymentData#DeploymentData(DeploymentProperties deploymentProps, Set zipFiles, Map rawFiles, File sourceDir, File destinationDir, Map zipEntriesToRealizeRegex, Set rawFilesToRealize, TemplateEngine templateEngine, Pattern ignoreRegex, Map zipsExploded) this is because the manageRootDir parameter is deprecated and this constructor should not be used. The need for that parameter was superseded by the org.rhq.core.util.updater.DeploymentProperties#getDestinationCompliance().

  • Method org.rhq.core.util.updater.DeploymentData#isManageRootDir() has been deprecated. Callers should switch to using a new method org.rhq.core.util.updater.DeploymentProperties#getDestinationCompliance() method.

  • Constructor org.rhq.core.util.updater.DeploymentProperties#DeploymentProperties(int deploymentId, String bundleName, String bundleVersion, String description) has been deprecated. Callers should switch to using a new constructor org.rhq.core.util.updater.DeploymentProperties#DeploymentProperties(int, String, String, String, DestinationComplianceMode).

  • Method org.rhq.core.util.updater.DeploymentProperties#getManageRootDir() has been deprecated. Callers should switch to using a new method org.rhq.core.util.updater.DeploymentProperties#getDestinationCompliance() method.

  • Method org.rhq.core.util.updater.DeploymentProperties#setManageRootDir(boolean willManageRootDir) has been deprecated. Callers should switch to using a new method org.rhq.core.util.updater.DeploymentProperties#setDestinationCompliance(DestinationComplianceMode mode) method.

Other:

  • Method org.rhq.core.util.exec.ProcessExecutor#redirectStreams() has been deprecated. Callers should switch to using a new method org.rhq.core.util.exec.ProcessExecutor#redirectAllStreams() method.

  • Method org.rhq.enterprise.server.resource.group.LdapGroupManagerBean#getProperties(Properties systemConfig) has been deprecated.

  • Method org.rhq.core.domain.cloud.StorageNodeLoadComposite#getDiskSpacePercentageUsed() has been deprecated. Callers should switch to using a new method org.rhq.core.domain.cloud.StorageNodeLoadComposite#getPartitionDiskUsedPercentage() method.

  • Method org.rhq.core.domain.cloud.StorageNodeLoadComposite#setDiskSpacePercentageUsed(MeasurementAggregateWithUnits diskUsedPercentage) has been deprecated. Callers should switch to using a new method org.rhq.core.domain.cloud.StorageNodeLoadComposite#setPartitionDiskUsedPercentage() method.

API changes

Discovery Callback API for agent plugins

Agent plugin developers now have a way to "intercept" details from newly discovered resources that are returned from discovery components. This allows a plugin to intercept details coming from its own discovery components or coming from discovery components from dependent plugins and change them as they see fit before the details are returned to the server for processing.

To implement this new feature in your plugin, you must add a new <discovery-callbacks> section to your plugin descriptor and implement the interface org.rhq.core.pluginapi.inventory.ResourceDiscoveryCallback.

See the Discovery Callback design page for more information.

Translations

The GWT part of the UI has partially been translated into German, Portuguese, Japanese, Chinese, Czech, Russian and Korean. The language should be automatically selected depending on your browser settings. You can explicitly access other translations by appending a locale specifier in the URL. For example to select the German translation you would append ?locale=de to the base URL, e.g. http://localhost:7080/coregui/?locale=de.

Supported locales are:

  • zh for Chinese

  • cs for Czech

  • de for German

  • ja for Japanese

  • pt for Portuguese

  • ru for Russian

  • ko for Korean

Please ping us if you want to help translating the UI to your language. Translations are done via the translations project on GitHub, which also has some instructions on how to start.

Bug reporting

Please report all bugs you find in Bugzilla. If you find a bug that has been recorded in the above list, please leave a comment on them especially if this needs special steps to reproduce.

List of resolved Bugzilla entries

Please consult Bugzilla with a target release of RHQ 4.10.0 for a list of resolved issues

Download

You can download the release here
A video of the install procedure can be found here

Commit log (since RHQ_4_9_0 )

  • Elias Ross <elias_ross@apple.com> (13):

    • BZ 959028 - display root cause of timeouts

    • rhq-agent-wrapper.sh - kill the process if still running

    • additional plugin fixes for interrupted exception

    • BZ 1015734 - clean up shutdown of agent

    • BZ 1030063 - Clean up plugin update to work synchronously

    • BZ 1053922 - Agent does not set HTTP connect or read timeout in JBoss remoting

    • BZ 991149 - Refactor Plugin Container Services initialization

    • BZ 738799 - deleting a group alertdef containing >1000 member alertdefs fails with "SQLException: ORA-01795: maximum number of expressions in a list is 1000" error

    • BZ 997609 - Drift cannot be updated with > 1000 resources; ORA-01795

    • BZ 1010485 ] Apache plugin's WWWUtil should not follow HTTP redirects

    • BZ 987628 - Agent can block; Mars Rover behavior - retry forever

  • Heiko W. Rupp <hwr@redhat.com> (86):

    • Followup to 68bca80 : mask all entries that have "passw" in the key.

    • BZ 1010319 - Check if this is really a propertyMap or a Config and display accordingly.

    • BZ 1002233 "on the null" -> "on the platform" if the propertyName is null.

    • Fix a small translation issue.

    • BZ 996177 Don't bail out if group is removed and added in the same operation

    • BZ 1015446 - rename product type accordingly

    • BZ 1012449 - prevent confusing stack traces showing up in logs/console.

    • Add an OpenShift-support

    • BZ 1020889 - rest api is no longer a preview.

    • add the "compliance" attribute.

    • BZ 1012996

    • BZ 1012266 Use a random directory to work in.

    • BZ 1024348 - Allow to find values that happen at startTime=endTime

    • BZ 1024521 - Provide current availability with the resource.

    • Remove outdated comment.

    • BZ 1025388 - wrap the result so it gets serialized to the correct media type.

    • BZ 913672 - Prevent a NPE if no previous stats are available.

    • BZ 1020889 - also remove the note from the index.ftl file

    • Add a command to manually add a server.

    • Make KeyTypePlugin a static inner class to save some heap space.

    • BZ 1035816 ] Fix handling of "disable after fire" definitions.

    • Updated translations

    • BZ 997670 - Do not go linearly through the list of resources to find by id, but use a map.

    • Intern the strings in the KeyType, as they tend to contain the same things over and over again.

    • Add some more aliases for Jean-Frederic

    • BZ 1039107 - Allow to limit alert definitions display by resource id.

    • Improve description

    • BZ 961000 - Allow to get and update metric definitions.

    • Bump the version of remoting

    • Further updated translations

    • Check if the parent can be cast to JMXComponent before doing so.

    • No need to print the stack trace here - many systems do not have libvirt installed.

    • BZ 1030452 - Cleanout plugin descriptors after parsing.

    • BZ 1033913 - compact MeasurementScheduleRequests as we have hundreds of thousands of them

    • BZ 1038689 - Don't allocate raw config by default to save space.

    • Intern the property name as this tends to be the same over and over again.

    • Increase string table size for better performance of intern()ing

    • BZ 1030399 - slim down resources and resource types for agent use.

    • BZ 1031967 - Detach the resource configs into files and load for the config check when necessary.

    • Slim down resource containers a bit.

    • Pull out determination of log.trace

    • When cloning, directly allocate a collection of the right size.

    • Synchronize on final fields

    • Do some string interning.

    • Tune down logging. Obtain resource containers by numeric resource id instead of uuid String.

    • Various changes to fix (most) test suite issues.

    • Fix the tests.

    • Revert "BZ 1038689 - Don't allocate raw config by default to save space."

    • Disable checking for lifecycle listener

    • Don't fail if rawConfigurations (in agent, after cleanout) are null.

    • Slim down resource context size from avg 723 bytes to 203 bytes per instance.

    • Replace empty LinkedHashSet by Collections.emptySet for schedules.

    • Internally store timeout in seconds. Saves 8 bytes / instance (or on avg 20b / resource)

    • Keys are very often the same, so we can intern them to save space.

    • Display names are very often the same, so we can intern them to save space.

    • Increase the interning map size on the server as well.

    • Re-package schedules in a Trove HashSet; saves ~200bytes per resource (depending on number of schedules)

    • Keep a slim version of Availability - saves 32bytes per resource.

    • Prevent a possible NPE in tests

    • Use a long for scheduleTime and inline the SlimAvailability into fields. Saves another 32bytes per resource

    • Do some lazy allocations of collections that are seldom used.

    • Compact properties and collections of properties. Detach resource config on receive

    • Intern keys.

    • BZ 1030399 - slim down resources and resource types for agent use.

    • Various changes to fix (most) test suite issues.

    • Fix some fallout from the rebase work.

    • Wait between individual top level servers to give other stuff room for breathing.

    • We need to check for null, as via (de)serialization this may end up as null.

    • BZ 1039188 - fix a typo.

    • Allow to delay discovery and getValues() to better mimic reality.

    • Add some explanation.

    • Add Libor to the list of developers and mark Charles as retired.

    • Not every Linux distro has a "rpm" command. Prevent a NPE from unboxing in this case.

    • If name or version are undefined, try to find the new /etc/os-release file and have a look there.

    • Allow to get the directory usage ("du") of a directory.

    • Use a random directory for the temporary unpacking.

    • Prevent a possible NPE.

    • Add a way to obtain enabled server plugins by type (e.g. only alert sender plugins)

    • Add a intentional changes file to record the latest method addition.

    • BZ 1057300 - Add supporting classes that allow the usage of Oracle 12c database.

    • Add my github email to the list.

    • Update the Readme file and make use of AsciiDoc markup.

    • Add two more entries.

    • Add two more entries.

    • Remove that line again, as it is not needed.

  • Jay Shaughnessy <jshaughn@redhat.com> (183):

    • fix a comment in the generated rhq-server.properties file

    • Add the root cause to this exception.

    • BZ 1006577 - cannot assign bundles to bundle group] Apply fine-grained permissions to bundle assignment for a bundle group. It was only driving off the global.manage_bundle_groups permission.

    • Add a small comment indicating that this may actually be used although it is not packaged in RHQ.

    • BZ 806908 - i18n avail type names - Add I18N of availability types in a few GUI places - Some messsage cleanup to remove several redundancies

    • BZ 1000175 - Metrics UI tab does not refresh properly between different resources Fix refresh issue brought on by the fact that when the metric view refreshed istelf it updated the user prefs tracking the "sliding" time range, which in turn triggered the standard CoreGUI.refresh that refreshed the entire page. These stepped on each other. - Enhance UserPreferences API to let the caller suppress refresh on preference change. - Use the new UserPreferences hooks in ButtonBarDateTimeEditor and MeasurementUserPreferences to suppress refresh as needed. - Restructure MetricsResourceView to minimize impact when asked to refreshData. Now also maintains availDetail collapse state on auto refresh. - Add isRefreshing support to AbstractD3GraphListView (although this is not likely to be needed, it's a little more protection)

    • BZ 1006419 - Improve handling of obfuscated passwords for installation Changes such that the user doe snot have to worry about the management user password for the RHQ Server resource. By using a generated password the user no longer has to set the property value manually in rhq-server.properties.

    • BZ 1006419 - Improve handling of obfuscated passwords for installation Use generated username/password for storage nodes.

    • forgot to register the new storage system config props, adding...

    • BZ 1007530 - Installer prints hundreds of database errors when performing install leading user to believe install is unstable/failed An attempt at a sort of hack-fix. I don't think there is a clean way to do this, really.

    • Fix rhq windows issue with new "internal" bin dir.

    • Always try and stop or remove the server with rhqctl, regardless of whether it appears to be installed. If install borks it may leave behind an installed service or a running but broken server.

    • Simplify 'rhqctl install' by removing --storage-config and --server-config

    • fix an issue using -Ditest.use-external-storage-node with server itests.

    • fix an issue causing a server itest failure.

    • A change to solve an ora test failure for SynchronizationManagerBeanTest#testExport, due to oracle treating "" as null for config settings initialized to "".

    • add another source path

    • Normalize storage props to be prefixed with "rhq.storage." and use the props consistently, removing different names for the same logical value.

    • Update newly committed code with the storage prop name changes.

    • Don't consider a blank string a valid storage username or password

    • BZ 1010841 - Installation of RHQ server fails - de-obfuscating db password failed Fix in a way that won't suffer from ambiguity or db vendor incompatibilities.

    • improve comments in generated rhq-server.properties

    • Fix an issue where the storage client init was using system properties to get the storage user and password. This had two issues: 1) at install the system properties were seeded in AS via -p rhq-server.properties, but this was prior to the generation of the storage cluster creds. 2) for HA installs the props file was actually not even correct, the generated values were superseded by the existing db creds.

    • BZ 1002778 - Installer to prompt user for rhqadmin password, rather than using hard-coded default Perform more up front validation of rhq-server.properties and rhq-storage.properties when executing 'rhqctl install' in order to prevent doomed installation attempts.

    • fix typo

    • limit dependencies by using core util only

    • Since rhq-installer.sh|bat moved to bin/internal we can no longer instruct users to use it for the --encodepassword option. Add new bin/rhq-encode-password.sh|bat scripts to fix this, providing a more obvious script for doing the encoding and protecting bin/internal.

    • BZ 1006594 - use new tree icons for auto-groups and subcategories work in the new UX provided icons for a clearer tree.

    • BZ 1006352 - rhqctl install should only install the server and not start it unless explicitly instructed New behavior in place. The rhqctl install and upgrade commands no longer leave the installed or upgraded services running, by default. In other words, they perform only an install or upgrade.

    • fix some generated doco in rhq-server.properties

    • fix issue with rhqctl install --start option

    • Zip path shortening: Portal War changes - all class name shortening, mostly private embedded classes

    • Zip path shortening - coregui non-java files Files affected by changing shortening package from org.rhq.enterprise.gui.coregui... to org.rhq.coregui...

    • zipcheck util now allows for max length on command line

    • Zip path shortening - server jar shortened an embedded class name

    • Path shortening - core gui, part 1 update java files with new packages but don't yet update file structure. trying to maintain history, if possible...

    • Path shortening - coregui, part 2 git mv the classes to the new package structure

    • Path shortening - coregui, part 3 git mv the resources to the new package structure

    • Zip Path shortening - coregui, part 4

    • Stop animal sniffer from processing the client-side gwt classes, they are now thinned from the war (for path shortening and distro size reasons) and can't be resolved during the check.

    • Add back the war thinning now that animal sniffer ignores the client classes.

    • BZ 1015589 - asking to deploy a bundle as rhqadmin results in weird "you can't assign to groups" error Remove the unnecessary code-path allowing the bundle to be selected in the wizard. It was using the wrong selector widget and we don't currently have a widget that would make it work. It's actually easier and safer to select the bundle from the bundles list view, or the bundle details view, where the permission check is already performed.

    • BZ 1007530 - Installer prints hundreds of database errors Avoid another scenario with useless errors

    • Fix: Upgrade of server without an agent failed Upgrading to rhq410/jon32 would fail, and revert, if there were no agent to upgrade. For a server only installation the user would not specify --from-agent-dir and also there was no rhq-agent dir at the sibling position to the server install dir. This would cause the failure with the upgrade complaining there was no agent to upgrade.

    • Fix merge issue

    • BZ 1017334 - unable to install storage service on windows When installed without using the --start option the windows service would not be installed. As a workaround, use the --start option with the rhqctl install command.

    • BZ 1006347 - Deprecate rhqserver scripts - updated scripts with better messaging - updated .sh scripts with better handling of stderr

    • BZ 960074 - RHQ Control - rhqctl.bat stop returns "RHQ Storage node has stopped" message – removed redundant message

    • Stop animal sniffer from processing the client-side gwt classes, they are now thinned from the war (for path shortening and distro size reasons) and can't be resolved during the check.

    • Add back the war thinning now that animal sniffer ignores the client classes.

    • Fix: Upgrade of server without an agent failed Upgrading to rhq410/jon32 would fail, and revert, if there were no agent to upgrade. For a server only installation the user would not specify --from-agent-dir and also there was no rhq-agent dir at the sibling position to the server install dir. This would cause the failure with the upgrade complaining there was no agent to upgrade.

    • Fix merge issue

    • BZ 1016609 - storage and agent service is not taking java exec from 'RHQ_SERVER_JAVA_HOME' Updates to JVM property handling - Part 1, .sh scripts

    • Don't let the module depend on finding Java on the PATH

    • Merge branch 'master' of ssh://git.fedorahosted.org/git/rhq/rhq

    • BZ 1016609 - storage and agent service is not taking java exec from 'RHQ_SERVER_JAVA_HOME' Updates to JVM property handling - Part 2, .bat scripts

    • BZ 1012289 - Upgraded rhq agent is started before the old agent is stopped when upgrading from JON3.1.2.GA to JON3.2.ER1

    • BZ 1017988 - rhqctl command help does not work

    • BZ 814579 - pretty.print failed to print output in non-interactive mode

    • BZ 1019809 - Unable to install rhq server with oracle db Handle the unused oracle database properties. Note that the properties still require values, but the preset "unused" values are now OK. Updated the comments in rhq-server.properties to hopefully be more clear for Oracle.

    • fix .classpath

    • https://bugzilla.redhat.com/show_bug.cgi?id=1019809 Second commit for this bug. Handle the fact that we were clearing the three relevant properties during server install on oracle, which then failed a late-stage validation.

    • updates to possibly avoid some test interation issues.

    • BZ 880359 - JavaDoc used for Remote API is inconsistent with API Using Eclipse's validation cleaned up remote api and domain javadoc. The jdoc could still be a lot better in places, but at least it's no longer invalid.

    • eclipse settings changes

    • BZ 1021675 - drift's new and detect all button should change Fixed

    • Test code work for OperationManagerBeanTest - This change mainy affects test code involving operation execution but is actually a tweak to overlord session handling in general. Ensure that when operations execute as overlord they use the shared overlord session. Furthermore, don't let the shared overlord session be invalidated by a call to logout, only by session expiration.

    • Test code work for OperationManagerBeanTest - Add some null protection - Shorten initial sleep time when waiting for a group resource operation history - handle case where operation history is deleted before it is detected by the group operation invoker.

    • Test code work for OperationManagerBeanTest When unscheduling an operation protect against the operation having already completed.

    • Work to remove intermittent test failures in DiscoveryBossBeanTest - add some more debug if in fact these failures happen again - remove the root cause of the issue: MetadataUpdateWithIgnoredTypesTest creates ignored types that exist until the "AfterClass" logic is executed. In the failure case the ignored types can exist for some time and with unlucky test execution DiscoveryBossBeanTest fails because it executes DBB.mergeInventoryReport, which queries for ignored types...

    • Use the root pom maven plugin version

    • BZ 1022620 - Windows 2008 - Upgrade to JON3.2.ER3 fails when using oracle jdk7-32b The 64bit Java distribution assumes that it will run a '-server' JVM, which is required by RHQ (in part because the underlying AS7 also requires it but also because it should run as a server). The 32bit distribution still makes a distinction between a client JVM (optimized to be lightweight) and a server JVM (optimized to perform). Only the 32bit JDK supplies the server JVM, so for 32 Java bit we require the JDK.

    • BZ 1022620 - Windows 2008 - Upgrade to JON3.2.ER3 fails when using oracle jdk7-32b Second commit for this. Went one step further. Now for the server and agent we create/set java.io.tmpdir to InstallDir/temp, if the original java.io.tmpdir is invalid. We'll generate a warning about the original setting. We'll only exit if our attempt to create/set a local temp dir fails. This helps us succeed out of box with the known issues using the 32-bit JVm on Windows, as well as getting around the issue in general.

    • BZ 1022989 - Unable to start JON/RHQ agent on windows due error in rhq_agent.bat Fix agent bat script and similar issue in cli bat script

    • fix eclipse build issues

    • BZ 1021929 ] - Import context menu does not show plugin resource types when accessing by URL Fix corner case where our implicit platform child types were not being applied to platform types on initial entry of the type into the type respository.

    • BZ 1011592 ] Search bar placed over the main menu on navigating to Connection Settings tab of a compatible group Fix an issue with the destroy() impl of EnhancedSearchBar. But the main fix is to SubTabLayout.destroyViews(). When destroying the subtab views for a tab, make sure to set the currently displayed subtab to null. Previously is looked like we were still diasplaying a canvas, and subsequent calls, such as to hide(), would force the canvas to be created, only to be able to hide it.

    • 1025756 Server log warnings from CriteriaQueryRunner, Could not initialize Handle the case where we have a required, lazy-loaded entity that may be set to 0. We shouldn't do that, but we do.

    • 1019519 Recovery alert definition from alert definition template is lost on resources if alert to recover template is modified Ensure that the to-be-recovered alert def is applied to the resource before the recovery alert def.

    • Respect the legacy settings of RHQ_SERVER_JAVA_EXE_FILE_PATH and RHQ_SERVER_JAVA_HOME.

    • 1022642 Discovery queue can't display large inventory The issue is that we attempt to pull all the ADQ resources at one time. Which overwhelms the view if there are many discovered resources. For example, when many new agents monitoring many servers all start up and report discovery results at basically the same time.

    • Eclipse: add pattern generator plugin to source tree.

    • 1022642 Discovery queue can't display large inventory Related to the work on this BZ. Given that we can now support a large inventory in this view (hopefully) we may have a downstream issue trying to import the inventory in one large import request.

    • 1022620 Windows 2008 - Upgrade to JON3.2.ER3 fails when using oracle jdk7-32b The original work tried to set override java.io.tmpdir at runtime in both the server (StartupBean) and the agent (AgentMain). This turns out to be a bad idea as the override is not guaranteed to be used. From the docs: " A different value may be given to this system property when the Java virtual machine is invoked, but programmatic changes to this property are not guaranteed to have any effect upon the the temporary directory used..."

    • 1019941 Only one availability duration alert can be triggered per resource due to non-unique scheduler trigger name/group Fix this assumption by making the trigger name more unique: add a timestamp.

    • 1028473 Availability duration alerts ignore availability changes during the specified interval Fixed such that avail duration conditions will not be satisfied unless the avail stays constant throughout the specified time interval.

    • 1028487 Recovery alert cache refresh needs to happen prior to alert notification processing Restructure SLSB methods (locals only, no remote changes) to process alert notifications later in the workflow, after the alert is committed and after we have a chance to update the condition caches (for more reliable recovery alerting). Needed to be able to pass back the new alert through the call chain.

    • Test page for Hibernate queries was broken, as were the admin links on all the Test pages. Fixed.

    • 846451 Users with just Resource Group access cannot access alerts on their Groups A tangential but important fix to seeing the group alert def details when not logged in as an admin user.

    • 1029553 Recovery alerts involving availability may not fire in HA environment Convert avail duration condition checking from quartz job to EJB Timer to ensure that the the job executes on the HA server initiating the job. This server presumably still serves the relevant agent and therefore is the server which should have its global cache updated immediately upon firing of the alert, in order to quickly get recovery alert conditions into the global cache.

    • 874726 Provide timeline view across multiple resources Added a Timeline portlet. This is not a very robust solution for the bug, at least given the current impl of the TimelineView. I'm leaving it a NEW. But it's something.

    • 951927 There are useless controls in "Compare Metrics" window This reimplements the portal-war view in smartgwt. The legacy iframe view is still accessible via a deprecated button that we can remove once the new view is validated.

    • Initially was fixing some confusion in "live" vs "last" metric value labeling in the message properties. Then ended up doing a bunch of prop cleanup in an effort to reduce reducndant translation effort. Probably futile work. Although I'll likely do more. The props files are a mess. The common properties are underused. Some properties are dead, many are redundant and could be added to the common props, etc...

    • 951927 There are useless controls in "Compare Metrics" window Second attempt. An impl that uses a grouping field to provide a more concise, single grid solution. People can decide which they like best and I'll remove the loser later.

    • 951927 There are useless controls in "Compare Metrics" window subsequent commit: - return to a single "Compare Metrics" button that now invokes the new view, relegating the old portal war view, and the 1st proposed new view to the trash heap. - remove the footer on the new view because total rows does not make sense for the grouped view (and there is no way currently to tell Table to just keep the footer and hide "Total Rows".

    • Change getAvailability() such that if EMS throws an exception we don't pass it back to the avail checker. This loads the logs when JMX components are down. Instead, log the problem at debug and return DOWN.

    • 1023019 Windows 2008 - Upgrade to JON3.2.ER3 freezes on 'Updating RHQ Agent Service' rhqctl-based installs will now exit if the password is not set when the RUN_AS option is specified. The RHQ_XXX_PASSWORD_PROMPT env vars are no longer relevant or documented for rhqctl-based installs. Note that the agent is typically installed standalone, outside of rhqctl, and in that case the RHQ_AGENT_PASSWORD_PROMPT env var is still relevant.

    • fix a jdoc mistake

    • 1035722 JBWEB000235: Allocate exception for servlet This is not a simple issue to resolve because it is not RHQ that logs the ERROR level exception. It is logged by JBoss. Our code is required to throw a ServletException indicating that we can't find the servlet server invoker (because it's not yet initialized).

    • 1037616 Pull calls to find current availability out of the processing loop Optimization work based on BZ-supplied patch. For a batch of Availabilities being processed, pull latest availabilities for the resources in one DB round trip as opposed to once for each resource. Still beiong careful to repair issues when no, or multiple, latest entries are found.

    • 1038256 Windows 2008 - Invalid agent service after upgrade (on remote agent machine) This problem resulted from the work in Bug 1016609, when we introduced the use of RHQ_JAVA_EXE_FILE_PATH and deprecated the use of RHQ_AGENT_JAVA_EXE_FILE_PATH (among several simplifications of our env properties). The issue with that change was the fact that existing windows agent services (remote agents, not handled by rhqctl) included set.RHQ_AGENT_JAVA_EXE_FILE_PATH in the service "path to executable", for use by the service wrapper. But the new rhq-agent-wrapper.conf expected RHQ_JAVA_EXE_FILE_PATH to be set when formulating its command string.

    • 1037616 Pull calls to find current availability out of the processing loop Part 2 - batch the pull of ResourceAvailability records that need to be updated due to changed availability. Pull only the necessary records.

    • 1037616 Pull calls to find current availability out of the processing loop A fix in the new impl to handle multiple updates for the same resource in the same report. In general an avail report should only have one update for one resource, but the potential for building up reports looms in the future, and we do have this scenario in test code.

    • 998945 Too many statement timeout exceptions in server log 999165 Frequent statement timeouts while updating availabilities I did a visual inspection of code looking for things that may contribute to the slow updates and/or timeouts reported in these BZs. In general the updates for availReports (infrequent but can spike in certain scenarios, 1 per avail report) and availPing (frequent, 1 per minute per agent) should be very fast and not in themselves be an issue. Slowness in these queries is likely caused by the Agent table being locked by some other longer running transaction. Everything looked pretty clean with one exception. When backfilling an agent due to an agent shutdown or suspect job detection, it looked like we may have locked th agent table for the duration of the backfilling, which can be a fairly large operation for a big agent inventory. I'm not sure this is the problem, but this commit should allevaite the Agent table locking while the backfilling is performed.

    • 1023451 perf Large retained heap during inventory report merge (causing OOMs) Note - this is related work, not necessarily a solution to this problem. One factor in the memory consumption of mergeInventoryReport is that we return the entire resource hierarchy for the platform. These hierarchy is comprised of lightweight (ResourceSyncInfo) objects, but still, for a large inventory this can be large. Moreover, the agent must receive the same structure into memory.

    • 1023451 perf Large retained heap during inventory report merge (causing OOMs) Note - this is related work, not necessarily a solution to this problem. This commit builds on the "chunking" work introduced earlier. This work replaces the tree structure, previously used to pass sync info between agent and server, with flat collections. This allows us to replace the costly Hibernate-based tree building approach with more comprehensive queries that reduce the number of DB round trips dramatically. Notes: - This commit fixed an issue with the previous work regarding the handling of top level services. - The ResourceSyncInfo class is now even lighter weight, parent-child info is removed. - PlatformSyncInfo is now a POJO. - The handling of unknown resources (agent side) changed significantly because it had depended on the previous tree structure. - mocks again had to be updated

    • Add a little more logging to get a better start/end of a sync.

    • Some tweaks to test code

    • fix merge issue, this class somehow disappeared

    • 1023451 perf Large retained heap during inventory report merge (causing OOMs) Note - this is related work, not necessarily a solution to this problem. This commit builds on the "chunking" work introduced earlier. This work replaces the tree structure, previously used to pass sync info between agent and server, with flat collections. This allows us to replace the costly Hibernate-based tree building approach with more comprehensive queries that reduce the number of DB round trips dramatically. Notes: - This commit fixed an issue with the previous work regarding the handling of top level services. - The ResourceSyncInfo class is now even lighter weight, parent-child info is removed. - PlatformSyncInfo is now a POJO. - The handling of unknown resources (agent side) changed significantly because it had depended on the previous tree structure. - mocks again had to be updated

    • Add a little more logging to get a better start/end of a sync.

    • Some tweaks to test code

    • fix merge issue, this class somehow disappeared

    • Add intentional API change decls for sync work

    • Test Interaction Work - This hopefully clears up intermittent test failures resulting from another test class having an ignored type in the DB while this test also executes tests.

    • 1020064 parentName alert operation tokens resolving to parentId value instead of parentName Fixed what looks like cut+paste issue.

    • Solve some issues: - remove Configuration.rawConfigurations of the delete_orphan cascade option. It caused issues in the new scheme and is irrelevant since rawConfig is not used. We should deprecate all things rawConfig and probably remove the hibernate annotations from this field completely. - related: add some better proxy scrubbing in a gwt service touch-point - fix a problem with runaway sync that resulted from an invalid container lookup. - related: defensively revert a separate container lookup to the way it was (in getAvailabilityIfKnown). I don't see a reason for the change.

    • Fixes to intentional API decls

    • After quite some time it seems proven that these files are not used to support any server jar i-tests. Removing...

    • 1038293 About box empty on second viewing Fixed.

    • 1050686 RFE: Add to AlertCriteria way to query for unacknowledged alerts New filter: addFilterUnacknowledgedOnly(Boolean filterUnacknowledgedOnly)

    • 1050686 RFE: Add to AlertCriteria way to query for unacknowledged alerts Add new filter to REST API as well

    • 1050686 RFE: Add to AlertCriteria way to query for unacknowledged alerts bump up Serialization ID given addition of new filter

    • 1033858 ResourceManagerBean.enableResources blocks indefinitely while holding database transaction open I don't think this code held a DB transaction given the NEVER transaction attribute on the SLSB method. But, it could still hang a thread while trying to contact agents in-band to request full avail checks. Move the agent requests out of band to assure a faster return and better scalability.

    • 1053888 Deadlock in update RHQ_RESOURCE_AVAIL I didn't try to reproduce this but after scouring the code found one place we looked vulnerable. In general we protect against locking (and provide ordering) by serializing avail report processing for each agent. We were not applying this locking when ignoring resources; subsequently setting the resources UNKNOWN, cross-agent. This may explain the behavior although it's also possible that non-row DB-level locking could have caused this, perhaps. Anyway, the applied solution is to just not update the avails for the ignored resources. This is likely fine but if it confuses anyone (at uningnore time) I've updated DiscoveryBossBean.setResourceAvailabilities() ina fashion that would make it safe to be called.

    • Merge branch 'heiko/agentFootprint'

    • AgentFootprint Merge Work: - handle null resourceConfig for agent-side resources Agent-side resources no get compacted to reduce memory foortprint. Resource configuration is serialized to disk to keep it out of memory. When this is done it is set null in the resource entity. Make sure we hydrate it when necessary by calling new InventoryManager.etResourceConfiguration(Resource)

    • Be a little more robust looking for invalid resource ids. I have seen a -1 passed here as well.

    • 1057255 Group avail chart incorrect Ensure we use the group version of the getAvailability code.

    • Merge branch 'master' of ssh://git.fedorahosted.org/git/rhq/rhq

    • Don't make agent shutdown wait for backfilling to complete. Let the server service return quickly by making the agent shutdown slsb method execute async.

    • Apparently we do allow negative resource ids (minimally, we seem to use them in tests), so revert the change made in Commit 3b74f9d9738894edaaea82fb74f72f7ed22faf63

    • Reinstate 3 public methods that caused API breakage. Mark 2 for deprecation.

    • This mysql test keeps failing in our CI env because we have no mysql DB available in that env. This likely weakens the test but we need it to pass if we can't communicate with mysql.

    • Tweak the test's timing to hopefully avoid intermittent jenkins failures.

    • Fix Test

    • Fix AS7 i-test failures - add required mock expectation - make sure tests wait for discovery to complete - make public non-test methods protected so they are not interpreted as tests. (maybe unnecessary but harmless)

    • More as7 i-test work. Avoid ConcurrentModException in mock code.

    • move trove4j dep version to root pom

    • AS7 i-test work, try to get these mf's working... I'm sure this won't solve everything but hopefully gets us closer - I want to see what jenkins does now... - allow superclass mock decls to get defined each time discovery resets the mocks. (get rid of fake tests annotated with @ServerServicesSetup) - generate consistent resource ids in the arquillian fake inventory to avoid mismatch betweeen the PC and the fake server inv. - do a better job of mvn clean for the as7 itest env - report 0 byte content uploads to sys out - remove some (seemingly?) unnecessary class-level annotations - remove some (seemingly?) unnecessary test sleeps - beef up the deployment upload method

    • oops, I had narrowed the test suite, re-enable all the test classes

    • Potential fix for intermittent server i-test failure: when waiting for inventory depth make sure to wait on the inventory manager's view, not the server-side/fake inv view.

    • BZ 1052390 - Clean up remoting wrapper to avoid race conditions if possible

    • Fix iPC -tests, allow negative resource ids; now possible for tests based on FakeServerInventpory.

    • AS7 i-test work, continued... - break up the test runs into a few different executions, deployment tests seem to benefit from running independently - add new waitForAsyncDiscoveryToStabilize() mechanism which is based on tree size stabilizing as opposed to tree depth being reached. For large discoveries (like an AS-7) tree depth is reached well before the whole tree is discovered. Started using this as needed. - fix various tests in various ways, see diffs

    • Fix: was logging as the wrong class.

    • 1059932 PC classes must use data directory configured in PC, not just use "data" Change things around to us the proper data directory, as configured for the plugin container (via InventoryManager)

    • Fix test failure due to new compacted resource config files being under the agent datadir.

    • disable the hibernate.query.factory_class override in persistence.xml now that the feature has stabilized.

    • AS7 i-test work, still trying to get more consistent runs - put SecurityModuleOptionsTest in its own execution block because it was running into test interaction issues. (We'll keep isolating test classes as they show sensitivity to executing with others) - put DomainServerComponentTest in its own execution block - speed things up by removing unnecessary @RunDiscovery annotations in a couple of places. It was just rediscovering the same things. - speed things up by removing a variety of (likely) unncessary sleeps (given that discovery is now running more deterministically). - add waitForAsyncDiscoveryToStabilize(platform) to WebConnectorComponentTest to ensure full discovery of deep resources. - increase the default stabilization period for waitForAsyncDiscoveryToStabilize() from 25 to 40s given that we still have seen deep discovery take longer than 25s to add resources. - stop individual test classes from killing the AS server process

    • 1060223 Bundle deployment in JBoss ON 3.2.0 when using Oracle as a backend fails with ARJUNA016061 exceptions Oracle does not like XA connections getting used both inside and outside a JTA transaction. To get around the problem you can create separate sub-pools for the different contexts using:

    • Fix merge issues

    • 830158 java.sql.BatchUpdateException when you uninventory a platform immediately after importing it Just an attempt to solve this issue by detaching the agent entity while the potentially large resource update executes, and flushing changes to the DB prior to deleting the agent.

    • This is due to a thread on dev-list 1. This exception has popped up a couple of times, apparently due to agent-side inventory changing (likely due to uninventory) while discovery was in progress. After thinking about it I think the best thing is not to try and make this a safe iterator (perhaps via using CopyOnWriteArraySet on agent-side Resources) but to acknowledge that we should likely not continue with discovery on this parent specifically because the population is changing (and likely getting removed). So, until it proves a bad idea, just catch the exception, log a warning, and keep going.

    • AS-7 I-test work - add a test class that runs at the end to kill any leftover AS processes. - rearrange the test executions for what seesm like a better success rate

    • 858813 apache Agent logs warning "Unable to check for updated configuration" when configuration management is disabled - Applied Larry's recommended fix. Return null of augeas is disabled as per the jdoc of loadResourceConfiguration().

    • AS7 I-test work: add new waitForResourceByTypeAndKey() method This is to be used when waiting for an expected resource to show up ininventory. The entire inventory does not have to be discovered, as soon as the expected resource is found (and has been committed) the method will return. - replace all uses of getResourceByTypeAndKey() with this new method and make the old one private. - add logging to show the progress of discovery while this method waits...

    • Merge branch 'master' of ssh://git.fedorahosted.org/git/rhq/rhq

    • 1060223 Bundle deployment in JBoss ON 3.2.0 when using Oracle as a backend fails with ARJUNA016061 exceptions This is a completely different problem from the "no-tx-separate-pool" issue already fixed for this BZ. The addition of that DS attribute led to this issue involving the XA DS and our quartz job scheduling and triggering. The issue had to do with interactions between our scheduling of resource bundle deployments, our scheduling of the umbrella bundle deployment status checking job (which came into existence as a fix for Bug 1003679), and possible fast reporting of a bundle resource deployment status from an agent.

    • 1065427 Deleting multiple operation history records generating ORA-00060: deadlock Stop the GUI from sending simultaneous async opHistory delete calls when deleting multiple opHistory records (one call for each selected record). Add support for a single round trip to the server that performs deletion of all requested records (a new Remote method). Also, disable buttons while delete is in progress, to prevent multiple requests.

    • AS7 Itest, extract DatasourceTest into its own execution because it is consistently failing. Perhaps this will help.

    • 1066105 eap6 NPE when creating DataSource (Standalone) via CLI Protect against the create resource request not providing any conn or xa props.

    • 1065427 tweak to fix given feedback.

    • Agent optimization: Don't send empty runtime discovery reports to the server. If nothing is discovered don't incur the overhead of report processing and the subsequent inventory sync that will result.

    • Added getLong() to the interface since different vendors do it differently.

    • 1025918 Uninventoring resources is slow; should not take more than a second As suggested by Elias Ross, convert our depth-restricted "recursive" join queries with recursive queries leveraging native support in Oracle and Postgres.

    • remove useless and confusing annotation. Length attr is used for DDL generation, which we don't do. And our actual length is 4000 at the moment.

    • Support postgres WITH queries

    • 1069887 Manual add can create duplicate resources When manually adding a resource the server instructs the agent to discover the new resource, given plugin config. After discovery the agent asks the server to merge the new resource into inventory (assigning an id, etc). While the server is doing that, it was possible the new resource could get picked up in an inventory sync because it looked like the resource was dirty. This fixes that condition.

    • 915532 apache Unable to discover Apache httpd on Windows if Include directive contains a path that starts with a lowercase drive letter or contains a forward-slash images/author/images/icons/emoticons/check.gif as the file separator Apply fix based on Larry O'Leary's suggestion in the BZ. Localize the change to a windows-only block in Glob.rootPortion such that all callers benefit and non-windows is unaffected.

    • 915532 apache Unable to discover Apache httpd on Windows if Include... Revision of fix in commit 3d9cdf6d9d7eae5643ff270816b236ba0dc74f9b after review.

    • AS7 i-test work (Yee, more...) - Add some logging to explicitly show when resources are persisted in the fake inventory - Managed to cut runtime down by about a 1/3 by optimizing waits on only the resources needed to perform certain tests and by getting rid of some unnecessary discoveries. This included: - removing the built-in depth discovery mechanism in AbstractAgentPluginTest - removing the built in waits in @AfterDiscovery method in AbstractAgentPluginTest - remove the @AfterDiscovery method, it executes after discovery, but not necessarily before execution of the annotated method. - replace with a more flexible superclass method for validating discovery - Move the EAP unzip location from tmpdir to the target dir to isolate it from concurrent executions of the AS7 itests. - Give every i-test class an explicit surefire execution to remove inter-class test method executions. Order the class executions to avoid issues (since they still all affect the same EAP install). - Remove certain uses of @DeploymentResources, whose set times seemed unpredictable.

    • 858813 make sure the previous fix is applied to all applicab;e component classes

    • AS7 I-test work, add back nonpc tests also: - add back disabled test in GenericJBossAS7PluginTest after ensuring all discovered components gets a chance to start. - alter execution order to run GenericJBossAS7PluginTest first because prior test executions seemed to mess up an expected trait metric - pull up code in AbstractAgentPluginTest to GenericJBossAS7PluginTest, it's only caller.

    • AS7 i-test work, fix build issue

    • AS7 i-test, restore ManagedServerTest to executed test classes, it was lost in a merge.

    • As7 i-test: move ManagedServerTest up in the execution order, it seems to be affected by earlier test classes.

    • 918207 Uninventorying resources for agents, on unreachable networks or waiting for registration, causes database hang There are two underlying issues in this BZ. First, agent notifications for uninventory are not protected via a short ping check. And second, our current AgentClient.ping() returns true if a comm link can be established, even if the agent is not accepting service requests. Since by default we don't timeout service requests, service requests can wait indefinitely for an agent that is failing to connect.

    • Merge pull request #6 from rhq-project/jshaughn/pingservice

    • 1058534 Alert template for Trait Change from older RHQ results in NullPointerException The "Changes" operator requires slightly different logic as alertConditionValue allows null Add null handling, also refactor some similarly verbose/confusing code in a few CacheElement classes. And add i-test for this issue.

    • 1071994 Agent's operation failed with AuthenticationException in HA set up The issue is that each HA node holds an AgentClient cache. If the agent gets deleted (e.g. platform uninventoried) the cache is only cleaned on the one HA node handling the delete. Ensure dirty cache members are detected and updated on other HA nodes, as needed. This is only an issue if a deleted platform then gets re-inventoried with the same name/address/port.

    • The GUI's Monitor->Metrics view makes calls for live metrics. Those calls were pulling all metrics for the resource type. Change so that they pull only enabled metrics because those are the only metrics actually displayed. This makes things more efficient.

  • Jean-Frederic Clere <jclere@redhat.com> (9):

    • BZ 956509 ] add storeconfig to EWS 2.0.1

    • BZ 956509 ] In fact it is named executor and it can't be set by storeconfig.

    • BZ 997669 ] Tomcat Web Application (WAR)" components stay down when server comes back up. Submitted by Thomas Segismont (tsegismo@redhat.com)

    • BZ 1017961 ] JMX Plugin can fail testing for registration Submitted by Thomas Segismont (tsegismo@redhat.com)

    • BZ 971615 ] Tomcat plugin ignores processes if container running as 'rhq' user Submitted by Elias Ross (genman@noderunner.net)

    • BZ 786082 - tomcat as a service is not properly detected.

    • Also adjust the init.d for tomcats.

    • BZ 690957 EWS Tomcat installed from RPM shutdown fails.

    • BZ 1069880 - Discovery of Tomcat fails when started using daemon.sh or jsvc

  • Jirka Kremser <jkremser@redhat.com> (92):

    • rhq irc bot now uses caching for !support and !pto commands.

    • irc bot: simple logger using grep|sed|awk combo.

    • irc bot: adding newly issued bugzilla ca certificate, this one will expire on 12/12/15

    • BZ 1000065 ] - During install / server start show a sign of life - Using the welcome root page for indicating the server startup. This required the portal war webapp to move from "/" context to "/portal" context.

    • BZ 1000065 ] - During install / server start show a sign of life - making changes to portal war web app in order to make it work with different application context ("/portal").

    • BZ 1002252 ] - JON server becomes unreachable with no explanation if storage node is not yet running when JON server is started - Letting RHQ server to start even without connection to storage cluster. In this case the quartz job is scheduled that will do the necessary work once the storage is up (and cancel itself).

    • BZ 1002252 ] - JON server becomes unreachable with no explanation if storage node is not yet running when JON server is started - Displaying what subsystems have failed during the RHQ server startup on the root context webapp (localhost:7080/).

    • BZ 967542 ] - UI shows confusing units when editing Availability Duration alert condition type - The table with listed conditions should now display the same number-unit tuple as the popup dialog.

    • Adding back the org.rhq.enterprise.server.measurement.MeasurementAggregate because of the JON 3.2 backward compatibility breakage (for EJB remote clients). This contains also adding a new method, deprecating the old method and the added class so that it can be removed in the next major release.

    • api checks: Adding back the org.rhq.enterprise.server.measurement.MeasurementAggregate see the commit c2a609f48 for more details.

    • api checks: reverting a change that broke JON 3.2 backward compatibility

    • api checks: adding the change as a intentional change not to break JON compatibility.

    • BZ 1013489 ] - It is not possible to download an agent from RHQ server (HTTP Status 404) - Introducing three new simple wars for handling the "/agentupdate/{download|version}", "/client/{download|version}" and "/downloads/*". Besides fixing this bug, this commit should help to remove portal war in the future.

    • Adding empty .gitignore file to allow git to push an empty directory structure.

    • BZ 958169 ] - Modified alert definition is not saved on confirming the save message after clicking on 'Back to List' button - overriding the behavior of destroy method of the enhanced layout, because this class needs to get the data from child components before the destroy() is called. This was causing various JavaScript exceptions.

    • BZ 1010265 ] - Installation fails if hostname is not on DNS - Handling also the case when the UnknownHostException is thrown from the startNode() method (where the Cassandra is actually started.)

    • Letting mvn enforcer plugin to watchdog the size of the resulting production zip file. The limit is currently set to 400 MB.

    • Handling the NPE caused by attempting to shutdown the uninitialized scheduler from the shutdown hook during the server install.

    • BZ 1008694 ] - Storage node heap settings appear in MB not GB as previously set - selecting the right unit type in the combobox

    • BZ 1015194 ] - Storage node configuration UI shows stale values - Using the resource config update instead of update done by resource operation.

    • BZ 1015194 ] - Storage node configuration UI shows stale values - The restart is now done in the SLSB layer using the resource operation instead of the agent side, because we don't want to let the common resource configuration updates to cause the restart of the storage node (the restart is done only for those config changes that was done using the admin UI).

    • BZ 1016649 ] - Clicking ASSOCIATE button to associate content source to repository displays error in UI - removing the "/portal" prefix, because the attribute "template" of the Facelets' element "composition" expects the relative path as a value.

    • BZ 1019331 ] - Possible database connection leak in org.rhq.enterprise.server.content.ContentManagerBean.writeBlobOutToStream - closing the resultset, prepare statement and connection properly in the finally block.

    • BZ 1019100 ] - Definition of security constrain per Queue/Topic creation shouldn't be enforced - there is no need to require at least two items of "Security Configurations". The security for topics/queues can be set globally somewhere else or turned off.

    • UI: Improvement to auto refreshable views: the refresh() method is not performed if the session has expired. If the user logs in again the refresh() method will be regularly called again.

    • BZ 967542 ] - UI shows confusing units when editing Availability Duration alert condition type - with some tricky steps it was possible to get globally uncaught exception. Now the seconds should not be displayed at all.

    • irc bot: adding the RH certificate authority instead of particular certificates that are periodically being replaced with whatever reason.

    • BZ 1015436 ] - portal.war unable to update package content via UI - JSF navigation rules magic

    • Fixing a typo: the default storage node directory is called rhq-storage.

    • BZ 1016175 ] i18n, wrapping long line

    • BZ 1015436 ] - typo ("/" was missing)

    • BZ 1021929 ] - Import context menu does not show plugin resource types when accessing by URL

    • Fixing the IllegalStateException (There is no storage node metadata stored in the relational database) when installing clean dev container

    • 1027469 - Mashup portlet on dashboard displays error "The connection was reset" - changing the URL

    • Commenting out the unused metrics in the getLoadAsync because this method should fetch the data as fast as possible; fixing one edge case, when no schedules were found on the associated resource

    • Removing unused metric fetches (the table with Storage Nodes that uses the getLoadAsync() needs only Calculated.FreeDiskToDataSizeRatio and Calculated.HeapUsagePercentage metrics for all the rest thre is still a getLoad method.

    • Adding back the Installation date column removed accidentally by commit 085f93057b1bb93d7eea3c332a34bddba8ad6267.

    • I18N for Storage Node admin views: externalizing all the in-code strings + code formatting.

    • BZ 1005922 ] - Selecting grouped fired alerts in chosen time range does not work - hiding the filters if the alerts are shown in the grouped mode and vice versa.

    • BZ 1035280 ] - Cannot load metrics for platform resource created using rest api - adding a check whether the agent is the dummy one for MeasurementDataManagerBean.findLiveData() and ResourceManagerBean.getLiveAvailability().

    • BZ 891876 ] - JON login screen does not appear in IE9 - adding the 'noscript' element that will show the warning if the browser has the JavaScript disabled.

    • BZ 1035280 ] - Cannot load metrics for platform resource created using rest api - check for dummy agent in MeasurementDataManagerBean.findLiveDataForGroup()

    • When creating new affinity group, if user closed the dialog window the "Create New" button was disabled until the it was refreshed. Calling the refreshTableInfo() when necessary.

    • BZ 1036681 ] - Starting page listening on :7080 freezes if the server turns off itself during installation - adding logic that handles the case if the server went down during the installation (or normal startup process). Also externalizing the JavaScript to its own file and linking it to the HTML page.

    • BZ 1035501 ] - Remove Add Graph to Monitor View Menu Item in Resource Tree - Removing the option leading to the old portal war page from the context menu.

    • BZ 1038067 ] - Resource Summary/Activity shows summary of disabled metrics - adding a check that finds out whether the resource has those metrics scheduled. This is done in parallel using the countdown latch pattern.

    • BZ 1038270 ] - NPE when accessing the storage node view immediately after the install - NPE check added

    • BZ 1038600 ] - Back To All Bundles button is not working in Japanese locale - changing getTitle() -> getName(), because it is passed to URL and there are issues with some "non-ASCII" characters.

    • BZ 1038067 ] - Resource Summary/Activity shows summary of disabled metrics - fixing the issue for resource groups (Autogroups and compatible ones).

    • irc-bot: fixing the !support command

    • BZ 1040928 ] - User with default permissions sees his assigned resources as DOWN - using the subjectManager.getOverlord() instead of the actual subject, because the live resource availability should not require the MANAGE_SETTINGS permission.

    • BZ 970181 ] - RHQ doesn't work after restart with open GUI in web browser. - if the server restarts at the background, the session id is lost on the server therefore we can't allow the logged user to continue sending the requests without a new AuthN. It would be a security risk to allow it. Now, if the server restarts the UI requires the new log in (the login form is displayed).

    • BZ 970181 ] - RHQ doesn't work after restart with open GUI in web browser. - if the server restarts at the background, the session id is lost on the server therefore we can't allow the logged user to continue sending the requests without a new AuthN. It would be a security risk to allow it. Now, if the server restarts the UI requires the new log in (the login form is displayed).

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • Plugin validation for mysql plugin was failing because the Class.forName() statement was invoked from the constructor of the component. I moved this code to the method that actually opens the connection. This is the same strategy we use with our postgres plugin.

    • BZ 994904 ] - Edit dialog for alert conditions loads condition parameters incorrectly - The metric name was filtered out as a reaction on BZ 737565. Although, it does make sense to do that for all other conditions, it does not make sense to filter out the metric name of the curently modified condition. (the original bug was fixed before the UI was capable of editing existing alert conditions).

    • BZ 846819 ] - Broken dashboard portlets or portlets with invalid configuration SHOULD NOT prevent the entire dashboard from working - surrounding the risky interaction with particular portlets into try-catch block to make the logic little bit more robust. Now, exception thrown from a portlet doesn't affect other portlets, so the portlets are more autonomous so to speak.

    • BZ 1035501 ] - Remove Add Graph to Monitor View Menu Item in Resource Tree - removing the zombie code for groups as well (commit 7355462e593 solved the issue only for resource tree). Also removing unused I18N messages.

    • BZ 1055585 ] - Labels on Summary Counts portlet look like links but are not (not intuitive) - The labels now works as normal hyperlinks within the web application.

    • BZ 1055609 ] - Save button position is inconsistent for configuration and for connection settings - moving the toolstrip with the save button to the bottom of the screen for plugin configuration view (connection settings tab).

    • IRC bot is not paranoid anymopre and trusts all certs by default.

    • BZ 805525 ] - UI inconsistency: Alerts subtabs are inconsistent with Operations subtabs - First sub-tab for Alerts tab is now the History tab (not the Definitions, as it was before). The UI is now more consistent with the other tabs such as Operations, Configuration. It is also possible to schedule/define new operation/alert definition directly from the history view.

    • Adding colors to rhqctl status command. Green for "running", red for "down" and orange for "starting" and "killing".

    • Adding a check mark if a service is running. This has been tested and worked also in zsh, sh and bash even with LC_ALL set to non-unicode charset.

    • BZ 1016833 ] - Alert notification sender, resource operation, relative resource type filter drop-down has not logical or usable ordering - Using the LinkedHashMap that preserves the ordering instead of java.util.HashMap. Also adding the plugin name to the drop-down list.

    • Sprinkling rhq-bot with some love. (Jira bug resolving, fancy colors)

    • BZ 1058267 ] - RHQ installation on JDK1.6 fails with 'Cannot obtain client connection to the RHQ app servergst - removing the JVM parameter for increasing the size of a hashtable, where Strings are pooled (after calling .intern() on them), because this is not supported on Java 6. This commit can be reverted later on when not supporting Java 6 or when using another solution (check for Java version in the bash scripts)

    • BZ 1058267 ] - RHQ installation on JDK1.6 fails with 'Cannot obtain client connection to the RHQ app servergst - removing the Java 6 incompatible JVM parameter from the agent launch sript (I missed this one in commit 8f0ce053c).

    • BZ 1054779 ] - Incorrect Cancel button behavior on Content tab - adding attribute: immediate="true" to the cancel command button in order to process the command before the validation (http://stackoverflow.com/a/11244769/1594980)

    • BZ 1054843 ] - Response Time Units scale - Formatting the 'total' field independently (it was passed together with min/max/avg to MeasurementConverterClient.formatToSignificantPrecision() that causes these disproportions in values).

    • BZ 1064996 ] - Mixed group alerts tab shows a "New Definition" button - Disabling the button for mixed groups.

    • BZ 1040712 ] - Attempting to delete a previous bundle deployment from a destination fails due to database foreign key constraint violation - Redirecting the reference of replaced bundle to the doomed one (just like removing a element from a linked list). Adding an itest for this use case.

    • BZ 1040712 ] - Attempting to delete a previous bundle deployment from a destination fails due to database foreign key constraint violation - Removing an unused finder constant.

    • BZ 1050005 ] - Cannot delete DomainDeployment archive - Removing the "/portal/portal/" path prefix to make the navigation case working.

    • BZ 1067927 - Don't show the "new schedule" and "new definition" buttons for dashboard portlets - Hiding the buttons for "global" dashboard and at the same time making it work for the resource specific dashboard Summary/Activity tab. Also disabling the button for group versions of the portlets.

    • BZ 816598 ] - "Failed to load resource composite data" message is incorrectly logged when already logged out user tries to browse resources - Enforcing the login dialog if the user is logged out (instead of throwing an exception). When logged out from a different browser tab, it takes about 3 seconds to propagate this information to the other tabs, however this is really an edge case. NOTE: If the login dialog is displayed on multiple browser tabs and user logs in to each of them separately, it will create multiplse independent sessions that doesn't affect each other. Now if user logs out from a tab, it doesn't do anything to another tabs. This bug is about "forking" the user session by opening a new tab from the original web UI.

    • BZ 1066060 ] - "Cannot store preferences" message with a Read Only user - The custom date range UI component that uses user's preferences were lazily instantiated -> when user logged out and logged in the same cached instance was returned and it caused the exception. I've added the method that invalidates the cached singleton instance in user session manager login callback so we can still save some resources by doing it lazily, but at the same time if a new user logs in it gets its own preferences.

    • BZ 1068789 ] - rhq scripts won't work in Ubuntu derived distributions - Using only shell commands from posix standard sub set, because on Debian based distros the /bin/sh points to Dash that had problems with the previous version.

    • BZ 536287 ] - (RHQ-653) Agent "Get Info On All Plugins" operation does not return the short name of a plugin (and is inconsistent with the agent prompt) - Returning also the display name and the short name of plugin for both the retrieveAllPluginInfo and the retrievePluginInfo agent operations. Now it is more consistent with the prompt command for agent (plugins info) and the short plugin name can be used elsewhere.

    • Adding Libor to !jon-team irc bot command.

    • BZ 1065680 ] - Agent admin page should list the installed plugins - Implementing new method on TopologyManagerBean for obtaining the corresponding resource id for an agent instance. If there is such an id, web UI runs the "retrieveAllPluginInfo" operation and displays its result in the agent admin UI (on the agent detail page). So the assumption here is that the agent has already imported the RHQ Agent resource.

    • Removing the ascii RHQ logo (As a result of the doodle poll).

    • refactoring of coregui: removing the class GwtMeasurementConverter that was almost the same as the class MeasurementConverterClient

    • BZ 911432 ] - Alerts for events do not include 'source location' - adding the source location information to alert condition log. Column 'value' on table 'rhq_alert_condition_log' is limited by 255 characters so if the actual message is long enough the source location information can be lost.

    • Updating the rhqctl-completion.sh script to reflect the current state.

    • BZ 1005922 ] - Selecting grouped fired alerts in chosen time range does not work - When switching grouping on, the values of the range filter are stored and the filter is reset in order to fetch all the data (when grouping is on, no filtering can be applied). Similarly, when switching it off, the values are loaded from previously saved filter and applied as start/end date for filtering of alerts.

  • John Mazzitelli <mazz@redhat.com> (126):

    • BZ 824773 - show the results even when the operation failed - it may have more details that are useful to the user

    • BZ 1006347 move the "real" start scripts into bin/internal. The scripts in bin/ are obsoleted versions that spit out errors and exit codes so people know not to use them.

    • BZ 1002255 - mask passwords that are in the comm debug log

    • add undo logic so the installer tries to clean up in case it aborts mid-way through

    • fix bug - actually use nullOs rather than create it and ignore it

    • add shutdown hook to perform the undo if the installer was aborted via kill signal

    • try to hide kill output on console - we don't need to show it

    • we don't need commons.io dep - just make our own simple null out stream

    • why does this exist? it duplicates a method in the superclass hierarchy. removing it.

    • don't show stderr from kill -0 that is executed to see if the process exists or not

    • provide a way for the user to not clean up - this is useful for debugging an installation failure.

    • revert rhq-server.properties and mgmt-users.properties on installation failure

    • BZ 965886 - provide a security authentictor for the agent and have the server provide the agent's token when sending messages.

    • change the welcome page to remove the mention of "EAP 6" since customer typically isn't even aware (or care) what we are running on. Also, took out "RHQ" and only used the word "server" to avoid branding issues when this is run as JON

    • BZ 1014593 - make sure we do the initial permission check. currently, the code mistakenly thought it had cached the permissions when it didn't.

    • BZ 1015449 - fix content (and bundle) deployments

    • BZ 1003797 try to get the rhq-server plugin to reconnect in a way that workaround some problems in the AS client

    • BZ 1016703 - change the out-of-box default for a port that conflicted with EAP5.1. This way, you can run EAP 5.1 on the same machine as RHQ without having to change configuration (this should only be done for testing / demoing anyway - in production you should not be running RHQ with other app servers on the same machine)

    • BZ 1016885 - log messages when undo tasks are triggered

    • make sure our sample bundle's recipe has the new, required attribute 'compliance'

    • BZ 1019917 add descriptive error message when parsing of recipe fails

    • BZ 1013597 - fix up the help about box

    • BZ 1013597 - I have no idea why it did this, but eclipse message bundle editor deleted tons of lines in here that I never touched. this reverts the file back to the original but changes the two lines I want changed (values for view_aboutBox_version and view_aboutBox_buildNumber)

    • BZ 1004730

    • remove : - should be "." - otherwise, people might be confused to expect something after the :

    • trivial - the comment is wrong - taking it out and replacing it with something that makes more sense

    • BZ 1022573 - tell the agent where the server is

    • BZ 1023332 be tolerant when the agent client cannot be started

    • BZ 1014603 - this really isn't necessary for this BZ but it does clean up the help icons that are associated with the help links. we now use the new help icon

    • BZ 1013597 - show the text "Link" in about box because a product URL could be very long so we don't want to show the link itself

    • BZ 1026465 / BZ 1026460 - revert fails due to a NPE (cherry picked from commit 386ae73d5de0ba99035185f2f9a0df6d7684d138)

    • BZ 1003681 - keep bumping up the deployment # in the name string

    • BZ 1003679 / BZ 1015658 - only schedule the bundle check job once per deployment ID, regardless of how many resources are involved

    • BZ 1018213 - remove hardcoded absolute paths from installer things * rhqctl no longer requires rhqctl.properties - it will only exist if upgrading from an older rhq 4.8 agent located in a different place in which case an absolute path is unavoidable and will be placed in there. * No longer put absolute paths in standalone-full.xml for key/truststore files in ssl connector

    • BZ 1018213 - no longer need to create rhqctl.properties in dev builds

    • BZ 1027732 - avoid NPE in case a group switched to being empty or mixed

    • BZ 1029157 - fix the agent connectivity test page

    • BZ 903402 - take into account a missing Windows drive letter. We have to be careful since our resource keys are based on some of these paths so we can't blindly set them to their real aboslute forms now. but I think these changes are unobtrusive (have no real effect on RHQ when running on non-Windows platforms and will only affect things when the paths are just missing their drive letters, which is what the BZ is targeting)

    • for dev builds only, when you do a dbsetup, we'll now add two new users (password same as username): anon (with absolutely no permissions) and dev (with only "inventory manager" global permission).

    • BZ 1029925 - when upgrading an old install that didn't have an agent, we want to install a new agent in the new location

    • BZ 1029945 - dump some documentation links in rhqctl --help output for different commands. this allows downstream products to easily replace the RHQ content with their own (aka have JON point to the JON docs)

    • BZ 1029945 - forgot to reuse the variable rather then reslurp

    • BZ 1033667 - make sure we set the execute bit on the appropriate agent files if we needed to copy the agent across partitions

    • BZ 1029095 - don't invalidate any session that is overlord

    • BZ 1029095 - synchronize getOverlord to hopefully restrict the number of overlord sessions created

    • BZ 1014622 the suspect metrics report screen doesn't filter out ignored resoruces.

    • BZ 971556 async avail checking for all resources

    • eclipse classpath addition - new trove dep that the plugin container now uses

    • BZ 1037855 - related to the fix for BZ 971556 - we can remove the old async avail infrastructure in plugin container since all resources now do resource async avail

    • BZ 1037855 - related to the fix for BZ 971556 - don't cache the thread pool in teh avail proxy because this screws up in the arquillian test framework due to restarts of the PC this has a good side effect though - it shrinks the size of the proxy, which is good as it lowers the PC footprint

    • BZ 1037855 - related to the fix for BZ 971556 - fix test

    • BZ 1039664 - log warning if jon agent rpm is detected

    • BZ 1037855 - related to the fix for BZ 971556 - the last commit for this BZ caused the api check to fail. putting back the obsolete, but public, constants and marking them as deprecated.

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • i'll assume this was a mistake to import a JUnit annotation, and it should have been testng

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • i'll assume this was a mistake to import a JUnit annotation, and it should have been testng

    • BZ 994250 - fix some problems that caused the install to fail. fixed some other things as well

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • i'll assume this was a mistake to import a JUnit annotation, and it should have been testng

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • BZ 994250 - finish the merging/peer review for patches submitted so that rhqctl returns proper exit codes. Note that this completes the merge of the two submitted patches - see prior two commits to this one. This third commit fixes some problems with the original patches: 1. Some scripts/files are not found in bin/internal of the distro, but rather are in bin/ - so we need to avoid using getBinDir() in those cases 2. Fix the code to conform to code conventions - DEATH TO TABS! 3. Remove a constant that got resurrected (ControlCommand.RHQ_STORAGE_BASEDIR_PROP is no longer needed) 4. A couple other minor things

    • i'll assume this was a mistake to import a JUnit annotation, and it should have been testng

    • BZ 994250 - fix some problems that caused the install to fail. fixed some other things as well

    • add source jar to eclipse classpath

    • initial start of the embedded agent as a WildFly extension subsystem. right now, this is just the shell service. the agent isn't in here yet. but the service is fully wired into the AS infrastructure and shows in the AS CLI. has a normal model just like all other subsystems. Now just have to build the module with the agent inside and have the shell call the AgentMain

    • unpack the entire agent zip inside the module.

    • there is no easy way to build a generated module.xml from the agent distro dependency list, so just put these in directly in the module.xml.

    • putting native libs in their proper place for EAP to find them

    • inject the server env service into our service so we can get things like data dir, hostname, etc add the rhq-agent distro to the exported resource roots so we can get the config xml

    • 1) preconfigure the agent prior to starting it 2) get log4j.xml to work but yet not put log files under bin/ 3) don't need to put module.xml in the extension jar, just needs to be in module

    • start the embedded agent in a separate thread so as not to hang the subsystem startup

    • embedded agent needs to add a dep on JAXB module as a substitute to the standalone agent's endorsed libs

    • dont lose security token on embedded agent restart

    • trivial - reformat

    • add source to eclipse classpath

    • starting to add config overrides to the extension subsystem - first one is the agent name (we can now set the agent name in the config)

    • add more embedded agent config settings - server endpoint details and the ability to disable native system (sigar)

    • add ability to define agent binding addr/port in EAP config xml

    • add transport agent-endpoint configurability make server endpoing configured via one element with some attribs

    • add ability to set generic config preferences

    • initial start of the embedded agent as a WildFly extension subsystem. right now, this is just the shell service. the agent isn't in here yet. but the service is fully wired into the AS infrastructure and shows in the AS CLI. has a normal model just like all other subsystems. Now just have to build the module with the agent inside and have the shell call the AgentMain

    • unpack the entire agent zip inside the module.

    • there is no easy way to build a generated module.xml from the agent distro dependency list, so just put these in directly in the module.xml.

    • putting native libs in their proper place for EAP to find them

    • inject the server env service into our service so we can get things like data dir, hostname, etc add the rhq-agent distro to the exported resource roots so we can get the config xml

    • 1) preconfigure the agent prior to starting it 2) get log4j.xml to work but yet not put log files under bin/ 3) don't need to put module.xml in the extension jar, just needs to be in module

    • start the embedded agent in a separate thread so as not to hang the subsystem startup

    • embedded agent needs to add a dep on JAXB module as a substitute to the standalone agent's endorsed libs

    • dont lose security token on embedded agent restart

    • trivial - reformat

    • add source to eclipse classpath

    • starting to add config overrides to the extension subsystem - first one is the agent name (we can now set the agent name in the config)

    • add more embedded agent config settings - server endpoint details and the ability to disable native system (sigar)

    • add ability to define agent binding addr/port in EAP config xml

    • add transport agent-endpoint configurability make server endpoing configured via one element with some attribs

    • add ability to set generic config preferences

    • Merge branch 'feature/embeddedagent' of ssh://git.fedorahosted.org/git/rhq/rhq into feature/embeddedagent

    • add new feature to the agent that lets you tell the agent explicitly what plugins you want enabled. All others will be disabled.

    • have embedded agent now use the new "enabled plugins" preference in the agent.

    • put the embedded agent in the mvn reactor so it builds with everything else

    • Merge remote-tracking branch 'origin/master' into feature/embeddedagent

    • set some log levels to debug so embedded agent isn't too noisy

    • repeated builds (without mvn clean) no longer produce bogus xml file. the replaceregexp is now idempotent.

    • add the ability for embedded agent to execute a prompt command from the AS CLI

    • BZ 1035723 BZ 1035722 do not load the servlet invoker until we get the first request. Then, don't log an error message unless we got alot of these, and log at debug level. This error message is rarely indicative of a problem.

    • have embedded agent always set some overrides that are necessary because its embedded and not standalone

    • turn off vm health check via change in config file just in case someone wants this turned on in embedded agent

    • can't do this since enabled attrib might be an expression. it will never be undefined anyway, its a required attrib, so asking for the default if not defined is moot

    • * make sure we support expressions in our config properties * make sure we keep security token if we already registered previously * make sure not to bind agent to 0.0.0.0

    • add some additional API to the jboss dmr client - useful for things we'll need in the future

    • Merge remote-tracking branch 'origin/master'

    • provide a mechanism to tell the agent not to install the shutdown hook. this is useful when the agent itself is embedded in a container itself

    • have the embedded agent tell the agent core not to install a shutdown hook

    • just add source path to eclipse

    • this should not be using yet another log framework, just use one we've always been using in tests

    • BZ 1069793 - fix the group creation from within bundle wizard

    • BZ 1044986 - fix rhqctl script so it doesn't hang when starting the agent in DEBUG mode

    • testing git push to github

    • BZ 1070341 - Preserve custom scripts in bin directory during agent auto update

    • 918207 - since we have the information, let's use it to proactively warn the user that an agent's clock is probably skewed

    • BZ 987628 - if the agent isn't registered BUT it hasn't been able to even talk to a server yet, keep waiting.

    • Merge pull request #7 from rhq-project/bug/987628

  • John Sanda <jsanda@redhat.com> (104):

    • BZ 1004050 ] add more error handling for advanced storage node deployments

    • BZ 1002226 ] Change default data directories

    • fix simulator to work with password obfuscation

    • removing scratch file

    • update helper method to use method arg

    • BZ 1008090 ] Set default thread stack size to 256k across the board

    • download cassandra tarball as maven dependency instead using wget

    • BZ 1009640 ] close jdbc connections after executing native sql query

    • BZ 1009666 ] Store plugin container init listeners in a list

    • fix storage installer upgrade bugs (only impact upgrading from RHQ 4.9)

    • Merge branch 'bug/1009666'

    • handle changes in lifecycle notifications that were introduced in upgrade to C* 1.2.9

    • BZ 996710 ] Only log warnings when C* writes to stderr

    • add back plugin config for groovy script to generate additional storage nodes

    • numerous changes in metrics-simulator to simplify things

    • allow for configurable time slices

    • fixing bugs and adding support for compressed time slices

    • remove obsolete config setting and add nowInMills() method

    • remove extraneous logging and making reporting interval configurable

    • support sub-minute intervals

    • rename class

    • rename system properties set in surefire plugin configuration

    • fix itest failure

    • fix compiler error

    • initial support for readers

    • use the configured node addresses

    • remove extraneous logging

    • do not stop the console reporter until all other services are shut down

    • do not hard code the cql port

    • BZ 1017372 ] increase permissions cache eviction period

    • BZ 1017707 ] use correct TTLs for 6 hr and 24 hr metrics

    • BZ 1017707 ] fix 6 hour ttl

    • set execute perms on scripts in bin/internal directory

    • BZ 1004050 ] do not require user to specify all storage nodes during install

    • BZ 1004050 ] This commit includes the bulk of the changes for this bug

    • BZ 1021660 ] set the version and description fields during discovery

    • BZ 1022775 ] get the compression time metric from MetricsServer

    • update examples in docs

    • BZ 1026088 ] avoid NonUniqueResultException during (un)deployment

    • BZ 1018213 ] use relative paths for log4j file location in appender

    • BZ 1018213 ] use relative paths for data directories when defaults are used

    • BZ 1026088 ] Do not query for storage node prematurely

    • BZ 1026088 ] remove extraneous logging

    • BZ 1027458 ] Do not resolve ip addresses for storage nodes

    • BZ 1027458 ] do not use InetAddress.getHostName

    • BZ 1027458 ] Found a couple more places where we were resolving the ip address

    • BZ 1027458 ] determine whether hostname or ip address should be used

    • BZ 1018213 ] Handle relative paths when purging data directories

    • BZ 1028624 ] metric data passed to condition cache need to ordered by timestamp

    • BZ 1026088 ] handle topology changes for cluster sizes > 4

    • log execution time for loading storage node composites

    • adding more debug logging of query execution times

    • only execute one query for unacknowledged alerts

    • getStorageNodeComposites() requires MANAGE_SETTINGS permission

    • fetch storage node load metric data asynchronously

    • clean up some exception handling and add logging

    • BZ 1027740 ] speed up calculation of unacked alerts

    • BZ 1019841 ] take snapshots before node (un)deployments

    • BZ 1030551 ] use production defaults for storage properties

    • BZ 1027892 ] fix query for finding unacked storage node alert counts

    • only capture the overall execution time of the entire aggregation run

    • BZ 1032820 ] handle list of simples in StorageServiceComponent resource config

    • shut down storage node if upgrade fails and has to be rolled back

    • BZ 1032308 ] do not reset rhq-storage-auth.conf during upgrade

    • add debug logging

    • add support in foreach for paging over criteria query results

    • fixing bugs in foreach with criteria query

    • initial commit for storage sizing CLI script

    • adding some usage docs

    • calculate bloom filters

    • BZ 1009945 ] squash commit of jsanda/aggregation branch commit 1 - Initial commit for new Aggregator class

    • BZ 1042663 ] upgrade datastax C* to 1.0.5

    • initial commit for storage sizing CLI script

    • adding some usage docs

    • calculate bloom filters

    • BZ 1009945 ] squash commit of jsanda/aggregation branch commit 1 - Initial commit for new Aggregator class

    • BZ 1042663 ] upgrade datastax C* to 1.0.5

    • initial commit for storage sizing CLI script

    • adding some usage docs

    • calculate bloom filters

    • BZ BZ 1009945 missed a couple RateLimiter.acquire() calls

    • BZ 1009945 ] do not run callback on driver I/O thread and decrease throttling

    • BZ 1009945 ] fix broken tests and regression for missed aggregation run

    • make number of readers and reader thread pool size configurable

    • BZ 1045589 ] first cut at auto-throttling of C* client requests

    • adjusting logging and making readers more configurable

    • BZ 1045589 ] fixing another pootential bug in aggregation code

    • BZ 1045589 ] make sure index entries get deleted

    • BZ 1045589 ] make sure a non-zero default is used for the aggregation batch size

    • BZ 1045589 ] major refactoring of aggregation to limit concurrent reads

    • BZ 1045589 ] adjust throttling on cluster topology change events

    • BZ 1045589 ] recalculate request limit at start up

    • BZ 1045589 ] reduce defaults for aggregation batch size and parallelism

    • BZ 1015628 ] use lz4 compressor

    • BZ 1059412 ] Applying patch to speed up OOB calculations

    • need the row count for the index queries up front

    • remove call to getRemainingSchedules().getAndIncrement()

    • BZ 1033943 ] add initial support for configuring load balancing policy

    • BZ 1064110 ] make metrics aggregation settings configurable

    • fixing tests

    • need to pass obfuscated passord to SchemaManager

    • cqlPort var needs to be cast to integer

    • BZ 1045584 ] adding iniial management support for storage client subsystem

    • update logging and aggregation defaults

  • Libor Zoubek <lzoubek@redhat.com> (23):

    • rest api itests: fixed ContentTest to lookup stock EAP6 first

    • REST: respect order of submitted events

    • BZ 1058187 ] Alert definitions recovery mechanism is unreliable

    • add restart cmd to rhqctl-completion

    • BZ 1042797 ] It is not possible to change "Inet Address" for management network interface from JBoss ON UI

    • BZ 1001633 ] as7 system property created at the time of server group creation will not persist

    • BZ 1038364 ] - Supported version check throws NullPointerException when client is packaged as executable JAR

    • rhq.server.alerted.event.process.delay set to 500ms by default

    • BZ 1029121 ] Unable to delete bundleGroup when assigned to role

    • BZ 1005951 ] ScriptServer resource availability regular expression matching fails due to complete string matching being applied to multiline output

    • BZ 1005951 ] ScriptServer resource availability regular expression matching fails due to complete string matching being applied to multiline output

    • BZ 1054360 ] - RFE: let users run an AS7/EAP6 CLI script with an operation on Standalone or Host Controller resources

    • log exception when we fail pulling package from server

    • BZ 1026473 ] When upgrading bundle with compliance=full deployment folder still contains empty directories not found in bundle

    • BZ 1054360 ] RFE: let users run an AS7/EAP6 CLI script with an operation on Standalone or Host Controller resources

    • CallTimeDataComposite fixed toString

    • BZ 1015719 ] DiscoveryBossBean: Unknown resource type error, unclear from which agent the error is from

    • proudly added myself to bot's awareness

    • BZ 1042828 ] - CallTimeDataManager manager should be able to expose raw data, not just the aggregates

    • BZ 1028224 - Resource/group tag names can include trailing spaces

    • BZ 1027355 - List of storage nodes should display actual hostname, not IP if possible

    • BZ 1026473 ] When upgrading bundle with compliance=full deployment folder

    • Fix MeasurementDataManagerTest#testFindCallTimeDataRaw

  • Lukas Krejci <lkrejci@redhat.com> (50):

    • BZ 998645 ] - Collect method invocation stats on AS7 EJBs.

    • BZ 1009042 ] - make sure rss4j can access Xerces classes in the server.

    • Bumping Clirr maven plugin version to remove the need for our patched version.

    • (Almost) regain back-compat with RHQ 4.4.0 in script bindings.

    • Adding intentional api changes for the new methods ported over from RHQ 4.4.0.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 873866 ] - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA. BZ 873866 - Minimizing API changes between JON 3.1.2.GA and JON 3.2.0.GA.

    • BZ 1011971 ] - Deprecate SystemSetting.SERVER_VERSION

    • Deprecating unused DATA_PURGE_* system settings.

    • BZ 1014524 ] - Fixing CriteriaQuery.iterator()

    • BZ 1003679 ] - New job to check bundle deployment completion.

    • BZ 1016049 ] - Avoid requiring MANAGE_SETTINGS for live avail checks.

    • BZ 1016049 ] - Avoid requiring MANAGE_SETTINGS for live avail checks.

    • BZ 1016049 ] - Avoid requiring MANAGE_SETTINGS for live avail checks.

    • BZ 1016049 ] - Avoid requiring MANAGE_SETTINGS for live avail checks.

    • BZ 743558 ] support for masking and obfuscating the system config passwords

    • BZ 743558 ] - fixing unit and integration tests

    • BZ 743558 ] - Making the upgrade task Oracle-safe.

    • BZ 743558 ] - Another Oracle-related change to upgrade task.

    • BZ 743558 ] - Don't fall over on unset password fields without defaults in system settings

    • BZ 1018233 ] - Fix leaks of model controller client instances

    • BZ 1028636 ] Dampening broken by agent alert condition cache reloads

    • BZ 998645 ] - AS7 EJB invocation stats

    • BZ 998645 ] - Don't spam the agent.log if the AS7 server doesn't support EJB method stats.

    • BZ 1030958 ] - Fixing a syntax error in $CLI/samples/modules/jbossas.js

    • BZ 1032201 ] - Make sure Server and CLI have the same sample modules

    • Adding a test dep on cassandra so that the test classpath resembles the true runtime more and actually can instantiate the local beans.

    • BZ 1033119 ] Find the asked for destination, not just a random one in deploy-to-and-restrart-JBAS.js#updateAppAndRestartJBAS(), require("modules:/jbossas").updateAppAndRestart()

    • BZ 1033155 ] - foreach is not a function. Should use require("modules:/util").foreach().

    • BZ 1035767 ] - Enable altering count query along with alterProjection If CriteriaQueryGeneration.alterProjection changes the projection such that the actual number of returned results changes (e.g. using distinct), the default count query would no longer match and the returned results would be inconsistent with the count found by the count query.

    • Removing old WS client files from CLI codebase

    • BZ 959603 ] - Don't change CWD on CLI startup.

    • Better testability in the ModulesDirectoryScriptSourceProvider.

    • BZ 1042892 ] Don't use ${} notation for shell variables in CLI scripts.

    • BZ 1042892 ] Don't use ${} notation for shell variables in CLI scripts.

    • BZ 959603 ] - Don't change CWD on CLI startup.

    • Better testability in the ModulesDirectoryScriptSourceProvider.

    • BZ 1042892 ] Don't use ${} notation for shell variables in CLI scripts.

    • BZ 959603 ] - Don't change CWD on CLI startup.

    • Better testability in the ModulesDirectoryScriptSourceProvider.

    • BZ 1049608 ] Support quotes and escapes in script args in script plugin

    • BZ 1049608 ] - Changes to arg parsing in script server plugin

    • BZ 1058474 ] log meaningful messages on failure to find/link Augeas lib

    • BZ 1031200 ] - Don't assume unique display names of metrics While having unique names generally is true and even desirable, we were throwing NPE's in the UI due to that assumption.

    • Merged PR #1

  • Michael Burman <yak@iki.fi> (10):

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix the return codes for rhq-server.sh status and clean commands.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix the return codes for rhq-server.sh status and clean commands.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

    • Fix return codes of the rhqctl command, rebased to the 4.10 master.

  • Mike Thompson <mithomps@redhat.com> (58):

    • BZ 818998 ] Support configurable refresh interval in new chart implementation.

    • BZ 1007538 ] - Add versioning to *.js and *.css files to prevent browser caching. Fixed current versioning issues with upgrading from RHQ 4.8.0 with manual versioning of css and js assets.

    • BZ 1009089 ] - Metrics list from previous resource cached when navigating Monitor Sub Tabs. Move the stateful momento containing open chart rows out to the ResourceDetailView instead of at the MetricsTableView which can then be created and destroyed like the other stateless views and state momento passed into the View to restore previous (opened rows) state.

    • BZ 1000175 ] After refactoring auto refresh out with previous fix now fixing proper refresh of expanded charts.

    • BZ 1000175 ] - Cleanup from auto-refresh refactoring. Adjust initial date range back to proper value instead of last stored value.

    • BZ 1010336 ] - Availability axes can sometimes get overwritten when moving from Resource to Resource and changing the time period.

    • Add Date/Time range feedback of period being selected for charting. In addition to showing the time range (i.e., X - Y) also show the length of the interval (i.e, '4 hours'). This applies to all chart types: resource, group, and multi-line.

    • Update Summary metric portlet graphs for Date/Time range feedback of period being selected for charting.

    • BZ 1012589 ] Multi-line Graph Auto-refresh not working.

    • BZ 1003932 ] Metrics Screen Hovers 'stick' to first graph opened in graph list. Switched from local svg coordinate system to global page html coordinate system.

    • BZ 1014292 - Cancelling the confirmation dialog causes that buttons become inactive. The third state of SC.ask -> BooleanCallback(confirm) was not being handled. It can also be null when the close x button is hit. A refreshTableInfo was added to properly handle this state.

    • BZ 1014586 - "Add To Dashboard" button size is too small on certain displays. Gave the button more room to expand by shrinking the dashboards selectItem expanding the button width where it was using default width. We don't have much room to work with in this toolbar so making the button width fixed so i18n won't bump the layout and text label has room to display.

    • Fix a svg chart refresh issue when navigating monitoring subtabs.

    • BZ 1015205 ] - Chart hovers get orphaned after screen refresh. Add a timeout of 5 seconds that will automatically remove the hover at that time.

    • Filter out very small chart selections (< 1 minute) which are most likely a user mistake with mousing around and not a valid selection.

    • Reformat GWT JSNI javascript method with IntelliJ. Eclipse formatter produces unreadable results.

    • Fix bug where hover 'toggle' state can become out of whack, replacing toggle with explicit hide/show. Related to BZ 1015205.

    • BZ 1017440 ] Group Metrics Subtab navigation gets confused graph refresh is lost once subtab navigation begins. Added a listener for subtab navigation.

    • On Multi-Resource Chart window eliminate the 'MeasurementTableFrame' text from appearing in the chart title along with actual measurement.

    • UXD Changes to resource metric monitoring Add to Dashboard component.

    • Reformat GWT JSNI javascript method with IntelliJ. Eclipse formatter produces unreadable results.

    • Fix bug where hover 'toggle' state can become out of whack, replacing toggle with explicit hide/show. Related to BZ 1015205.

    • BZ 1018309 ] - Spaces in Login Name cause header to shift down and not look good.

    • BZ 961366 ] - Error on clicking 'Get Live Value' button for a metric on resource->Monitoring->Tables tab. Now Adding Live Values to metrics screen after discussing design with UXD. Removed Live values button as live values have replaced last values.

    • BZ 1014598 ] - Favicon is missing.

    • BZ 1017266 ] - blank.png images on group list pages

    • BZ 1017434 ] - Compare Metrics Broken for Group Metrics (gives 404). Due to portal.war naming changes with BZ 1000065.

    • BZ 1025886 ] - Group Tabular Metrics table not refreshing via Date/Time selector. Also removed the Refresh button from the Members Report top section as it is redundant with date/time selector component that refreshes.

    • BZ 1026456 ] - deployment complete icon is missing after deploying bundle. The complete and error icons were being pulled from the portal.war. The portal.war url changes have broken the image path. Rather than change the image path to the portal.war image path, I have added the images to the coregui images because they are being used by coregui and not portal.war. In the near future all of the portal.war stuff will go away.

    • BZ 1026607 ] Increase timeout on metric chart hovers from 5 seconds to 15 seconds for better readability.

    • BZ 1027347 ] - Metrics Monitoring Custom Date Range not working. This was fixed in a bug branch that didn't get merged into master (with some additional tweaking).

    • BZ 1028031 ] - Globally uncaught exception while viewing members reporting for auto-group with NaN. Blank values instead of a number are being produced in json for graphs which end up creating invalid json.

    • BZ 1028139 ] - Metric Availability auto-refresh calls are not being cleaned up properly (and grow)

    • BZ 1028139 ] - Metric Availability auto-refresh calls are not being cleaned up properly - finishing additional use cases that were missed. And turn down some of the excessive logging.

    • BZ 1014582 ] Uncaught exception when drag selecting time range on graph image. The auto-refreshes from the date range configuration saves were causing the form to null out. Eliminating the autosave in a this particular circumstance and then doing a delayed manual refresh fixed the problem. Added a dragSelectionRefresh handler to allow more specific handling of drag selection refreshes versus regular refreshes.

    • BZ 1014582 ] Uncaught exception when drag selecting time range on graph image. Fixed a regression with 'Add To Dashboard' that was broken with the Live Value commit. I didn't think that would have any effect at the time on 'Add to Dashboard'.

    • BZ 1014582 ] Uncaught exception when drag selecting time range on graph image. Fixed a particular path sequence that executed in a particular order caused the metrics grid to show up empty.

    • BZ 818998 ] Configurable refresh intervals fixed at 1 min intervals.

    • BZ 1033347 ] On Metrics Page, when doing a custom date range change the date range displayed in the label is the previous date range not custom date range.

    • BZ 1034991 ] Summary Last Metrics values are different values than Chart Last Metric values.

    • BZ 1034852 ] time range change in summary->activity doesn't change time range in monitoring->metrics

    • BZ 1037860 ] Too many Dashboard tabs disappear off screen. Provide a way to easy navigate many tabs by both scrolling tabs and jumping directly to a dashboard tab.

    • BZ 1035443 ] Chart legend not matching the same significant digits as summary metric portlet.

    • BZ 1034512 ] Update Group Metric Graphs to be more like new Resource Metrics Graphs

    • BZ 1034512 ] Update Group Metric Graphs to be more like new Resource Metrics Graphs

    • Upgrade to d3 version version 3.3.13.

    • Upgrade to d3 version version 3.3.13.

    • BZ 909155 ] Error message when setting start date = 00:00 and end date = 24:00. Changed to individual spinnerItem controls that limit the hours to 23 so valid dates are enforced by the choice up front.

    • BZ 1014571 ] UX on selecting graph subselection via dragging. Add the drag selection to the x-axis.

    • BZ 1014571 ] UX on selecting graph subselection via dragging. Based on UXD feedback, make the x-axis selection extend above the x-axis and fill the whole chart (like the regular chart selection).

    • Revert "BZ 1014571 UX on selecting graph subselection via dragging. Based on UXD feedback, make the x-axis selection extend above the x-axis and fill the whole chart (like the regular chart selection). Found some errors with approach reverting."

    • BZ 1039757 ] Metric graph is missing from summary portlet chart if it has been opened on monitoring page. Created a unique chart naming identifier applicable to the summary portlet charts only so the names wouldn't clash.

    • BZ 1064408 ] When expanding a graph in resource monitoring metrics view; the sparkline graphs don't refresh after expansion.

    • Remove UI console log debugging. IE8 + IE9 don't like it.

    • Testing update permissions to github

    • BZ 1031820 ] Add back in the Ability to override custom baseline in baseline graph.

    • JON3-16 Add PatternFly Assets for Look/feel UXD changes.

    • BZ 980765 ] Groups with more than 20 resources don't display in Multi-line composite graph. The d3 color palette gives us 20 shades of colors; this along with the fact that waiting for more than n +1 queries to execute (even though they are in parallel - the browser is still a single thread) makes graphing groups of larger than 20 resources prohibitive. This fix places a maximum bounds of 20 resources for the multi-line graph.

  • Simeon Pinder <spinder@redhat.com> (20):

    • BZ 997669 ] adding core-threads, allow-core-timeout and handoff-executor to templated thread-pools.

    • BZ 997669 ] fix incorrect attribute type.

    • Updating SystemSettings usage for unit test so it's Storage settings aware.

    • Modifying LdapManagerBeanTest to use original settings since the right fix affects other tests as well.

    • updating itest fix for oracle failures.

    • Revert " updating itest fix for oracle failures."

    • BZ 1010841 - a few more storage client changes.

    • fix compilation failure.

    • Zip Path shortening - coregui, part 5 - removing gwt client class cleanup as causing compilation failures with new workspaces on linux.

    • Zip Path shortening - coregui, part 5 - removing gwt client class cleanup as causing compilation failures with new workspaces on linux.

    • BZ 1018179 ] include support for JDG -> InfinispanServer name change.

    • BZ 997669 ] update previous fixes to better filter attribute list for templated components.

    • BZ 997669 ] addition to changes to i)better filter attribute list for templated components ii)include core-thread attribute as was always required despite nillable=true metadata for the same.

    • BZ 997669 ] add missing npe check.

    • Revert " BZ 997669 addition to changes to i)better filter attribute list for templated components"

    • BZ 1034236 ] fix problem with ldap ssl configuration parsing. - this is fallout from a global property change/deprecation that happened months back and we missed one property being chnaged from String to boolean.

    • BZ 1034236 ] One more property check for original and updated property parsing.

    • BZ 1039664 - one more udpate to logged warning to refer to documentation.

    • BZ 1046154 ] fix domain api javadoc issue. Domain was not explicitly included in the javadoc reactor but only coincidentally so with previous releases.

    • Increment apache commons fileupload to 1.3.1.

  • Stefan Negrea <snegrea@redhat.com> (41):

    • BZ 1006315 ] Fixes related to missing dependencies: - added rhq-core-util to the list of module dependencies - removed compression settings since the compression will not be available at all

    • Move test dependencies that do not get build when test compilation is skipped to a special profile. (cherry picked from commit 464a64330230fc32803efdb452d14745c4cc9460)

    • BZ 1010265 ] Add a little more verbiage around unknown host exception; the goal is to point the user towards documentation and dns settings.

    • BZ 1010265 ] One more update to align the exception handling with the current storage installer exception and error mechanism. The error handling is now local to where it occurs.

    • Fix for itest failures dues to properties not being correctly set for storage nodes.

    • BZ 1015835, 1014961 Updated the storage nodes configuration section to always use database persisted properties over server file configuration properties. This is especially important in HA envirnoments to prevent misconfiguration on additional HA nodes.

    • BZ 1014961 ] Add a warning message with the potential consequences for storage nodes installed on loopback addresses.

    • BZ 1015835 ] One more update to the install code. In cases where the admin user has not been created, go through the regular install, update topology procedure.

    • BZ 1004050 ] Minor updates for the way create() works since the session is now externally managed. Also simplified the abstract class code.

    • BZ 1016175 ] Add support for changing the storage password

    • BZ 1016175 ] Add support for changing the storage password

    • BZ 1016175 ] Workaround to SmartGWT bug: password validators were changing the focus after each user input making it unusable

    • BZ 1016175 ] Update and simplifiy some verbiage based on feedback.

    • BZ 1024326 ] The storage node information was not retrieved from the database like all the other store cluster settings. Added code to retrieve the stroge node addresses from the respective table as a comma separated list.

    • BZ 1018213 ] Update the method that checks the permissions for creating the requested storage node data folders to use the storage base dir as the root for relative configuration paths. It was wrongly using the current folder as the base dir for the check. Also added a warning in the configuration file.

    • BZ 1017474 ] Added extra safety checks for the baseline calculation to avoid cases where not enough data is retrieved from the storage cluster.

    • BZ 1025767 ] This fix addresses a thread leak in the Cassandra driver. The leak is to the driver not correctly disposing the internal metrics reporting classes when a connection fails.

    • BZ 1028622 ] Converted the functionality implemented by StorageClusterInitJob and StorageClusterCredentialsJob to an EJB timer on the StorageClientManagerBean. This guarantees that session init and credential refresh happens on every single server of an HA environment.

    • BZ 1028622 ] Increase the timer run interval to 90 seconds after an initial wait of 30 seconds. This will reduce the possibility of having subsequent runs wait on the credentials process to finish.

    • BZ 1029095 ] Fix the session reattachment for overlord.

    • BZ 1016175 ] MetricsDAO was still holding references to statements prepared with the old session. Added a call to reinit the prepared statements after the session is replaced by the newer one.

    • BZ 1028622 ] One more update to the storage init session based on a code review from Jay. This change reduces the chance of a server not starting because the storage cluster is not available (which is the desired outcome).

    • Update unit test due to baseline calculation changes.

    • BZ 1035022 ] Allow schema specific exceptions to bubble up without being wrapped into a Runtime exception.

    • More dependency version consolidation in main pom.

    • Sort and order alphabetically all the dependencies. Also, parametrize all the versions.

    • Remove integration tests profile. No longer needed since all the integrations tests moved to a separate module.

    • A few more dependency version updates.

    • Update test to taking avoid disabled managers. This is especially important for the TagManager that can be disabled via build properties.

    • Version sorting missed due to back-porting patches to current master.

    • Update the metrics simulator to run single threaded simulations that guarantees order and completion of events.

    • Sample configuration JSON for the metrics simulator. JSON comments were enabled in the code prior to this.

    • BZ 1037809, 1024526 Fix for agent file permissions and related umask settings.

    • BZ 1037809 ] Add code set the default umask if the user makes a mistakes and removes the definition from the env script.

    • BZ 1037809 ] Rewrite default umask code to a more traditional shell script syntax to avoid incompatibilities with older systems.

    • A few minor changes to the metrics simulator.

    • Add README to the project.

    • Upgrade exec maven plugin to a version hosted on the JBoss Nexus repositories.

    • Update repository URLs to point to Github.

    • Upgrade to Sigar 1.6.5.132-6 that includes the arm version of the native lib.

    • Allow version 1.8.x of Git in build scripts.

  • Thomas Segismont <tsegismo@redhat.com> (101):

    • BZ 999976 - JBossAS7 - editing XA datasource configuration fails

    • BZ 955363 - Uploading of file content using remote API/CLI requires many times more heap then file size

    • Uncomment ResourceUIBean managed bean declaration to make content pages work again

    • BZ 995088 - Discovery on Solaris 11 (64 bit jdk) results causes an java.lang.ArrayIndexOutOfBoundsException: 1

    • Minor change: wrap log.debug in isDebugEnabled condition in AutoDiscoveryExecutor

    • Fix ResourcesDomainServerTest.loadUpdateResourceConfiguration failure: datasources cannot be configured in enabled

    • BZ 862893 - When availability check fails due to rhq.agent.plugins.availability-scan.timeout being exceeded, the event should be logged at DEBUG

    • BZ 1008570 - Agent shutdown hangs because one thread is still alive

    • Added new scripts to trigger RHQ On Demand jobs

    • BZ 991202 - Excessive warnings of invalid metric calls

    • BZ 1010330 - JBossAS7 server resource is not available after upgrade to jon3.2.er1

    • Fix ResourceContainerTest intermittent failure

    • BZ 1013489 - It is not possible to download an agent from RHQ server (HTTP Status 404)

    • Fix master-compile: rhq-downloads-war may not have a src/main/webapp directory (i.e. on fresh checkouts)

    • BZ 1014300 - java.util.NoSuchElementException thrown when deleting RHQ plugins

    • Make sure testInterruptedComponentInvocationContext cannot read a wrong value (caughtInterruptedComponentInvocation is modified in another thread)

    • Fix ContentHandlerBean.uploadContent throws java.lang.ArrayIndexOutOfBoundsException

    • BZ 1014501 - InvalidPluginConfigurationException in agent log - product type is JBoss EAP 6 instead of JBoss JPP 6

    • #testInterruptedComponentInvocationContext: fix timing issue

    • Fail startup if java.io.tmpdir does not exist, is not readable or is not writable

    • Fix API check 6001: org.rhq.modules.plugins.jbossas7.JBossProductType: Removed field EPP

    • Minor change: add debugEnabled checks in AgentManagerBean

    • BZ 1017246 - Uploading content using remote API/CLI requires many times more heap then file size

    • Fixed TopologyManagerBeanTest: cannot make assumptions on CriteriaQuery iterator internal behavior

    • Fixed CriteriaQuery: without any indication on paging, iterate only on the initially provided list

    • Fixed BundleManagerBeanTest

    • BZ 856846 - When agent platform has not yet been added to inventory, agent continuously logs WARN Cannot get a resource container for an invalid resource ID=0

    • ContentHandlerBean: no need to pollute the server log

    • as7plugin : removed bad copy and paste

    • BZ 1011095 - Give created resources the name supplied by the user even if the managed object has no "name" attribute

    • BZ 1022409 - AS7 plugin: "Hibernate Persistence Unit" service does not show up

    • BZ 1015665 - Remove bogus product name check

    • BZ 1011095 - Give created resources the name supplied by the user even if the managed object has no "name" attribute

    • BZ 1024331 - Storage node does not start in console mode on windows

    • BZ 1025430 - Log filled with warnings about wrong property option source expressions

    • BZ 1018259 - Creating Managed Server JVM hangs In Progress for ages

    • BZ 854773 - as7 Unable to enable datasource on creation

    • Add debug logging to AvailabilityExecutor

    • Minor agent logging changes

    • BZ 1027691 - Start servers in the group ends with read timed out

    • Do not wait execution of #GenericErrorUIBean() to print out exception to server log

    • BZ 1029449 - add createInitialBundleVersionViaContentHandle to BundleManager

    • Removed useless Entity from AS7 plugin descriptor

    • BZ 1031100 - Domain mode: Restart of the managed server fails with read timed out

    • BZ 1031556 - Unexpected MeasurementScheduleRequest with metric name "rhq.availability"

    • BZ 1031771 - Never ending "loading" message and GIF in Monitoring > Metrics tab

    • Log avail and metric collections events at debug level

    • Update branch parameter name of probe and api-check jobs

    • BZ 1033520 - CLI returns exit code 0 even when an error occurs

    • BZ 963160 - CLI does not allow resource group plugin configuration update

    • BZ 1034218 - EAR subdeployments are not discovered for DomainDeployment

    • BZ 1033130 - AS7 Exception during discovery of Query Cache resources of RHQ Server resource

    • Remove finalizer from ASConnection

    • Reverted commit dd1f836e7df7b6be3773b6b15165baa85a7b703e and updated test code which caused NPE

    • Added Tomcat to the list of plugins to validate

    • Revert "Added Tomcat to the list of plugins to validate"

    • BZ 1030063 - Clean up plugin update to work synchronously

    • Comment out Query Cache resource type (perf issue)

    • AS7 plugin minor changes: share base component logger and ASConnection verbose mode

    • BZ 991202 - Excessive warnings of invalid metric calls

    • BZ 968361 - Improve database plugin design to support connection pooling

    • Add BoneCP to Eclipse classpath file

    • BZ 968361 - Improve database plugin design to support connection pooling

    • BZ 968361 - Improve database plugin design to support connection pooling

    • BZ 968361 - Improve database plugin design to support connection pooling

    • BZ 968361 - Improve database plugin design to support connection pooling

    • Add BoneCP to Eclipse classpath file

    • BZ 968361 - Improve database plugin design to support connection pooling

    • BZ 968361 - Improve database plugin design to support connection pooling

    • BZ 968361 - Improve database plugin design to support connection pooling

    • BZ 1051413 - RFE: give plugin authors a tool to monitor MBeans of an application deployed on AS7 or EAP6

    • Avoid unused variable creation

    • Fix UnsupportedOperationException @ ContentManager.handleDiscoveredContent

    • BZ 1025050 - EAP 6 plug-in should not require start script environment variables to be set

    • BZ 1026513 - File systems that are offline or not available are still being reported as UP

    • BZ 977350 - Log events will not be collected if target log file doesn't exist at the time the resource is started by the plug-in container

    • Do not catch an exception just thrown

    • BZ 840403 - (PRODMGT-454) the plugin for JBoss EAP 6 / AS 7 needs to support SSL/TLS encryption and authentication

    • AS7 itests on EAP 6.1.0.Alpha by default

    • BZ 840403 - (PRODMGT-454) the plugin for JBoss EAP 6 / AS 7 needs to support SSL/TLS encryption and authentication

    • Added new test app (javaee6 EAR)

    • BZ 1029221 - Duplicate EAP resources are discovered if JBOSS_HOME can also be a symbolic link

    • Don't let AS7 top level servers availability come UP if server attributes validation fails

    • BZ 1029221 - Duplicate EAP resources are discovered if JBOSS_HOME can also be a symbolic link

    • BZ 1023597 - Connection properties are not persisted with non-XA datasource creation

    • NetServices plugin components log too much

    • Remove vararg calls warning

    • When running itests-2, there is no server props file, so avoid logging a confusing exception

    • BZ 1034218 - EAR subdeployments are not discovered for DomainDeployment

    • ConcurrentModificationException found in RuntimeDiscoveryExecutor

    • Show IPCE messages in the resource errors popup

    • as7 itests: re-enable and fix ManagedServerTest

    • as7 itests: wait for inventory to stabilize before testing update resource config methods

    • Add dynagroup expression template for RHQ Agents

    • as7plugin: let MemoryPoolComponent start even if the underlying server is down

    • as7 itests: Datasource Standalone resources cannot be tested with the simple ResourcesStandaloneServerTest workflow

    • Avoid java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String in MemoryPoolComponent

    • BZ 1059882 - Cluster-connections, bridges and JMS connection factories must define either connectors or discovery-group but not both

    • BZ 918207 - Add missing agent service definition in org.rhq.core.pc.PluginContainer#services

    • Merge pull request #8 from jfclere/master

    • Merge pull request #10 from jfclere/BZ690957

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 12:35:52 UTC, last content change 2014-03-14 12:08:41 UTC.