Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3201

Exception when deploying some TCK portlets to Liferay 6.2

    Details

      Description

      Steps to reproduce:

      1. Deploy the bridge-tck-render-policy2-portlet to Liferay 6.2

      If the bug still exists, then the following exception will appear in the logs:

      INFO: Deploying web application directory /home/kylestiemann/Portals/liferay.com/6.2/tomcat-7.0.62/webapps/com.liferay.faces.test.bridge.tck.lifecycle.set.portlet
      Aug 30, 2017 2:41:48 AM org.apache.catalina.startup.TldConfig execute
      INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      log4j:ERROR Could not instantiate class [org.apache.log4j.EnhancedPatternLayout].
      java.lang.ClassNotFoundException: org.apache.log4j.EnhancedPatternLayout
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:264)
              at org.apache.log4j.helpers.Loader.loadClass(Loader.java:178)
              at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:319)
              at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:120)
              at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:641)
              at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
              at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
              at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
              at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
              at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)
              at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
              at com.liferay.faces.util.logging.internal.LoggerLog4JImpl.<init>(LoggerLog4JImpl.java:58)
              at com.liferay.faces.util.logging.internal.LoggerFactoryImpl.<clinit>(LoggerFactoryImpl.java:40)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:264)
              at com.liferay.faces.util.logging.LoggerFactory$ServiceFinder.iterator(LoggerFactory.java:177)
              at com.liferay.faces.util.logging.LoggerFactory.<clinit>(LoggerFactory.java:45)
              at com.liferay.faces.bridge.servlet.BridgeSessionListener.<clinit>(BridgeSessionListener.java:51)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at java.lang.Class.newInstance(Class.java:442)
              at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:116)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4932)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
              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:652)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1263)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1948)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      02:41:48,843 INFO  [localhost-startStop-7][HotDeployEvent:145] Plugin com.liferay.faces.test.bridge.tck.lifecycle.set.portlet requires marketplace-portlet
      02:41:48,843 INFO  [localhost-startStop-7][HotDeployImpl:217] Deploying com.liferay.faces.test.bridge.tck.lifecycle.set.portlet from queue
      02:41:48,843 INFO  [localhost-startStop-7][PluginPackageUtil:1016] Reading plugin package for com.liferay.faces.test.bridge.tck.lifecycle.set.portlet
      Aug 30, 2017 2:41:48 AM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      02:41:48,933 INFO  [localhost-startStop-7][PortletHotDeployListener:344] Registering portlets for com.liferay.faces.test.bridge.tck.lifecycle.set.portlet
      02:41:48,937 WARN  [localhost-startStop-7][PortletLocalServiceImpl:796] Portlet with the name chapter3TestslifecycleTestportlet_WAR_comliferayfacestestbridgetcklifecyclesetportlet is described in portlet.xml but does not have a matching entry in liferay-portlet.xml
      02:41:48,942 INFO  [BridgeImpl] Initializing Liferay Faces Bridge Implementation 2.1.0-SNAPSHOT (Aug 29, 2017 AD)
      02:41:48,947 INFO  [localhost-startStop-7][PortletHotDeployListener:492] 1 portlet for com.liferay.faces.test.bridge.tck.lifecycle.set.portlet is available for use
      

      If the bug is fixed, no bug will appear in the logs.

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann
              Reporter:
              kyle.stiemann Kyle Stiemann
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: