Salve a tutti!
Per avvicinarmi al mondo di jsf2 e liferay (liferay 6.06 e tomcat 6.29) mi sono scaricato una portlet di prova
sample !
Quando provo a deployarla mi appare la seguente dicitura nella console:
AVVERTENZA: A docBase /Users/smartsr_2/Documents/liferay-portal-6.0.6/tomcat-6.0.29/webapps/sample_jsf_rich-portlet inside the host appBase has been specified, and will be ignored
21-ott-2011 14.53.38 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
14:53:39,243 INFO [PortletHotDeployListener:220] Registering portlets for sample_jsf_rich-portlet
14:53:39,315 INFO [PortletHotDeployListener:369] 1 portlet for sample_jsf_rich-portlet is available for use
21-ott-2011 14.53.39 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
21-ott-2011 14.53.39 org.apache.catalina.core.StandardContext start
GRAVE: Context [/sample_jsf_rich-portlet] startup failed due to previous errors
14:53:39,940 INFO [ExtHotDeployListener:205] Extension environment for sample_jsf_rich-portlet will not be undeployed
14:53:39,942 INFO [PortletHotDeployListener:404] Unregistering portlets for sample_jsf_rich-portlet
14:53:39,944 INFO [PortletHotDeployListener:435] 1 portlet for sample_jsf_rich-portlet was unregistered
21-ott-2011 14.53.39 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/sample_jsf_rich-portlet] created a ThreadLocal with key of type [null] (value [javax.faces.context.FacesContext$1@31b49b5]) and a value of type [com.sun.faces.config.InitFacesContext] (value [com.sun.faces.config.InitFacesContext@74840baa]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Ho provato anche altri esempi trovati in rete relativi a portlet che utilizza jsf ma nn funzionano! Al contrario se deployouna semplice portlet questa viene correttamente visuliazzata.
Cosa potrebbe essere?
Grazie in anticipo
Please sign in to flag this as inappropriate.