Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:
      1. Deploy test-log-portlet

      INFO: Deploying web application directory D:\github\private\master-bundles\tomcat-7.0.42\webapps\test-log-portlet
      18:28:48,639 INFO  [localhost-startStop-2][HotDeployEvent:130] Plugin test-log-portlet requires marketplace-portlet
      18:28:48,641 INFO  [localhost-startStop-2][HotDeployImpl:198] Deploying test-log-portlet from queue
      18:28:48,644 INFO  [localhost-startStop-2][PluginPackageUtil:1015] Reading plugin package for test-log-portlet
      log4j:ERROR Could not create an Appender. Reported error follows.
      java.lang.ClassCastException: org.apache.log4j.rolling.RollingFileAppender cannot be cast to org.apache.log4j.Appender
              at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:248)
              at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
              at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
              at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
              at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:436)
              at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:999)
              at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
              at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:815)
              at com.liferay.util.log4j.Log4JUtil.configureLog4J(Log4JUtil.java:113)
              at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initLogger(PluginPackageHotDeployListener.java:182)
              at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:130)
              at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:61)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:206)
              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:164)
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
              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:54)
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
              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:1113)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
      Apr 09, 2014 6:28:48 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      18:28:48,786 INFO  [localhost-startStop-2][PortletHotDeployListener:243] Registering portlets for test-log-portlet
      18:28:48,855 INFO  [localhost-startStop-2][PortletHotDeployListener:392] 1 portlet for test-log-portlet is available for use

      Expected result:
      Successful deploy.

      Actual result:
      Deployment with errors. (See above)

        Attachments

          Activity

            People

            Assignee:
            cristina.gonzalez Cristina Gonzalez
            Reporter:
            robert.srisamang Robert Srisam-ang (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 1 week, 4 days ago

                Packages

                Version Package
                Master