[jboss-jira] [JBoss JIRA] (WFLY-6209) Unable to specify custom configuration directory via -Djboss.server.config.dir
Sergey Lisovoy (JIRA)
issues at jboss.org
Mon Feb 15 06:27:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-6209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Lisovoy updated WFLY-6209:
---------------------------------
Steps to Reproduce:
1. Create file {{config-migration.cli}} with commands:
{code}
embed-server --admin-only --server-config=config.xml
/subsystem=messaging:migrate
/extension=org.jboss.as.messaging:remove
{code}
2. Try to execute from command line following:
{code}
/opt/wildfly-10.0.0.Final/bin/jboss-cli.sh -Djboss.server.config.dir=/opt/myapp/config --file=config-migration.cli
{code}
Produces error:
Cannot start embedded server: WFLYEMB0022: Cannot invoke 'start' on embedded process: WFLYCTL0214: Could not get main file: config.xml. Specified files must be relative to the configuration dir: /opt/wildfly-10.0.0.Final/standalone/configuration
was:
1. Create file with commands:
{code}
embed-server --admin-only --server-config=config.xml
/subsystem=messaging:migrate
/extension=org.jboss.as.messaging:remove
{code}
2. Try to execute from command line following:
{code}
/opt/wildfly-10.0.0.Final/bin/jboss-cli.sh -Djboss.server.config.dir=/opt/myapp/config --file=config-migration.cli
{code}
Produces error:
Cannot start embedded server: WFLYEMB0022: Cannot invoke 'start' on embedded process: WFLYCTL0214: Could not get main file: config.xml. Specified files must be relative to the configuration dir: /opt/wildfly-10.0.0.Final/standalone/configuration
> Unable to specify custom configuration directory via -Djboss.server.config.dir
> ------------------------------------------------------------------------------
>
> Key: WFLY-6209
> URL: https://issues.jboss.org/browse/WFLY-6209
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 10.0.0.CR5, 10.0.0.Final
> Reporter: Sergey Lisovoy
> Assignee: Jason Greene
>
> Broken support for server config files location customization via: {{jboss.server.config.dir}}.
> Previous Wildfly 10 versions till CR4 it works as expected. Broken since WF10.0.0.CR5
> See Steps to reproduce.
> Error:
> Cannot start embedded server: WFLYEMB0022: Cannot invoke 'start' on embedded process: WFLYCTL0214: Could not get main file: config.xml. Specified files must be relative to the configuration dir: /opt/wildfly-10.0.0.Final/standalone/configuration
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list