Author |
Message |
14/09/2010 11:58:40
|
tdrasch
Power User
Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline
|
Hi Community,
I've a problem with LongPolling.
It is a little bit strange, because I already used this functionality until now.
Now I am receiving a NullPointerException for
"LongPollingMgr.add(m_longPolling);" (called on the constructor)
with
"DefaultLongPolling m_longPolling = new DefaultLongPolling();"
as an attribute.
I got this exception after the update of the latest (todays 2010(0)913) version of CC. But I'm not sure if this depends on the update.
regards,
Thomas
|
--------------------------------
Good karma - for the moment...
why is the word abbreviation so long? |
|
|
14/09/2010 12:46:10
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
...yes, we added a bit (if the session "dies" then now all long polling threads are released)... - but this should not affect the general long polling management...
When do you add the ILongPolling instance? Is it possible that you do this in a situation wherer there has not been a session initialization yet?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
14/09/2010 13:27:53
|
tdrasch
Power User
Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline
|
I do it in the constructor of the UI class.
I think I have a session at this time - at least I have a sessionID
Code:
public class SupervisorProgressUI extends InteractionUI implements Serializable {
...
DefaultLongPolling m_longPolling = new DefaultLongPolling();
boolean m_longPollingRendered = false;
public SupervisorProgressUI(IDispatcher dispatcher)
{
super(dispatcher);
try{
...
LongPollingMgr.add(m_longPolling);
}
....
regards
|
--------------------------------
Good karma - for the moment...
why is the word abbreviation so long? |
|
|
14/09/2010 13:42:46
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
OK, thanks for the info.
Hmm, ...
we will check and provide an update short term (tomorrow morning), if this is fine with you.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
14/09/2010 13:45:32
|
tdrasch
Power User
Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline
|
Hi Björn,
no problem.
Let me know, if I can help you in any way.
Thanks in advance.
Regards
|
--------------------------------
Good karma - for the moment...
why is the word abbreviation so long? |
|
|
15/09/2010 14:17:59
|
tdrasch
Power User
Joined: 13/03/2009 19:09:45
Messages: 81
Location: Villingen-Schwenningen
Offline
|
Community,
after direct support by CC:
The following entry was missing in the web.xml:
Code:
<listener>
<listener-class>org.eclnt.jsfserver.util.HttpSessionListenerDelegator</listener-class>
</listener>
now it works.
Thanks
|
--------------------------------
Good karma - for the moment...
why is the word abbreviation so long? |
|
|
|