Foros de discusión

The requested resource (/jsf1/PortletServlet/invoke) is not available

hamid sol, modificado hace 17 años.

The requested resource (/jsf1/PortletServlet/invoke) is not available

Junior Member Mensajes: 49 Fecha de incorporación: 14/09/06 Mensajes recientes
Hello,
i managed to deploy my jsf portlet and it was registered successfully. But on starting the portlet i get a
"The requested resource (/jsf1/PortletServlet/invoke) is not available" within my portlet.
What do i miss?
any idea? thanks
huali qiu, modificado hace 16 años.

RE: The requested resource (/jsf1/PortletServlet/invoke) is not available

New Member Mensajes: 3 Fecha de incorporación: 31/01/07 Mensajes recientes
I got the problem also.

Any idea for this?
thumbnail
Vikas R Khengare, modificado hace 14 años.

RE: The requested resource (/jsf1/PortletServlet/invoke) is not available

Junior Member Mensajes: 58 Fecha de incorporación: 1/08/08 Mensajes recientes
Hi

You need to make entry in web.xml about the portlet that you have added newly

I am sure you have make the entries in liferay-display.xml, liferay-portlet.xml and portlet.xml. But when we are adding portlet in exsting plugin we need to make entry in WEB.XML also
eg.
<servlet>
<servlet-name>WorkspaceAdministrator</servlet-name>
<servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class>
<init-param>
<param-name>portlet-class</param-name>
<param-value>com.aikon.web.portlet.WorkspaceAdministratorPortlet</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>WorkspaceAdministrator</servlet-name>
<url-pattern>/WorkspaceAdministrator/*</url-pattern>
</servlet-mapping>


Thank you

regards
Vikas K
thumbnail
Henrique Simoes de Andrade, modificado hace 13 años.

RE: The requested resource (/jsf1/PortletServlet/invoke) is not availabl

Regular Member Mensajes: 165 Fecha de incorporación: 30/04/10 Mensajes recientes
This is an old post, but... helped me a lot! emoticon

Is there another way to do it in Liferay 6.x?

Thanks!
thumbnail
Enrique Valdes Lacasa, modificado hace 9 años.

RE: The requested resource (/jsf1/PortletServlet/invoke) is not available

Junior Member Mensajes: 92 Fecha de incorporación: 29/07/14 Mensajes recientes
Quoting from the follwoing link:http://xcafebabe.blogspot.com/2013/07/liferay-error-requested-resource-my.html , this might be a solution. It is working for me.

"...remove any special characters (like whitespaces, underscores and yes, even the '-' characters) from any of the <portlet-name> attributes. And yeah, you have to do that in a lot of places such as the liferay-display.xml, liferay-portlet.xml and portlet.xml files."
thumbnail
I-A Kotopoulos, modificado hace 8 años.

RE: The requested resource (/jsf1/PortletServlet/invoke) is not available

Junior Member Mensajes: 44 Fecha de incorporación: 14/01/14 Mensajes recientes
I have the same problem. The suggestion is to remove the '-' from any portlet name? In which files? Isn't there a more safe solution? Does updating the web.xml file apply for the same purpose?