The JSF2 portlet always waiting on loading!
I deploy the example to liferay 6.0.3,but the page no response.always on loading!
and the console output:
16:09:05,734 DEBUG [BridgeImpl:196] doFacesRequest(renderRequest, renderResponse) this=[BridgeImpl.java@1a8b91c]
16:09:05,734 DEBUG [BridgeImpl:196] doFacesRequest(renderRequest, renderResponse) this=[BridgeImpl.java@1a8b91c]
I get the example from svn source, the detail error:
12010-7-23 16:55:27 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
2严重: A web application created a ThreadLocal with key of type [null] (value [com.sun.faces.util.Util$1@262bf5]) and a value of type [java.util.HashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
316:55:28,765 INFO [PortletHotDeployListener:222] Registering portlets for jsf2-portlet
416:55:28,890 ERROR [PortletBagFactory:290] java.lang.NullPointerException
5java.lang.NullPointerException
6 at org.portletfaces.bridge.GenericFacesPortlet.init(GenericFacesPortlet.java:126)
7 at com.liferay.portlet.InvokerPortletImpl.init(InvokerPortletImpl.java:244)
8 at com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:216)
9 at com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:139)
10 at com.liferay.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:40)
11 at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:287)
12 at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:458)
13 at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:255)
14 at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:103)
15 at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:106)
16 at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:151)
17 at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:33)
18 at com.liferay.portal.kernel.servlet.PortletContextListener.portalInit(PortletContextListener.java:102)
19 at com.liferay.portal.kernel.util.PortalInitableUtil.init(PortalInitableUtil.java:37)
20 at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:98)
21 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
22 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
23 at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)
24 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
25 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
26 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
27 at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
28 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
29 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
30 at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
31 at java.lang.Thread.run(Thread.java:595)
3216:55:28,937 INFO [PortletHotDeployListener:371] 1 portlet for jsf2-portlet is available for use
How can i find the problem?
Please sign in to flag this as inappropriate.