users@glassfish.java.net

ANTLR serialization error when running a query?

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Jul 2007 10:52:55 PDT

Has anyone seen this error:
[code][#|2007-07-12T13:41:15.125-0400|WARNING|sun-appserver9.1|javax.enterprise.resource.corba.ee._CORBA_.util|_ThreadID=40;_ThreadName=p: thread-pool-1; w: 48;persistence.antlr.CommonToken;_RequestID=3f22d129-f573-48d4-80f9-fb34d7d480cc;|"IOP00100006: (BAD_PARAM) Class persistence.antlr.CommonToken is not Serializable"
[/code]
In build 54, I get this when invoking a stateless session bean via a reference I've retained to it that I store in an @Entity that is present on the client side. I haven't seen this problem on earlier builds.

That is, I have an entity that has been shipped to the client side, and the entity has a reference to a SLSB's remote interface. It's calling a method on that remote interface. At the time that method is called, this error gets fired.

If it makes a difference, I'm running a dynamic EJB3QL query using this method.

Laird
[Message sent by forum member 'ljnelson' (ljnelson)]

http://forums.java.net/jive/thread.jspa?messageID=226403