Mercurial > hg > release > thermostat-1.0
view storage/cli/src/test/resources/testDbConfig.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 | agent/cli/src/test/resources/testDbConfig.properties@40be72a1345c |
children |
line wrap: on
line source
PORT=27518 BIND=127.0.0.1 ## SSL config fluff SSL_ENABLE=true SSL_PEM_FILE=/path/to/some/pem/file.pem SSL_KEY_PASSWORD=somepassword