[jboss-as7-dev] Providing server name on command line?
Brian Stansberry
brian.stansberry at redhat.com
Tue Mar 29 11:24:15 EDT 2011
On 3/29/11 9:54 AM, Heiko W.Rupp wrote:
>
> Am 29.03.2011 um 16:20 schrieb Brian Stansberry:
>> Users shouldn't be able to change the name of running servers. (Maybe
>> they can, but that would be a bug.)
>
> Ok, great.
>
>> If you need to be able to read the server name from the OS process info,
>> it should be a regular feature, not depending on something like the
>> -Dorg.jboss.boot.log.file that we're free to change.<hack-alert>If need
>
> Exactly :)
>
>> be could add a bogus arg to org.jboss.as.server like --name
>> server-one.</hack-alert>
>
> Could this be a property like -Dorg.jboss.as.server.name=server-one ?
>
Does it need to be?
The <hack-alert/> referred to the whole notion of adding extra info to
the command used to launch the process just so that info's externally
visible. I actually prefer passing it as an arg to org.jboss.as.server.
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
More information about the jboss-as7-dev
mailing list