Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Labels:
      None
    • Environment:
      Tomcat 7.0.27 + MySQL 5. Portal 6.1.x GIT ID: 91a56b744d87f7314ef68dc8dff2800e4224ef46.
      Plugins 6.1.x GIT ID: cdb2ef661a71b90704392c3722692662ec8581ed.

      Description

      The Audit hook deploys with 'Error registering hook' exceptions:

      17:17:40,393 INFO  [HookHotDeployListener:530] Registering hook for audit-hook
      Loading file:/F:/bundles/tomcat-7.0.27/temp/1-audit-hook/WEB-INF/classes/portal.properties
      17:17:40,431 ERROR [HotDeployImpl:165] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for audit-hook
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for audit-hook
              at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:271)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:162)
              at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:91)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
              at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:151)
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:141)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:63)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:55)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:103)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.ClassCastException: $Proxy394 cannot be cast to com.liferay.portal.service.persistence.BasePersistence
              at com.liferay.portal.deploy.hot.HookHotDeployListener.getPersistence(HookHotDeployListener.java:861)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initModelListener(HookHotDeployListener.java:1436)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initModelListeners(HookHotDeployListener.java:1467)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.initPortalProperties(HookHotDeployListener.java:1573)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.doInvokeDeploy(HookHotDeployListener.java:543)
              at com.liferay.portal.deploy.hot.HookHotDeployListener.invokeDeploy(HookHotDeployListener.java:268)
              ... 24 more
      

        Attachments

          Activity

            People

            • Assignee:
              oriana.tham Oriana Tham (Inactive)
              Reporter:
              catherine.lui Catherine Lui (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 47 weeks ago