I've used the CVS version to overcome the
ERROR [JGStore] could not demarshal incoming update
java.lang.ClassNotFoundException
but now I got a new one:
Cannot assign instance of $Proxy<xx>
to field <remote.reference.to.ejb>
of type <ejb.interface>
in instance of <servlet.that.contains.reference>
ERROR [org.mortbay.j2ee.session.JGStore] could not demarshal incoming update
java.lang.ClassCastException: cannot assign instance of $Proxy90 to field
inocrea.web.webmail.model.JwmaFolderImpl.remote of type
inocrea.ejb.mail.interfaces.MailFolder in instance of
inocrea.web.webmail.model.JwmaFolderImpl
at
java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:1840)
at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1062)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1851)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
I'll post the code I find relevant of the servlet in question:
/*snip*/
import inocrea.ejb.mail.interfaces.MailFolder;
/*snip*/
public class JwmaFolderImpl
implements JwmaFolder, JwmaTrashInfo, JwmaInboxInfo, Serializable {
protected MailFolder remote;
protected FolderVO vo;
public JwmaFolderImpl(MailFolder mailFolder) {
remote = mailFolder;
try {
vo = remote.getFolderVO();
} catch(RemoteException e) {
Log1.error(""+e);
}
}
Any tip? Thank you
Joao Clemente
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user