Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
lutz Bremen
Reject processAction for .... on 49
October 11, 2012 1:57 AM
Answer

lutz Bremen

Rank: Expert

Posts: 296

Join Date: October 20, 2011

Recent Posts

Hey guys,

i get this error in my console.

1Reject processAction for http://www........../forum   on 49


What causes this error and how to fix it?

Thanks in advance
Bart Simpson
RE: Reject processAction for .... on 49
October 11, 2012 2:30 AM
Answer

Bart Simpson

Rank: Liferay Master

Posts: 523

Join Date: August 29, 2011

Recent Posts

Could you give the stack trace and some information on when / how does it happen?
lutz Bremen
RE: Reject processAction for .... on 49
October 11, 2012 2:44 AM
Answer

lutz Bremen

Rank: Expert

Posts: 296

Join Date: October 20, 2011

Recent Posts

what is a stack trace?

so when i start the server it gives me that error message. on the site /forum there is a forum portlet with 2 entries.
i dont even understand what "on 49" is?

could it be that s.th. is wrong with the portlet?
Jitendra Rajput
RE: Reject processAction for .... on 49
October 11, 2012 6:08 AM
Answer

Jitendra Rajput

Rank: Liferay Master

Posts: 742

Join Date: January 7, 2011

Recent Posts

Are you getting this error with OOB portlet or custom portlet ?

If its a custom portlet then are you making any AJAX call from your portlet (jQuery.Ajax()) ?
lutz Bremen
RE: Reject processAction for .... on 49
October 11, 2012 7:24 AM
Answer

lutz Bremen

Rank: Expert

Posts: 296

Join Date: October 20, 2011

Recent Posts

he normal forum portlet.
Srikanth Konjarla
RE: Reject processAction for .... on 49
October 11, 2012 7:37 AM
Answer

Srikanth Konjarla

Rank: Junior Member

Posts: 51

Join Date: October 24, 2008

Recent Posts

Try setting "portlet.add.default.resource.check.enabled=false" in your portal-ext.properties file and restart the server (The default is true). Here is the full description of the property.
 1
 2#
 3    # Portlets that have configured liferay-portlet.xml with the element
 4    # "add-default-resource" set to true will allow those portlets to be
 5    # dynamically added to any page by any user. This is useful
 6    # (and necessary) for some portlets that need to be dynamically added to a
 7    # page, but it can also pose a security risk because it also allows any user
 8    # to do it.
 9    #
10    # Set this property to true to add a security check around this behavior.
11    # If set to true, then portlets can only be dynamically added to a page if
12    # it contains a proper security token. This security token is automatically
13    # passed when using a portlet URL from one portlet to another portlet.
14    #
15    # Modify the property "portlet.add.default.resource.check.whitelist" to
16    # whitelist certain portlets from this security check.
17    #
18    # The security check utilizes the implementation set in the property
19    # "auth.token.impl".
20    #
21    portlet.add.default.resource.check.enabled=true
Mayur Patel
RE: Reject processAction for .... on 49
June 5, 2013 8:54 AM
Answer

Mayur Patel

Rank: Expert

Posts: 341

Join Date: November 17, 2010

Recent Posts

Thanks Srikanth for pointing out.

After adding below property in liferay-portlet.xml of portlet, issue is resolved emoticon

1<add-default-resource>true</add-default-resource>