论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Seeya S Kudtarker
Invoker Filter error
2013年3月23日 上午2:06
答复

Seeya S Kudtarker

等级: Regular Member

帖子: 187

加入日期: 2013年1月15日

最近的帖子

Whenever I try to run some portlets I get the following error:

at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)


Other portlets run successfully but in my console I always get the above error everytime when I go to Control Panel.

I checked the liferay-web.xml (tomcat/webapps/ROOT/WEB-INF) file to check if there is InvokerFilter but there is none.



I checked the following two links:
http://issues.liferay.com/browse/LPS-25973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs

and

http://www.liferay.com/community/forums/-/message_boards/message/11404138

But still I cannot figure out the problem.. What could possibly be the problem?
Victor Zorin
RE: Invoker Filter error
2013年3月23日 上午3:41
答复

Victor Zorin

等级: Liferay Legend

帖子: 1178

加入日期: 2008年4月14日

最近的帖子

The same happens intermittently with our healthy portlets which never caused this behavior in previous versions, and by previous I mean any CE version expect the one which we downloaded about 1 months ago.
The latest version also produces periodic errors 'Could not initialize class com.liferay.portal.kernel.util.InetAddressUtil$LocalHostNameHolder' as described in http://www.liferay.com/community/forums/-/message_boards/message/22273926.

Invoker Servlets are automatically injected into web.xml of your portlets, so they probably cause this loopy behavior.
Seeya S Kudtarker
RE: Invoker Filter error
2013年3月23日 上午7:38
答复

Seeya S Kudtarker

等级: Regular Member

帖子: 187

加入日期: 2013年1月15日

最近的帖子

Victor Zorin:
Thanks for your quick reply!!
Guess what? Me and me project guide fixed it. We removed the portlet from the Control Panel that was causing this problem. (Actually other portlets were running but in my console I was getting this Invoker Filter error). We ran the server again after removing the portlet that was giving this error. The invoker error wasn't there. Again we put the portlet that was causing the error and surprisingly this time the Invoker error did not crop up again.

I was surprised but still I do not understand why this happens. I am using Liferay 6.1

Regards

Seeya
Sampsa Sohlman
RE: Invoker Filter error
2013年3月23日 上午11:17
答复

Sampsa Sohlman

LIFERAY STAFF

等级: Regular Member

帖子: 225

加入日期: 2007年9月27日

最近的帖子

Hi Seeya,

Which version you are running?

The issue LPS-25973 has been closed as duplicate and it should been fixed with LPS-24723.

From Git I can see two commits for LPS-24723

220cc519c0e024e02b6dd3d8476723c1913d43f3 and following source format for previous 51f41eaea44bec2ee86676fbb949571e29a0ee10

Hopefully, this helps.
Seeya S Kudtarker
RE: Invoker Filter error
2013年3月24日 上午4:44
答复

Seeya S Kudtarker

等级: Regular Member

帖子: 187

加入日期: 2013年1月15日

最近的帖子

Sampsa Sohlman:

Thanks for the links!!
I had gone through http://issues.liferay.com/browse/LPS-25973 and http://issues.liferay.com/browse/LPS-24723 before and read one the forums which suggested to remove invoker-filters from liferay-web.xml if they were getting created. But there were no inoker filters in my liferay-web.xml


I tried restarting the server and removing the portlet from the control panel which caused this problem and again introducing it in the control panel. It helped. I do not know how that happened. I have been using for past two months only. I am still in learning phase.
I am using Liferay 6.1
Do such things happen intermittently with good/healthy portlets?

Regards
Seeya
Sampsa Sohlman
RE: Invoker Filter error
2013年3月24日 上午6:11
答复

Sampsa Sohlman

LIFERAY STAFF

等级: Regular Member

帖子: 225

加入日期: 2007年9月27日

最近的帖子

InvokeFilter is located at ROOT/WEB-INF/web.xml, but you should not take it off. Since that is the this filter which makes possible to hook your own filters and it is actually using liferay-web.xml to read real these filters.

More accurately what is your Liferay version, I mean minor version? Liferay CE 6.1.1 or are you working with EE?
Seeya S Kudtarker
RE: Invoker Filter error
2013年3月24日 下午9:48
答复

Seeya S Kudtarker

等级: Regular Member

帖子: 187

加入日期: 2013年1月15日

最近的帖子

Sampsa Sohlman
Hi,
I am using Liferay CE 6.1.1 version.

Regards

Seeya
Mika Koivisto
RE: Invoker Filter error
2013年3月25日 上午10:43
答复

Mika Koivisto

LIFERAY STAFF

等级: Liferay Legend

帖子: 1512

加入日期: 2006年8月7日

最近的帖子

It's not in plugins because of that but rather because some Liferay filters depend on features it provides like regex ignore or include patterns etc.
Seeya S Kudtarker
RE: Invoker Filter error
2013年3月25日 下午8:42
答复

Seeya S Kudtarker

等级: Regular Member

帖子: 187

加入日期: 2013年1月15日

最近的帖子

Mika Koivisto:

Thanks Mika! So does it happen intermittently like this with healthy portlets?