Description

    Steps to reproduce issue:

    1. Import the attached 7.1.10 database into MySQL
    2. Execute upgrade on WebLogic 12c

    Expected result: WebLogic upgrade executes successfully
    Actual result: WebLogic upgrade fails:

    upgrade-legacy-database:
         [java] JVM arguments: -Dfile.encoding=UTF8 -Duser.country=US -Duser.language=en -Duser.timezone=GMT -Xmx2048m -Dexternal-properties=portal-upgrade.properties -Dserver.detector.server.id=weblogic
         [java] Bad level value for property: com.bea.console.utils.MBeanUtils.level
         [java] Bad level value for property: com.bea.console.utils.MBeanChangeManager.level
         [java] Bad level value for property: com.bea.console.actions.messages.MessagesAction.level
         [java] Bad level value for property: com.bea.console.actions.BaseConsoleAction.level
         [java] Bad level value for property: com.bea.console.utils.MasterControlProgram.level
         [java] Bad level value for property: org.apache.struts.level
         [java] Bad level value for property: com.bea.console.utils.ConsoleMessagesBackingFile.level
         [java] Bad level value for property: org.apache.beehive.netui.pageflow.scoping.internal.level
         [java] Loading jar:file:/opt/dev/projects/github/liferay-portal/bundles/weblogic-12.2.1/domains/liferay/autodeploy/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
         [java] Loading file:/opt/dev/projects/github/liferay-portal/bundles/weblogic-12.2.1/domains/liferay/autodeploy/ROOT/WEB-INF/classes/system-ext.properties
         [java] Can't load log handler "com.bea.console.utils.ConsoleLogHandler"
         [java] java.lang.ClassNotFoundException: com.bea.console.utils.ConsoleLogHandler
         [java] java.lang.ClassNotFoundException: com.bea.console.utils.ConsoleLogHandler
         [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
         [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
         [java] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
         [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
         [java] 	at java.util.logging.LogManager$5.run(LogManager.java:965)
         [java] 	at java.security.AccessController.doPrivileged(Native Method)
         [java] 	at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:958)
         [java] 	at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:1578)
         [java] 	at java.util.logging.LogManager.access$1500(LogManager.java:145)
         [java] 	at java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:1667)
         [java] 	at java.util.logging.Logger.getHandlers(Logger.java:1777)
         [java] 	at java.util.logging.Logger.log(Logger.java:735)
         [java] 	at java.util.logging.Logger.doLog(Logger.java:765)
         [java] 	at java.util.logging.Logger.log(Logger.java:788)
         [java] 	at com.liferay.portal.kernel.log.Jdk14LogImpl.info(Jdk14LogImpl.java:80)
         [java] 	at com.liferay.portal.kernel.log.LogWrapper.info(LogWrapper.java:123)
         [java] 	at com.liferay.portal.util.PropsUtil.<clinit>(PropsUtil.java:385)
         [java] 	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:197)
         [java] 	at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:100)
         [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
         [java] 	at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)
         [java] Loading jar:file:/opt/dev/projects/github/liferay-portal/bundles/weblogic-12.2.1/domains/liferay/autodeploy/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
         [java] Loading file:/opt/dev/projects/github/liferay-portal/bundles/weblogic-12.2.1/domains/liferay/autodeploy/ROOT/WEB-INF/classes/portal-ext.properties
         [java] Loading jar:file:/opt/dev/projects/github/liferay-portal/bundles/tools/portal-tools-db-upgrade-client/com.liferay.portal.tools.db.upgrade.client.jar!/portal-upgrade.properties
         [java] Loading file:/opt/dev/projects/github/liferay-portal/bundles/tools/portal-tools-db-upgrade-client/portal-upgrade-ext.properties
         [java] Loading file:/opt/dev/projects/github/liferay-portal/bundles/tools/portal-tools-db-upgrade-client/portal-upgrade-database.properties
         [java] Exception in thread "main" java.lang.reflect.InvocationTargetException
         [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [java] 	at java.lang.reflect.Method.invoke(Method.java:498)
         [java] 	at com.liferay.portal.tools.db.upgrade.client.DBUpgraderLauncher.main(DBUpgraderLauncher.java:55)
         [java] Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of java/net/URLClassLoader) previously initiated loading for a different type with name "org/osgi/service/resolver/ResolveContext"
         [java] 	at java.lang.ClassLoader.defineClass1(Native Method)
         [java] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
         [java] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         [java] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
         [java] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
         [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
         [java] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
         [java] 	at java.security.AccessController.doPrivileged(Native Method)
         [java] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
         [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
         [java] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
         [java] 	at org.apache.felix.resolver.ResolverImpl$ResolveSession.<init>(ResolverImpl.java:102)
         [java] 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374)
         [java] 	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:329)
         [java] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveRevisions(ModuleResolver.java:1115)
         [java] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveRevisionsInBatch(ModuleResolver.java:1069)
         [java] 	at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:986)
         [java] 	at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:167)
         [java] 	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:526)
         [java] 	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:484)
         [java] 	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:474)
         [java] 	at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:362)
         [java] 	at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:153)
         [java] 	at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:69)
         [java] 	at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)
         [java] 	at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:24)
         [java] 	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.initFramework(ModuleFrameworkImpl.java:284)
         [java] 	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.initFramework(ModuleFrameworkUtilAdapter.java:64)
         [java] 	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:217)
         [java] 	at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:199)
         [java] 	at com.liferay.portal.tools.DBUpgrader.main(DBUpgrader.java:100)
         [java] 	... 5 more
    

    Reproduced on:
    WebLogic 12c + MySQL 5.7
    Portal master GIT ID: a92c8188d1d67c64aff7a17fbbfe42289e7e9b9c

    Not reproducible on:
    WebLogic 12c + MySQL 5.7
    Portal master GIT ID: 0d4ca9d0aab0b9d40799070b12b29babef28d8c6

      Attachments

        Issue Links

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              anthony.chu Anthony Chu
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                29 weeks, 1 day ago

                Packages

                Version Package