[jboss-jira] [JBoss JIRA] (WFCORE-2259) Setting JBOSS_MODULEPATH is lost for second start of embed-server

Panagiotis Sotiropoulos (JIRA) issues at jboss.org
Thu Feb 2 04:32:00 EST 2017


Panagiotis Sotiropoulos created WFCORE-2259:
-----------------------------------------------

             Summary: Setting JBOSS_MODULEPATH is lost for second start of embed-server
                 Key: WFCORE-2259
                 URL: https://issues.jboss.org/browse/WFCORE-2259
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI, Server
            Reporter: Panagiotis Sotiropoulos
            Assignee: Brian Stansberry
            Priority: Critical
             Fix For: 3.0.0.Alpha23


When {{embed-server}} command is used more times in the CLI and a custom {{JBOSS_MODULEPATH}} is configured, then only the first server start uses the correct module path.
The subsequent `embed-server` call results in error:
{code}
Cannot start embedded server: WFLYEMB0022: Cannot invoke 'start' on embedded process: WFLYSRV0118: Determined modules directory does not exist: /tmp/jboss-eap-7.0-no-modules/modules
{code}

Using the  {{JBOSS_MODULEPATH}} environment variable is documented in https://access.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform/7.0/single/configuration-guide/#define_an_external_jboss_eap_module_directory



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list