users@glassfish.java.net

Enum marshalling pb

From: <glassfish_at_javadesktop.org>
Date: Wed, 01 Oct 2008 03:11:22 PDT

Hello,

We have met a stange pb. In one of our EJB method signature we use an enum type.
If the enum is defined in the same ear than our EJB we have no problem for our Junit test.

The problem is if the enum is defined outside our ear, lets say in a jar put in the domain lib/ext then we had a marshall/unmarshall pb:

[#|2008-09-30T18:18:16.969+0200|WARNING|sun-appserver9.1|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.encoding|_ThreadID=19;_ThreadName=p: thread-pool-1; w: 3;javax.rmi.CORBA.EnumDesc;_RequestID=7a101e68-62aa-454b-8569-34aba46706a6;|"IOP00810257: (MARSHAL) Could not load class javax.rmi.CORBA.EnumDesc"
org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9684)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9699)
        at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1042)
        at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:475)


Any idea ?

Best Regards.
[Message sent by forum member 'franos13' (franos13)]

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