Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Where was the bug?:
      Java
    • Similar Issues:
      Show 4 results 

      Description

      17:52:14,171 INFO [localhost-startStop-2][UpgradeProcess:175] Upgrading com.liferay.akismet.hook.upgrade.UpgradeProcess_1_0_0
      17:52:14,176 ERROR [localhost-startStop-2][HotDeployImpl:191] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for akismet-portlet
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for akismet-portlet
      at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
      at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:277)
      at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:188)
      at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:96)
      at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
      at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:159)
      at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:149)
      at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
      at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
      at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
      at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
      at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:111)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
      at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Duplicate column name 'classNameId'
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:181)
      at com.liferay.portal.upgrade.UpgradeProcessUtil._upgradeProcess(UpgradeProcessUtil.java:113)
      at com.liferay.portal.upgrade.UpgradeProcessUtil.upgradeProcess(UpgradeProcessUtil.java:66)
      at com.liferay.portal.deploy.hot.HookHotDeployListener.updateRelease(HookHotDeployListener.java:2455)
      at com.liferay.portal.deploy.hot.HookHotDeployListener.initPortalProperties(HookHotDeployListener.java:1926)
      at com.liferay.portal.deploy.hot.HookHotDeployListener.initPortalProperties(HookHotDeployListener.java:1576)
      at com.liferay.portal.deploy.hot.HookHotDeployListener.doInvokeDeploy(HookHotDeployListener.java:564)
      at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:274)
      ... 24 more
      Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Duplicate column name 'classNameId'
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:3250)
      at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1355)
      at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1270)
      at com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(NewProxyStatement.java:64)
      at com.liferay.portal.dao.db.BaseDB.runSQL(BaseDB.java:264)
      at com.liferay.portal.dao.db.BaseDB.runSQL(BaseDB.java:284)
      at com.liferay.portal.dao.db.BaseDB.runSQL(BaseDB.java:277)
      at com.liferay.portal.kernel.dao.db.BaseDBProcess.runSQL(BaseDBProcess.java:35)
      at com.liferay.akismet.hook.upgrade.UpgradeProcess_1_0_0.doUpgrade(UpgradeProcess_1_0_0.java:31)
      at com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:178)
      ... 31 more

        Issue Links

          Activity

          Hide
          Peter Shin added a comment -

          1. Startup clean bundle
          2. Deploy Akismet portlet

          Show
          Peter Shin added a comment - 1. Startup clean bundle 2. Deploy Akismet portlet
          Hide
          Ginson Ren added a comment -

          PASSED Manual Testing using the following steps:

          1. Startup clean bundle.
          2. Deploy Akismet portlet.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e1e7a6378c892138712604128065086889df9803.
          Plugins 6.2.x EE GIT ID: 2300ff0060b6a0c11a05334ac324167886a68c00.

          Upgrade process for Akismet failed and console will throw error messages.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 95b5b727169c5d887bd71b3526dd6fdb89d4c7e7.
          Plugins 6.1.x EE GIT ID: 8bff4519786c1e0515b15fefd94641c7ba3c5817.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e1e7a6378c892138712604128065086889df9803.
          Plugins 6.2.x EE GIT ID: 193572c3e45607ef7b38fab2b6e3d1498fd55774.

          The Akismet will deploy successful.

          Show
          Ginson Ren added a comment - PASSED Manual Testing using the following steps: 1. Startup clean bundle. 2. Deploy Akismet portlet. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e1e7a6378c892138712604128065086889df9803. Plugins 6.2.x EE GIT ID: 2300ff0060b6a0c11a05334ac324167886a68c00. Upgrade process for Akismet failed and console will throw error messages. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 95b5b727169c5d887bd71b3526dd6fdb89d4c7e7. Plugins 6.1.x EE GIT ID: 8bff4519786c1e0515b15fefd94641c7ba3c5817. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e1e7a6378c892138712604128065086889df9803. Plugins 6.2.x EE GIT ID: 193572c3e45607ef7b38fab2b6e3d1498fd55774. The Akismet will deploy successful.

            People

            • Assignee:
              Ginson Ren
              Reporter:
              Peter Shin
              Recent user:
              Esther Sanz
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 18 weeks, 6 days ago

                Development

                  Structure Helper Panel