Foren
The requested resource (/jsf1/PortletServlet/invoke) is not available
hamid sol, geändert vor 17 Jahren.
The requested resource (/jsf1/PortletServlet/invoke) is not available
Junior Member Beiträge: 49 Beitrittsdatum: 14.09.06 Neueste Beiträge
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
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, geändert vor 16 Jahren.
RE: The requested resource (/jsf1/PortletServlet/invoke) is not available
New Member Beiträge: 3 Beitrittsdatum: 31.01.07 Neueste Beiträge
I got the problem also.
Any idea for this?
Any idea for this?
Vikas R Khengare, geändert vor 14 Jahren.
RE: The requested resource (/jsf1/PortletServlet/invoke) is not available
Junior Member Beiträge: 58 Beitrittsdatum: 01.08.08 Neueste Beiträge
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
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
Henrique Simoes de Andrade, geändert vor 13 Jahren.
RE: The requested resource (/jsf1/PortletServlet/invoke) is not availabl
Regular Member Beiträge: 165 Beitrittsdatum: 30.04.10 Neueste Beiträge
This is an old post, but... helped me a lot!
Is there another way to do it in Liferay 6.x?
Thanks!
Is there another way to do it in Liferay 6.x?
Thanks!
Enrique Valdes Lacasa, geändert vor 9 Jahren.
RE: The requested resource (/jsf1/PortletServlet/invoke) is not available
Junior Member Beiträge: 92 Beitrittsdatum: 29.07.14 Neueste Beiträge
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."
"...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."
I-A Kotopoulos, geändert vor 8 Jahren.
RE: The requested resource (/jsf1/PortletServlet/invoke) is not available
Junior Member Beiträge: 44 Beitrittsdatum: 14.01.14 Neueste Beiträge
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?