Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-371

Decision-central fails to deploy on EAP with space in its path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.GA
    • 7.0.0
    • Decision Central
    • None
    • RHEl7, JBoss EAP 7.1

    • Release Notes
    • RC2
    • CR1
    • Workaround Exists
    • Hide

      Do not use directory with SPACE in it

      Show
      Do not use directory with SPACE in it
    • Hide

      1. Download latest EAP and decision-central deployable
      2. Unzip EAP somewhere so there is a SPACE in a directory name
      3. Finish the setup and run ./standalone.sh
      4. You should see error in console log

      Show
      1. Download latest EAP and decision-central deployable 2. Unzip EAP somewhere so there is a SPACE in a directory name 3. Finish the setup and run ./standalone.sh 4. You should see error in console log

      If I setup EAP into a folder that has a space in it e.g. /path/to/multiple containers/jboss-eap-7.1
      and then deploy a zip deployable on top of it. The deployment fails with following exception:

      08:42:02,262 ERROR [org.uberfire.backend.server.plugins.engine.PluginManager] (ServerService Thread Pool -- 76) Failed to initialize org.uberfire.backend.server.plugins.engine.PluginManager: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-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:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      
      08:42:02,265 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 76) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./decision-central: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./decision-central: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:84)
      	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:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
      	at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:241)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:99)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81)
      	... 6 more
      Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
      	at org.uberfire.backend.server.plugins.engine.PluginManager.init(PluginManager.java:79)
      	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)
      	... 8 more
      Caused by: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-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)
      	... 21 more
      
      08:42:02,274 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "decision-central.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./decision-central" => "java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
          Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
          Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
          Caused by: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war"}}
      08:42:02,287 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "kie#postgresql-9.4.1207#" (runtime-name : "kie#postgresql-9.4.1207#")
      08:42:02,287 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "kie#mysql-5.1.38#" (runtime-name : "kie#mysql-5.1.38#")
      08:42:02,287 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed "kie#mariadb-1.3.4#" (runtime-name : "kie#mariadb-1.3.4#")
      08:42:02,288 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 38) WFLYSRV0010: Deployed "decision-central.war" (runtime-name : "decision-central.war")
      08:42:02,290 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0186:   Services which failed to start:      service jboss.undertow.deployment.default-server.default-host./decision-central: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory: /home/dhanak/eap-fresh/trick%20trick/jboss-eap-7.1/standalone/deployments/decision-central.war
      
      08:42:02,368 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      08:42:02,374 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
      08:42:02,374 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
      08:42:02,374 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: JBoss EAP 7.1.0.GA (WildFly Core 3.0.10.Final-redhat-1) started (with errors) in 31726ms - Started 933 of 1165 services (2 services failed or missing dependencies, 374 services are lazy, passive or on-demand)
      

              eignatow Eder Ignatowicz
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: