-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello every body
I am using zkoss3.0.3 in WLS 10
It's good and very nice and work perfectly.
Som times i get the following Exception and all zkoss futures dos not work, and there is noway until i restart the WLS server. it seems there is a deserializing problem in weblogic session,
Is anyone know why this problem occur, and how can i fix it?
<Aug 12, 2008 9:26:25 AM IRDT> <Error> <HTTP> <BEA-101362> <[weblogic.serv let.internal.WebAppServletContext@1c57a92 - appName: 'amad', name: 'amad', context-path: '/amad'] could not deserialize the servlet-context scoped attribute with name: "javax.zkoss.web.servlets.ExtendletContexts"
java.io.NotSerializableException: org.zkoss.web.util.resource.ClassWebReso urce$ClassWebContext
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java :1075)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 291)
at java.util.HashMap.writeObject(HashMap.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso rImpl.java:39)
Truncated. see log file for complete stacktrace
>
<Aug 12, 2008 9:26:25 AM IRDT> <Error> <HTTP> <BEA-101002> <[weblogic.serv let.internal.WebAppServletContext@1c57a92 - appName: 'amad', name: 'amad', context-path: '/amad'] Could not deserialize the context attribute.
java.io.NotSerializableException: org.zkoss.web.util.resource.ClassWebReso urce$ClassWebContext
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java :1075)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java: 291)
at java.util.HashMap.writeObject(HashMap.java:985)
at sun.reflect.GeneratedMethodAccessor530.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho dAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
>
org.zkoss.zk.ui.UiException: Page not found: ~./zul/html/messagebox.zul
at org.zkoss.zk.ui.http.ExecutionImpl.getPageDefinition(ExecutionI mpl.java:327)
at org.zkoss.zk.ui.impl.AbstractExecution.createComponents(Abstrac tExecution.java:169)
at org.zkoss.zk.ui.Executions.createComponents(Executions.java:140 )
at org.zkoss.zul.Messagebox.show(Messagebox.java:135)
at org.zkoss.zul.Messagebox.show(Messagebox.java:89)
at com.nict.amad.zk.UnitEventListener.onClick_delete(UnitEventList ener.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso rImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho dAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.nict.amad.zk.ZkEventListener.onEvent(ZkEventListener.java:5 6)
at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.jav a:197)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java :143)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventPr ocessingThreadImpl.java:483)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcess ingThreadImpl.java:419)
As what I saw, your environment was trying to serialize the whole Servlet and this attempt will break ZK's assumptions.
ZK's assumption is, in a clustering environment, only the Session objects need to be synchronized in each backup node but not the whole Servlet.
So, can you describe why you want to serialize the whole Servlet? or, you just did some false configuration which cause this problem?
Asked: 2008-08-12 04:38:04 +0800
Seen: 208 times
Last updated: Aug 13 '08