-
1. Re: seam remoting snapshot model exsample can't save
nickarls Dec 22, 2009 8:01 AM (in response to alin.heyoulin.qq.com)Shane is probably the best person to answer this but I think he's currently working on conversation stuff for remoting (although I think he's on X-mas break ATM)
-
2. Re: seam remoting snapshot model exsample can't save
shane.bryzak Dec 22, 2009 8:10 AM (in response to alin.heyoulin.qq.com)I only checked in this code a few hours ago, and yes I know it's broken... How do you even know what it's supposed to do? I haven't even written the docs for this yet ;p
-
3. Re: seam remoting snapshot model exsample can't save
alin.heyoulin.qq.com Dec 22, 2009 9:38 AM (in response to alin.heyoulin.qq.com)I just read the checked out code. and notice in the end if request conversationManager should cleanupConversation that will save current conversation.
-
4. Re: seam remoting snapshot model exsample can't save
nickarls Dec 22, 2009 9:43 AM (in response to alin.heyoulin.qq.com)
he youlin wrote on Dec 22, 2009 09:38:
I just read the checked out code. and notice in the end if request conversationManager should cleanupConversation that will save current conversation.Yep, that's what I told him on #weld-dev, also ;-)
-
5. Re: seam remoting snapshot model exsample can't save
alin.heyoulin.qq.com Dec 22, 2009 12:17 PM (in response to alin.heyoulin.qq.com)Now i get java.lang.RuntimeException: by java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyObject
errorIt's WELDX-43
How to resolve this problem?
-
6. Re: seam remoting snapshot model exsample can't save
nickarls Dec 22, 2009 1:38 PM (in response to alin.heyoulin.qq.com)What build of GF? I know it has been logged in the GF JIRA but I can't find it anywhere in order to confirm the status of it...
-
7. Re: seam remoting snapshot model exsample can't save
alin.heyoulin.qq.com Dec 22, 2009 1:48 PM (in response to alin.heyoulin.qq.com)tomcat 6.1.20,last weld snapshot build. I modified CustomerAction to accommodate to tomcat.
-
8. Re: seam remoting snapshot model exsample can't save
alin.heyoulin.qq.com Dec 27, 2009 2:12 PM (in response to alin.heyoulin.qq.com)It seem the javassist bug. I have a patch to ProxyFactory.java protected ClassLoader getClassLoader0() { ClassLoader loader = null; if (superClass != null && !superClass.getName().equals("java.lang.Object")) loader = superClass.getClassLoader(); else if (interfaces != null && interfaces.length > 0) loader = interfaces[0].getClassLoader(); ///add this to see if the classload can load ProxyFactory if(loader!=null) { try { loader.loadClass("javassist.util.proxy.ProxyFactory"); } catch (ClassNotFoundException e) { loader=null; } } ///////////////// if (loader == null) { loader = getClass().getClassLoader(); // In case javassist is in the endorsed dir if (loader == null) { loader = Thread.currentThread().getContextClassLoader(); if (loader == null) loader = ClassLoader.getSystemClassLoader(); } } return loader; }