voyent
icecore:refresh causing LocalPushGroupManager errors?  XML
Forum Index -> Components
Author Message
SteveC.viasat

Joined: 13/Nov/2012 09:55:21
Messages: 13
Offline


I am using icecore:refresh like this:

Code:
 <icecore:refresh interval="60" disabled="{adminHandler.editVisible}" />
 


The user can keep the application open and in use for hours at a time.

Over time, my application becomes unresponsive, and tomcat must be restarted. I am not sure if the refresh is causing these errors or not. Are these related? I am not using Push, but I see Push errors.

I see many errors like this in the tomcat logs:

Apr 29, 2014 9:04:25 PM org.icefaces.impl.application.SessionExpiredListener sessionDestroyed
WARNING: An exception occurred while trying to invoke @PreDestroy on window scoped beans: null
Apr 29, 2014 9:04:25 PM org.icepush.LocalPushGroupManager$QueueConsumerTask run
WARNING: Notification queue encountered
java.lang.NegativeArraySizeException
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at org.icepush.LocalPushGroupManager.scanForExpiry(LocalPushGroupManager.java:204)
at org.icepush.LocalPushGroupManager.access$2200(LocalPushGroupManager.java:28)
at org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:396)
at org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:473)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Apr 29, 2014 9:05:25 PM org.icepush.LocalPushGroupManager$QueueConsumerTask run
WARNING: Notification queue encountered
java.lang.NegativeArraySizeException
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at org.icepush.LocalPushGroupManager.scanForExpiry(LocalPushGroupManager.java:204)
at org.icepush.LocalPushGroupManager.access$2200(LocalPushGroupManager.java:28)
at org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:396)
at org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:473)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

Eventually when the application is unresponsive, I see errors like this:

May 10, 2014 2:35:35 PM org.icepush.LocalPushGroupManager push
INFO: Notification for group 'F011B3D9665F67E93FA28EA086193629.jvm1' was dropped, queue maximum size reached.
ted.goddard

Joined: 26/Oct/2004 00:00:00
Messages: 874
Offline


Which specific version of ICEfaces are you using and are you using both Push and refresh?

Can you run the application in a browser with a network console (such as Chrome) and take a look at the page updates? Are they larger than expected (such as containing the body tag)?
[Email]
SteveC.viasat

Joined: 13/Nov/2012 09:55:21
Messages: 13
Offline


I am using ICEFaces 3.2.0, from pom:

<dependency>
<groupId>org.icefaces</groupId>
<artifactId>icefaces</artifactId>
<version>3.2.0</version>
</dependency>

INFO:
ICEsoft Technologies Inc.
ICEpush 3.2.0
Build number: 9
Revision: 31934

I am not using Push explicitly, that is why I am confused.
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team