Installing package in offline mode should fail if server is running
-------------------------------------------------------------------
Key: GERONIMO-440
URL: http://nagoya.apache.org/jira/browse/GERONIMO-440
Project: Apache Geronimo
Type: Improvement
Components: deployment
Versions: 1.0-M2
Reporter: Aaron Mulder
The deployment feature of building an executable package and installing it into the server's
configuration store should not work if the server is running. We don't want to allow the
deploy tool and the server to make conflicting changes, etc.
The easy way to detect if the server is running would be to try to connect to its JMX remoting
interface, but this throws a security exception. Probably it would be good enough to detect
the security exception as opposed to a "nothing listening on that port" or "whatever's there
isn't Geronimo". But none of that will help if the server is running and listening on a nonstandard
port.
Perhaps the server should have a lock file while running or something like that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|