Neil,
I'm on tomcat-6.0.18 with Liferay 6.1. I also noticed the following log message while starting up the application.
Apr 25, 2012 4:03:04 PM com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp
INFO: JSF1027: The ELResolvers for JSF were not registered with the JSP container.
The libs are -
jsf-api-2.1.3-b02.jar
jsf-impl-2.1.3-b02.jar
liferay-faces-alloy-3.1.0-BETA1.jar
liferay-faces-bridge-impl-3.1.0-BETA1.jar
liferay-faces-portal-3.1.0-BETA1.jar
portlet-bridge-api-2.0.0.jar
primefaces-3.2.jar
jboss-el-2.0.0.GA.jar
commons-fileupload-1.2.2.jar
commons-io-1.3.2.jar
The deployed web.xml looks like,
1
2<?xml version="1.0"?>
3
4<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
5
6 <display-name>portlets</display-name>
7
8 <context-param>
9 <param-name>parentContextKey</param-name>
10 <param-value>rootContext</param-value>
11 </context-param>
12
13 <context-param>
14 <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
15 <param-value>true</param-value>
16 </context-param>
17
18 <context-param>
19 <param-name>com.sun.faces.expressionFactory</param-name>
20 <param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
21 </context-param>
22
23 <context-param>
24 <param-name>javax.faces.PROJECT_STAGE</param-name>
25 <param-value>Development</param-value>
26 </context-param>
27
28 <filter>
29 <filter-name>Invoker Filter - ERROR</filter-name>
30 <filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
31 <init-param>
32 <param-name>dispatcher</param-name>
33 <param-value>ERROR</param-value>
34 </init-param>
35 </filter>
36
37 <filter>
38 <filter-name>Invoker Filter - FORWARD</filter-name>
39 <filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
40 <init-param>
41 <param-name>dispatcher</param-name>
42 <param-value>FORWARD</param-value>
43 </init-param>
44 </filter>
45
46 <filter>
47 <filter-name>Invoker Filter - INCLUDE</filter-name>
48 <filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
49 <init-param>
50 <param-name>dispatcher</param-name>
51 <param-value>INCLUDE</param-value>
52 </init-param>
53 </filter>
54
55 <filter>
56 <filter-name>Invoker Filter - REQUEST</filter-name>
57 <filter-class>com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter</filter-class>
58 <init-param>
59 <param-name>dispatcher</param-name>
60 <param-value>REQUEST</param-value>
61 </init-param>
62 </filter>
63
64 <filter-mapping>
65 <filter-name>Invoker Filter - ERROR</filter-name>
66 <url-pattern>/*</url-pattern>
67 <dispatcher>ERROR</dispatcher>
68 </filter-mapping>
69
70 <filter-mapping>
71 <filter-name>Invoker Filter - FORWARD</filter-name>
72 <url-pattern>/*</url-pattern>
73 <dispatcher>FORWARD</dispatcher>
74 </filter-mapping>
75
76 <filter-mapping>
77 <filter-name>Invoker Filter - INCLUDE</filter-name>
78 <url-pattern>/*</url-pattern>
79 <dispatcher>INCLUDE</dispatcher>
80 </filter-mapping>
81
82 <filter-mapping>
83 <filter-name>Invoker Filter - REQUEST</filter-name>
84 <url-pattern>/*</url-pattern>
85 <dispatcher>REQUEST</dispatcher>
86 </filter-mapping>
87
88 <listener>
89 <listener-class>com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener</listener-class>
90 </listener>
91
92 <listener>
93 <listener-class>com.liferay.portal.kernel.servlet.PortletContextListener</listener-class>
94 </listener>
95
96 <listener>
97 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
98 </listener>
99
100
101 <servlet>
102 <servlet-name>Faces Servlet</servlet-name>
103 <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
104 <load-on-startup>1</load-on-startup>
105 </servlet>
106
107 <servlet>
108 <servlet-name>Set Portlet Class Loader Servlet</servlet-name>
109 <servlet-class>com.liferay.portal.kernel.servlet.SetPortletClassLoaderServlet</servlet-class>
110 <load-on-startup>0</load-on-startup>
111 </servlet>
112
113 <servlet>
114 <servlet-name>testJsf</servlet-name>
115 <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class>
116 <init-param>
117 <param-name>portlet-class</param-name>
118 <param-value>javax.portlet.faces.GenericFacesPortlet</param-value>
119 </init-param>
120 <load-on-startup>1</load-on-startup>
121 </servlet>
122
123 <servlet-mapping>
124 <servlet-name>testJsf</servlet-name>
125 <url-pattern>/testJsf/*</url-pattern>
126 </servlet-mapping>
127
128 <jsp-config>
129 <taglib>
130 <taglib-uri>http://liferay.com/tld/aui</taglib-uri>
131 <taglib-location>/WEB-INF/lib/aui.tld</taglib-location>
132 </taglib>
133 <taglib>
134 <taglib-uri>http://java.sun.com/portlet_2_0</taglib-uri>
135 <taglib-location>/WEB-INF/lib/liferay-portlet.tld</taglib-location>
136 </taglib>
137 <taglib>
138 <taglib-uri>http://liferay.com/tld/portlet</taglib-uri>
139 <taglib-location>/WEB-INF/lib/liferay-portlet-ext.tld</taglib-location>
140 </taglib>
141 <taglib>
142 <taglib-uri>http://liferay.com/tld/security</taglib-uri>
143 <taglib-location>/WEB-INF/lib/liferay-security.tld</taglib-location>
144 </taglib>
145 <taglib>
146 <taglib-uri>http://liferay.com/tld/theme</taglib-uri>
147 <taglib-location>/WEB-INF/lib/liferay-theme.tld</taglib-location>
148 </taglib>
149 <taglib>
150 <taglib-uri>http://liferay.com/tld/ui</taglib-uri>
151 <taglib-location>/WEB-INF/lib/liferay-ui.tld</taglib-location>
152 </taglib>
153 <taglib>
154 <taglib-uri>http://liferay.com/tld/util</taglib-uri>
155 <taglib-location>/WEB-INF/lib/liferay-util.tld</taglib-location>
156 </taglib>
157 </jsp-config>
158
159</web-app>
Be kell jelentkezni ahhoz, hogy ez helytelenként legyen megjelölve.