Did you ever resolve this issue? I am experiencing the same problem and
would appreciate an update as to how to fix it.
Thanks...Jim
"Dmitry Domnin" <dom...@mail.ru> wrote in message
news:38AAA66E...@mail.ru...
> I also run into the problem when I try to send or receive the
> java.util.Calendar object to/from EJB.
> It implements Serializable but anyway I get the following exception:
>
> ERROR: Exception is: java.rmi.MarshalException: CORBA MARSHAL 0 No;
> nested exception is:
> org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge :
> Unable to read value from underlying bridge : Unable to read value from
> underlying bridge : Serializable readObject method failed internally
> minor code: 0 completed: No
>
>
> Lars Eirik Sivesind wrote:
> >
> > We got "unable to read from underlying bridge" when objects were not set
as
> > serializable. Does all your data objects that is passed across the
network
> > implement java.io.Serializable?
> >
> > -----------------
> > Lars Eirik
> > Cap Gemini Norway
> >
> > Peter Miller wrote in message <38A9EA80...@chilli.net.au>...
> > >We are having problems that are similar to the one Girish Chafle wrote
> > about in the
> > >quoted postings below. We get the following stack trace when we run a
test
> > client in VA
> > >Java 3 against the EJBs deployed in WSAS 3 beta for the AS400. We have
> > followed the
> > >recommendations for data access setup in regard to jdbc drivers and the
> > like, but
> > >haven't been able to successfully call any remote methods.
> > >
> > >Note that we cannot find any Exceptions output on the server side.
> > >
> > >The test client finds the naming service and the Home ok, but produces
the
> > following
> > >stack trace on the create(String) method:
> > >
> > >org.omg.CORBA.MARSHAL: minor code: 2 completed: Maybe
> > > java.lang.Throwable(java.lang.String)
> > > java.lang.Exception(java.lang.String)
> > > java.lang.RuntimeException(java.lang.String)
> > > org.omg.CORBA.SystemException(java.lang.String, int,
> > org.omg.CORBA.CompletionStatus)
> > > org.omg.CORBA.MARSHAL(java.lang.String, int,
> > org.omg.CORBA.CompletionStatus)
> > > org.omg.CORBA.MARSHAL(int, org.omg.CORBA.CompletionStatus)
> > > com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescription
> > >com.sun.rmi.io.FVDCodeBaseImpl.meta(java.lang.String)
> > > com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescription
> > >com.sun.rmi.io.FVDCodeBaseDelegate.meta(java.lang.String)
> > > java.util.Vector
> > >com.sun.rmi.io.IIOPInputStream.getOrderedDescriptions(java.lang.String,
> > >com.sun.org.omg.SendingContext.CodeBase)
> > > java.lang.Object
> > com.sun.rmi.io.IIOPInputStream.skipObjectUsingFVD(java.lang.String,
> > >com.sun.org.omg.SendingContext.CodeBase)
> > > void com.sun.rmi.io.IIOPInputStream.simpleSkipObject(java.lang.String,
> > >com.sun.org.omg.SendingContext.CodeBase)
> > > java.io.Serializable
> >
>com.sun.rmi.io.ValueHandlerImpl.readValueInternal(com.sun.rmi.io.IIOPInputS
> > tream,
> > >org.omg.CORBA_2_3.portable.InputStream, int, java.lang.Class,
> > java.lang.String,
> > >com.sun.org.omg.SendingContext.CodeBase)
> > > java.io.Serializable
> >
>com.sun.rmi.io.ValueHandlerImpl.readValue(org.omg.CORBA.portable.InputStrea
> > m, int,
> > >java.lang.Class, java.lang.String, org.omg.SendingContext.RunTime)
> > > java.io.Serializable
> > com.sun.rmi.iiop.CDRInputStream.read_value(java.lang.Class)
> > > void com.sun.rmi.io.IIOPInputStream.inputClassFields(java.lang.Object,
> > java.lang.Class,
> > >com.sun.rmi.io.ObjectStreamField [],
> > com.sun.org.omg.SendingContext.CodeBase)
> > > java.lang.Object
> > com.sun.rmi.io.IIOPInputStream.inputObject(java.lang.Class,
> > >java.lang.String, com.sun.org.omg.SendingContext.CodeBase)
> > > java.lang.Object
> > com.sun.rmi.io.IIOPInputStream.simpleReadObject(java.lang.Class,
> > >java.lang.String, com.sun.org.omg.SendingContext.CodeBase)
> > > java.io.Serializable
> >
>com.sun.rmi.io.ValueHandlerImpl.readValueInternal(com.sun.rmi.io.IIOPInputS
> > tream,
> > >org.omg.CORBA_2_3.portable.InputStream, int, java.lang.Class,
> > java.lang.String,
> > >com.sun.org.omg.SendingContext.CodeBase)
> > > java.io.Serializable
> >
>com.sun.rmi.io.ValueHandlerImpl.readValue(org.omg.CORBA.portable.InputStrea
> > m, int,
> > >java.lang.Class, java.lang.String, org.omg.SendingContext.RunTime)
> > > java.io.Serializable com.sun.rmi.iiop.CDRInputStream.read_value()
> > > org.omg.CORBA.portable.InputStream
> > >com.ibm.CORBA.iiop.ClientDelegate.invoke(org.omg.CORBA.Object,
> > >org.omg.CORBA.portable.OutputStream)
> > > org.omg.CORBA.portable.InputStream
> >
>org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStre
> > am)
> > > au.com.combined.Bank
> > au.com.combined._BankHome_BaseStub.create(java.lang.String)
> > > au.com.combined.Bank
> > au.com.combined._BankHome_Stub.create(java.lang.String)
> > > java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
> > java.lang.Object [])
> > >
> > > java.lang.Object
> >
>com.ibm.ivj.ejb.tools.instance.awt.MethodSetEditorUI.sendSelectedMethod()
> > > void
> >
>com.ibm.ivj.ejb.tools.instance.awt.MethodSetEditorUI.actionPerformed(java.a
> > wt.event.ActionEvent)
> > >
> > > void java.awt.Button.processActionEvent(java.awt.event.ActionEvent)
> > > void java.awt.Button.processEvent(java.awt.AWTEvent)
> > > void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
> > > void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
> > > void java.awt.EventDispatchThread.run()
> > >
> > >org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge :
> > minor code: 0
> > >completed: No
> > > java.lang.Throwable(java.lang.String)
> > > java.lang.Exception(java.lang.String)
> > > java.lang.RuntimeException(java.lang.String)
> > > org.omg.CORBA.SystemException(java.lang.String, int,
> > org.omg.CORBA.CompletionStatus)
> > > org.omg.CORBA.MARSHAL(java.lang.String, int,
> > org.omg.CORBA.CompletionStatus)
> > > org.omg.CORBA.MARSHAL(java.lang.String)
> > > java.io.Serializable
> > com.sun.rmi.iiop.CDRInputStream.read_value(java.lang.Class)
> > > void com.sun.rmi.io.IIOPInputStream.inputClassFields(java.lang.Object,
> > java.lang.Class,
> > >com.sun.rmi.io.ObjectStreamField [],
> > com.sun.org.omg.SendingContext.CodeBase)
> > > java.lang.Object
> > com.sun.rmi.io.IIOPInputStream.inputObject(java.lang.Class,
> > >java.lang.String, com.sun.org.omg.SendingContext.CodeBase)
> > > java.lang.Object
> > com.sun.rmi.io.IIOPInputStream.simpleReadObject(java.lang.Class,
> > >java.lang.String, com.sun.org.omg.SendingContext.CodeBase)
> > > java.io.Serializable
> >
>com.sun.rmi.io.ValueHandlerImpl.readValueInternal(com.sun.rmi.io.IIOPInputS
> > tream,
> > >org.omg.CORBA_2_3.portable.InputStream, int, java.lang.Class,
> > java.lang.String,
> > >com.sun.org.omg.SendingContext.CodeBase)
> > > java.io.Serializable
> >
>com.sun.rmi.io.ValueHandlerImpl.readValue(org.omg.CORBA.portable.InputStrea
> > m, int,
> > >java.lang.Class, java.lang.String, org.omg.SendingContext.RunTime)
> > > java.io.Serializable com.sun.rmi.iiop.CDRInputStream.read_value()
> > > org.omg.CORBA.portable.InputStream
> > >com.ibm.CORBA.iiop.ClientDelegate.invoke(org.omg.CORBA.Object,
> > >org.omg.CORBA.portable.OutputStream)
> > > org.omg.CORBA.portable.InputStream
> >
>org.omg.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStre
> > am)
> > > au.com.combined.Bank
> > au.com.combined._BankHome_BaseStub.create(java.lang.String)
> > > au.com.combined.Bank
> > au.com.combined._BankHome_Stub.create(java.lang.String)
> > > java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
> > java.lang.Object [])
> > >
> > > java.lang.Object
> >
>com.ibm.ivj.ejb.tools.instance.awt.MethodSetEditorUI.sendSelectedMethod()
> > > void
> >
>com.ibm.ivj.ejb.tools.instance.awt.MethodSetEditorUI.actionPerformed(java.a
> > wt.event.ActionEvent)
> > >
> > > void java.awt.Button.processActionEvent(java.awt.event.ActionEvent)
> > > void java.awt.Button.processEvent(java.awt.AWTEvent)
> > > void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
> > > void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
> > > void java.awt.EventDispatchThread.run()
> > >
> > >
> > >The question is: where should we look? Is this a data access issue? Or
> > versioning, etc?
> > >What is the "underlying bridge" ???
> > >
> > >Any help appreciated.
> > >
> > >Peter Miller
> > >Cirrus Technologies
> > >
> > >
> > >
> > >Rob Buskens wrote:
> > >
> > >> This is often the result of working on two different platforms and/or
> > having client
> > >> code running in VAJ while the deployed code is running in a deployed
> > environment.
> > >>
> > >> Basically, the Serialized Unique Object IDs generated at compile
time
> > are different
> > >> for the code in each environment. To confirm that this is the case,
> > compile and run
> > >> your test client and server code on a single platform. You should
not
> > get this
> > >> exception.
> > >>
> > >> This is a fallout of two issues:
> > >> - the specs are fuzzy regarding SUOIDs with inner classes, etc.
> > >> - VAJ classes have extra hidden attributes in the dev env
> > >>
> > >> Girish Chafle wrote:
> > >>
> > >> > Hi,
> > >> >
> > >> > I have developed a CMP bean using VAJAVA3.0 and am trying to deploy
it
> > >> > on WAS3.0. The bean has a finder method "findByName(String)" in
> > addition
> > >> > to "findByPrimaryKey(Key)". The bean works fine as long as I invoke
the
> > >> > Remote Interface methods and the "findByPrimaryKey(Key)" method.
When I
> > >> > invoke the "findByName(String)" method I get the following
exception
> > >> > ---------------------------------
> > >> > ERROR: Exception thrown by method.
> > >> > ERROR: Exception is: java.rmi.MarshalException: CORBA MARSHAL 0 No;
> > >> > nested exception is:
> > >> > org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge
:
> > >> > Mismatched serialization UIDs : Source (Rep.
> > >> >
> >
IDRMI:com.ibm.ejs.persistence.FinderEnumerator:1515E363D8283094:813DB9B21C5A
> > 962D)
> > >> > = 813DB9B21C5A962D whereas Target (Rep. ID
> > >> >
> >
RMI:com.ibm.ejs.persistence.FinderEnumerator:1515E363D8283094:3FE17F18A86822
> > C2)
> > >> > = 3FE17F18A86822C2 minor code: 0 completed: No
> > >> > ---------------------------------
> > >> >
> > >> > Does any one have any idea about this ? I would really appreciate
any
> > >> > pointers for this exception
> > >> >
> > >> > Thanks
> > >> > girish
> > >
About serialization UID, Serialization UID might be mismatched when the
source is edited.
But even that case, by restarting web application server, it shoule be fixed
generally, i think.
I restarted several times web application server and reboot computers
several times.
Still that problem occurred.
Somebody says about rmi-registry. In my opinion, rmi-registry does not do
anything wrong.
The problem is that it works well in VAJava Test Environment.
What is really wrong ? HELP !!!
"Jim Hill" <jh...@cenexharveststates.com> wrote in message
news:8r9uua$km2$1...@news.software.ibm.com...
Yakun
Sungjin Jo <sj...@e-integration.co.kr> wrote in message
news:8rbovp$f28$1...@news.software.ibm.com...
-------------
Lars Eirik
yg2...@sbc.com (Yakun Gao) wrote in
<8ritu7$10g6$1...@news.software.ibm.com>:
>> > > > tream,
>> > > > >org.omg.CORBA_2_3.portable.InputStream, int, java.lang.Class,
>> > > > java.lang.String,
>> > > > >com.sun.org.omg.SendingContext.CodeBase)
>> > > > > java.io.Serializable
>> > > >
>> >
>>
>>com.sun.rmi.io.ValueHandlerImpl.readValue(org.omg.CORBA.portable.InputSt
>>rea
--
-------------
Lars Eirik
-- remove -hate_spam- from address to reply --