留言板

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

hamid sol,修改在17 年前。

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

Junior Member 帖子: 49 加入日期: 06-9-14 最近的帖子
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,修改在16 年前。

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

New Member 帖子: 3 加入日期: 07-1-31 最近的帖子
I got the problem also.

Any idea for this?
thumbnail
Vikas R Khengare,修改在14 年前。

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

Junior Member 帖子: 58 加入日期: 08-8-1 最近的帖子
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,修改在13 年前。

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

Regular Member 帖子: 165 加入日期: 10-4-30 最近的帖子
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,修改在9 年前。

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

Junior Member 帖子: 92 加入日期: 14-7-29 最近的帖子
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,修改在8 年前。

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

Junior Member 帖子: 44 加入日期: 14-1-14 最近的帖子
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?