11 June, 2013

Reject action/serveResource url

If you are getting below error during any action/serveresource URL call ,

"Reject serveResource/processAction for http://localhost.sapient.com:8080/web/guest/home on mysample_WAR_mysample"


Use below solution to get it resolve:

Add <add-default-resource>true</add-default-resource> to your portlet in liferay-portlet.xml.

e.g.
<portlet>
:
<header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
:
<add-default-resource>true</add-default-resource>
</portlet>

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...