Mercurial > hg > release > thermostat-1.0
view agent/cli/src/main/resources/com/redhat/thermostat/agent/cli/impl/strings.properties @ 1382:7caa7f9afb14
Separate storage command from agent-cli
Backport of PR1608.
We get an exception that the RMI registry port is already
in use for running "thermostat storage --status". This happens because
agent-core's activator creates a thread pool for JMX connections, which
in turn creates the RMI registry. My proposed solution is to separate
the storage command from the agent bundles, currently it resides in
agent-cli. This patch creates a storage-cli bundle that houses
StorageCommand and its related classes. There are then some
modifications to the ServiceCommand in order to invoke the storage
command without having a bundle dependency on storage-cli, which would
also entail having to export StorageCommand.
Reviewed-by: vanaltj
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-December/009022.html
PR1648
author | Elliott Baron <ebaron@redhat.com> |
---|---|
date | Mon, 10 Feb 2014 19:08:50 -0500 |
parents | 2932f90a008f |
children |
line wrap: on
line source
STARTING_AGENT = starting agent now... SERVICE_FAILED_TO_START_DB = Service failed to start due to error starting storage. LAUNCHER_UNAVAILABLE = Launcher is not available UNEXPECTED_RESULT_STORAGE = Unexpected result from storage.