Details

      Description

      Steps to reproduce on windows:

      1) build a master at commit e195b726cddfe031f1033e8680b98a209ec5c980
      2) try to upgrade a database and use the attached properties files for the upgrade tool
      3) upgrade tools fails with the following error message:

      Loading jar:file:/C:/liferay-portal/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      Loading jar:file:/C:/liferay-portal/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading jar:file:/C:/liferay-portal/tools/portal-tools-db-upgrade-client/com.liferay.portal.tools.db.upgrade.client.jar!/portal-upgrade.properties
      Loading file:/C:/liferay-portal/tools/portal-tools-db-upgrade-client/portal-upgrade-ext.properties
      Loading file:/C:/liferay-portal/tools/portal-tools-db-upgrade-client/portal-upgrade-database.properties
      12:30:20,839 INFO  [main][DialectDetector:75] Determine dialect for MySQL 5.6
      12:30:20,924 INFO  [main][DialectDetector:148] Found dialect org.hibernate.dialect.MySQLDialect
      12:30:22,804 INFO  [main][BundleStartStopLogger:35] STARTED org.eclipse.osgi_3.10.200.v20150831-0856 [0]
      java.lang.RuntimeException: java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/liferay-portal/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/\util-taglib.jar
      	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:238)
      	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:183)
      	at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:97)
      Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/liferay-portal/tomcat-8.0.32/webapps/ROOT/WEB-INF/lib/\util-taglib.jar
      	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 java.nio.file.Paths.get(Paths.java:84)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._setUpInitialBundles(ModuleFrameworkImpl.java:1056)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:408)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:99)
      	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:212)
      	... 2 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 18 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.1 CE GA2