Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86868

InvalidPathException thrown during Wildfly startup on Windows

    Details

      Description

      Steps to reproduce issue:

      1. Start up Wildfly bundle compiled on Linux on Windows

      Expected result: Bundle starts successfully
      Actual result: InvalidPathException is thrown

      2018-10-31 21:59:11.601 WARN  [ServerService Thread Pool -- 69][VerifyProperties:65] Unable to get resource portal-${easyconf:companyId}.properties
      java.nio.file.InvalidPathException: Illegal char <:> at index 17: portal-${easyconf:companyId}.properties
              at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
              at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
              at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
              at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
              at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
              at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
              at org.jboss.modules.PathResourceLoader.getResource(PathResourceLoader.java:136)
              at org.jboss.modules.ModuleClassLoader.loadResourceLocal(ModuleClassLoader.java:348)
              at org.jboss.modules.ModuleClassLoader$1.loadResourceLocal(ModuleClassLoader.java:95)
              at org.jboss.modules.Module.getResourceAsStream(Module.java:780)
              at org.jboss.modules.ModuleClassLoader.findResourceAsStream(ModuleClassLoader.java:546)
              at org.jboss.modules.ConcurrentClassLoader.getResourceAsStream(ConcurrentClassLoader.java:370)
              at com.liferay.portal.verify.VerifyProperties.getPropertiesResourceAsStream(VerifyProperties.java:61)
              at com.liferay.portal.verify.VerifyProperties.loadPortalProperties(VerifyProperties.java:81)
              at com.liferay.portal.verify.VerifyProperties.verifyPortalProperties(VerifyProperties.java:175)
              at com.liferay.portal.verify.VerifyProperties.doVerify(VerifyProperties.java:44)
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:72)
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:92)
              at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:24)
              at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:72)
              at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:113)
              at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:78)
              at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:47)
              at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:160)
              at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:91)
              at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:251)
              at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:216)
              at com.liferay.portal.events.StartupAction.run(StartupAction.java:78)
              at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1298)
              at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:274)
              at javax.servlet.GenericServlet.init(GenericServlet.java:244)
              at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
              at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
              at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
              at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:250)
              at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:133)
              at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:565)
              at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:536)
              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.start(DeploymentManagerImpl.java:578)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:100)
              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)
      

      Reproduced on:
      WildFly 11.0 + MySQL 5.7
      Portal master GIT ID: 6a6d1b7557de3a5b6d7b63eae6cf8ee40d0c35a0
      Portal 7.1.x GIT ID: 56f2e49febe2014d198d4f1309a4267447cdf545
      Liferay CE 7.1 GA1
      Windows 10

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony.chu Anthony Chu
                Reporter:
                anthony.chu Anthony Chu
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  46 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP5
                  7.1.10.1 SP1
                  7.1.2 CE GA3
                  7.1.X
                  Master