I got a test work with two registries, one local, one remote, without any UNKNOWN exception. But this doesn't explain your problem...
Could you please :
-
modify the file org/objectweb/david/libs/helpers/CORBAHelpers : uncomment
the first line (e.printStackTrace()) of the first method (systemException(Exception,CompletionStatus)
and recompile the file;
I know, this should be configurable... :-( - start your remote registry using the -Ddavid.giop.verbose=true option
Also, please check that you set the appropriate code base when you start your application, or that the remote registry and your application share the same classpath. Anyway, a problem with the code base should raise a ClassNotFoundException.
Thanks !
Bruno
PS: I have to explain more why you get CORBA exceptions within Jeremie.
The reason is that the GIOP protocol is used, which is the remote invocation
protocol used by IIOP ORBs. You get CORBA exceptions when a problem occurred
inside the GIOP machinery. We could avoid this if we used a simpler, CORBA
independent protocol.
Gerard BORREILL wrote:
Is Jonathan designed for use of several Registries by a same application
?
* An application cannot start more than 1 Registry because JRMIRegistry
uses a soa UnicastRemoteObject.
* I have an application that is using 2 JRMIRegistries. One started as a
separate process, another one in the application process, when I am
trying a rebind on the "internal" registry, it succeeds. When I am
trying a rebind on the "external" registry (the one in a separate
process), it fails with:java.rmi.MarshalException: error during marshalling/unmarshalling by
stub; nested except
org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at
org.objectweb.david.libs.protocols.giop.GIOPProtocol$ReplyHolder.listen(GIOPP:931)
at
org.objectweb.jeremie.libs.services.registry.RegistryImpl_Stub.rebind(src\orgeremie\libs\services\registry\RegistryImpl_Stub.java:155)
at
org.objectweb.jeremie.libs.services.registry.Naming.rebind(Naming.java:270)It is very surprising as my application started to fail this afternoon,
and I have using it for a week without any problem. Now every time I
restart my application I get this failure.
What does org.omg.CORBA.UNKNOWN means ? Why does it occur ?Gérard Borreill,
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonathan".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".
begin:vcard n:Dumant;Bruno tel;cell:06 75 20 76 64 tel;fax:33 1 49 26 09 76 tel;work:33 1 42 44 40 74 x-mozilla-html:FALSE url:www.kelua.com org:Kelua SA adr:;;55 rue Sainte Anne;Paris;;75002;France version:2.1 email;internet:[EMAIL PROTECTED] x-mozilla-cpt:;1 fn:Bruno Dumant end:vcard
