掲示板

Problem Icefaces3-chat-portlet

thumbnail
11年前 に sofiane akli によって更新されました。

Problem Icefaces3-chat-portlet

New Member 投稿: 6 参加年月日: 12/04/16 最新の投稿
Hello,

I'm beginning to liferay
when I add the portlet icefaces3-chat-portlet in my portal, I get this Warning message on eclipse:

17:41:29,937 WARN [DataPaginator:232] DataTable A0017:f:j_idt7:j_idt9:users has invalid rows attribute.
17:41:29,940 WARN [DataPaginator:232] DataTable A0017:f:j_idt7:j_idt9:users has invalid rows attribute.

and in portal :
Showing 0 - 0 of 0 results.

could you help me solve this problem please

thank you
Liferaye 6.1.0
thumbnail
11年前 に Neil Griffin によって更新されました。

RE: Problem Icefaces3-chat-portlet

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
You may have already done this, but I wanted to mention some special instructions that are on the demos page for the icefaces3-chat-portlet:

Note: The following entry must be present in the Liferay portal-ext.properties file in order for the portlet to be able to hear about users that sign-in/sign-out:
live.users.enabled=true


After you add that entry, you'll have to restart Tomcat (or your app server). Then you will have to login as a few different users at the same time in order to see anyone in the list.
thumbnail
11年前 に sofiane akli によって更新されました。

RE: Problem Icefaces3-chat-portlet

New Member 投稿: 6 参加年月日: 12/04/16 最新の投稿
Thank you for your reply emoticon
Indeed I did this configuration but without success: s

another suggestion?

thank you

添付ファイル:

thumbnail
11年前 に Neil Griffin によって更新されました。

RE: Problem Icefaces3-chat-portlet

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
I tried to reproduce the error, but ran into LPS-24822 which is causing a NullPointerException. Here is the partial stacktrace:

15:47:13,332 ERROR [MainServlet:461] com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException
com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException
at com.liferay.portal.events.LoginPostAction.run(LoginPostAction.java:103)

This issue is fixed in Liferay 6.1.10 EE GA1, but unfortunately a fix will not appear for CE until 6.1.1 CE GA2 is released.
thumbnail
11年前 に sofiane akli によって更新されました。

RE: Problem Icefaces3-chat-portlet

New Member 投稿: 6 参加年月日: 12/04/16 最新の投稿
ok, in meantime I will try to solve the NPE
thank you
thumbnail
11年前 に Rami MASMOUDI によって更新されました。

RE: Problem Icefaces3-chat-portlet

New Member 投稿: 10 参加年月日: 12/04/17 最新の投稿
Hi guys emoticon

I have the same problem when i have installed the ICEfaces3 Chat Portlet 3.1.0-BETA2 (Liferay 6.1.x)
it's deploy well and when i use it i have this WARN and i dosen't find any users online

09:09:37,810 INFO [PortletHotDeployListener:433] 1 portlet for icefaces3-chat-portlet is available for use
09:09:49,753 WARN [DataPaginator:232] DataTable A0017:f:j_idt7:j_idt9:users has invalid rows attribute.
09:09:49,797 WARN [DataPaginator:232] DataTable A0017:f:j_idt7:j_idt9:users has invalid rows attribute.

it is there a solution or a track so I can solve the beuge please?

thanks

i use Liferay v6.1 CE Server (Tomcat7).
thumbnail
11年前 に Neil Griffin によって更新されました。

RE: Problem Icefaces3-chat-portlet

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
Due to LPS-24822 the icefaces3-chat-portlet portlet won't work unless it is running in Liferay 6.1.10 EE GA1, or 6.1.1 CE GA2 when it is released.
thumbnail
11年前 に Rami MASMOUDI によって更新されました。

RE: Problem Icefaces3-chat-portlet

New Member 投稿: 10 参加年月日: 12/04/17 最新の投稿
Thank you for your quick response Niel emoticon
but it is not possible to correct the beug for Liferay 6.1.0 EC?
Thanks again
thumbnail
11年前 に Neil Griffin によって更新されました。

RE: Problem Icefaces3-chat-portlet

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
If you get LoginPostAction.java from the 6.1.x branch and compile it for yourself, you can put the compiled .class file here as a patch:

tomcat/webapps/ROOT/WEB-INF/classes/com/liferay/portal/events/LoginPostAction.class

You can compile it easily by downloading the 6.1.0 GA1 source code and importing it into Eclipse as an "Existing Project". Eclipse will know how to compile it for you.

Otherwise, you can use the Ant build scripts to compile the portal source.
11年前 に Cesar Quinteiro によって更新されました。

RE: Problem Icefaces3-chat-portlet

Junior Member 投稿: 34 参加年月日: 11/10/18 最新の投稿
Neil Griffin:
Due to LPS-24822 the icefaces3-chat-portlet portlet won't work unless it is running in Liferay 6.1.10 EE GA1, or 6.1.1 CE GA2 when it is released.

I have already 6.1.1 CE GA2, and icefaces3-chat-portlet-3.1.0-rc2

I have add a entrance "live.users.enabled=true" in portal.ext.properties
I have create 3 users (test + 2 more) and login in diferent browsers (same machine)

Even all that I still get empty list of users and the error :

1:38:17,183 WARN [DataPaginator:232] DataTable A0017:f:j_idt7:j_idt9:users has invalid rows attribute.

What else should I check?

Same times also I get the following error:

Exception in thread "liferay/live_users-1" java.lang.NoClassDefFoundError: com/liferay/portal/kernel/json/JSONFactoryUtil
at com.liferay.faces.demos.bean.ApplicationModelBean.receive(ApplicationModelBean.java:72)
thumbnail
11年前 に Neil Griffin によって更新されました。

RE: Problem Icefaces3-chat-portlet

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
I'll be testing this as part of FACES-1378. Please click the "watch issue" link in JIRA for further updates.
thumbnail
11年前 に Neil Griffin によって更新されました。

RE: Problem Icefaces3-chat-portlet

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
The icefaces3-chat-portlet is working now and has been refactored to look more like the Liferay chat portlet. See FACES-1385 for more info. For now you can get the WAR from the snapshot repository. The fixes will appear in the GA1 release of Liferay Faces.