Gerard BORREILL wrote:

> Is Jonathan designed for use of several Registries by a same application
> ?

There is no reason why it should not...

> * An application cannot start more than 1 Registry because JRMIRegistry
> uses a soa UnicastRemoteObject.

I have to think about a means to overcome this limitation. It should not be
impossible to achieve this. It should also be possible to use truly local
registries, ie, registries not even exported.

> * 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\org
>
> eremie\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 ?

I hate these exceptions... The problem with org.omg.CORBA.UNKNOWN is that they
may mean about anything, but CORBA doesn't provide a means to attach even a
string message to them. I will try to reproduce your problem to tell you more
about it.

Best regards,

Bruno
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

Reply via email to