Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1228

business-central doesn't deploy when $EAP_HOME contains space in the name

    Details

    • Affects:
      Release Notes
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      When the name of $EAP_HOME, in which business-central is deployed, contains space in the name (e.g. "/home/user/dir name with space/jboss-eap-7.1") business-central fails to deploy.

      The following error appears in server.log:

      10:34:40,596 ERROR [org.uberfire.backend.server.plugins.engine.PluginManager] (ServerService Thread Pool -- 72) Failed to initialize org.uberfire.backend.server.plugins.engine.PluginManager: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/jhrcek/Servers/BA/7.0/folder%20with%20space/standalone/deployments/business-central.war
      	at org.apache.commons.io.FileUtils.validateListFilesParameters(FileUtils.java:536)
      	at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:512)
      	at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:684)
      	at org.uberfire.backend.server.plugins.engine.PluginManager.findPluginDeploymentDir(PluginManager.java:91)
      	at org.uberfire.backend.server.plugins.engine.PluginManager.init(PluginManager.java:71)
      	at org.uberfire.backend.server.plugins.PluginService.init(PluginService.java:79)
      	at org.uberfire.backend.server.plugins.PluginStartup.contextInitialized(PluginStartup.java:32)
      	at io.undertow.servlet.core.ApplicationListeners.contextInitialized(ApplicationListeners.java:187)
      	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:205)
      	at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManagerImpl.java:174)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
      	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:239)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:99)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ederign Eder Ignatowicz
                  Reporter:
                  ederign Eder Ignatowicz
                  Tester:
                  Jan Hrcek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: