Richard Jones wrote:
> org.omg.CORBA.UNKNOWN[completed=MAYBE]
>         at com.visigenic.vbroker.orb.SE.read(SE.java:28)

Sorry to answer my own question :-) This topic seemed
to cause more discussion about how I ever managed to
get VBJ working on Linux than on the original problem.
Anyway, I solved it, and for reference here is the
answer. It's nothing to do with the Linux JDK or JVM.

It's caused by the server implementation method throwing a
java.lang.* exception, in this case, it was a
ClassCastException. Bizarrely, the server prints
nothing. Instead, VBJ seems to pass the exception
back to the client. The client, instead of doing the
right thing, throws a wobbler -- it turns the undeclared
exception into a CORBA.UNKNOWN and throws that instead!

I caught this fairly easily in the end by wrapping my server
method with a try { ... } catch (Exception ex) { ... }.

There you go ...

Rich.

-- 
Richard Jones [EMAIL PROTECTED] Tel: +44 171 598 7557 Fax: 460 4461
Orchestream Ltd.  125 Old Brompton Rd. London SW7 3RP PGP: www.four11.com
"boredom ... one of the most overrated emotions ... the sky is made
of bubbles ..."   Original message content Copyright © 1998

Reply via email to