-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello, can anyone suggest why the following might have occurred?
May 11, 2009 8:37:07 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet auEngine threw exception org.zkoss.zk.ui.DesktopUnavailableException: Unable to activate destroyed desktop, [Desktop gkqq] at org.zkoss.zk.ui.impl.UiEngineImpl.doActivate(UiEngineImpl.java:1534) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:968) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:480) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:370) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:379)
ZK 3.6.1FL
Thanks.
/Daryl
I don't use Timer, nor ZUL - it's all Java/Richlet. Probably doesn't matter...
> Will your application "invalidate" session without ZK's attention (asychronously)?
My app is a "hybrid" of Zk and my own framework. The "log out" function is performed by my own framework that invalidates the session, and of course the session will timeout. I don't know if my log out qualifies as an asynchronous invalidation. Can you give me more details about what you mean?
Is there anything in particular I should look for in web.xml/zk.xml? I don't really want to post the whole.
/Daryl
Per the stack trace:
1. A ZK event fired from browser, DhtmlUpdateServlet take over.
2. Get the desktop from the session
3. Then tried to lock the desktop and found it was already destroyed.
We suspect that between 2 and 3, the session is invalidate or the desktop is destroyed and
removed from the session asynchronously.
A possible scenario might be
a. A ZK event is handled and runs to step 2
b. Your framework logout function invalidate the session.
Since the possibility is low, "exactly wrong timing between 2 and 3" so it is rarely seen?
Regarding web.xml/zk.xml, I simply hope that might give some hints if I read them.
/henri
Hi,
I am also facing the same issue in our production environment and it is happening frequently, can some one help me out in fixing the below issue:
[6/6/11 19:37:36:818 EST] 0000003b WebApp E [Servlet Error]-:
org.zkoss.zk.ui.DesktopUnavailableException: Unable to activate destroyed desktop, [Desktop
gpp9]
at org.zkoss.zk.ui.impl.UiEngineImpl.doActivate(UiEngineImpl.java:1534)
at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:968)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:480)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:370)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:593)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:534)
please let me know the reason why the issue comes?
Thanks,
Satya.
Hi Henri,
org.zkoss.zk.ui.DesktopUnavailableException: Unable to activate destroyed desktop, [Desktop gqe91]
I am getting this error once in a while in the production. Our Web application developed on ZK and is deployed in WAS 6.1.0.33.
I read ur previous answere
1. A ZK event fired from browser, DhtmlUpdateServlet take over.
2. Get the desktop from the session
3. Then tried to lock the desktop and found it was already destroyed.
We suspect that between 2 and 3, the session is invalidate or the desktop is destroyed and
removed from the session asynchronously.
Can u please explain bit regarding this
wht does it mean locking the desktop and is destroyed and is removed from the session asynchronously.
And wht might be causing this desktop destroy :-
communication issue/delay in server response/multiple browsers opened by the same user/browser settings (IE7)/DNS-firewall settings etc..
we are getting this now in production, expecting answer ASAP.
Thanks
Mone
Asked: 2009-05-12 12:09:31 +0800
Seen: 740 times
Last updated: Jul 17