[jboss-jira] [JBoss JIRA] (WFLY-5149) Accept properties file in scripts for starting as a service
Eduardo Silva (JIRA)
issues at jboss.org
Wed Feb 3 16:56:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-5149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158522#comment-13158522 ]
Eduardo Silva commented on WFLY-5149:
-------------------------------------
Seems that this feature is already done since Wildfly 8:
https://docs.jboss.org/author/display/WFLY8/Command+line+parameters
...
Instead of passing the parameters directly, you can put them into a properties file, and pass the properties file to the script, as in the two examples below.
$JBOSS_HOME/bin/domain.sh --properties=/some/location/jboss.properties
$JBOSS_HOME/bin/domain.sh -P=/some/location/jboss.properties
...
> Accept properties file in scripts for starting as a service
> -----------------------------------------------------------
>
> Key: WFLY-5149
> URL: https://issues.jboss.org/browse/WFLY-5149
> Project: WildFly
> Issue Type: Feature Request
> Components: Scripts
> Affects Versions: 10.0.0.Beta1
> Environment: Microsoft Windows
> Reporter: Roman Syroeshko
> Fix For: Awaiting Volunteers
>
>
> Currently $JBOSS_HOME\bin\service\service.bat does not allow passing properties file. We run WildFly in domain mode using the followed command.
> {code}
> domain.bat --properties=jboss.properties
> {code}
> Now, it's impossible to install WildFly as a service like that without hacking out-of-the-box files.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list