Dear developers,

I try to use the CosNaming name-service coming with Jonathan on JDK1.2.2 (Solaris) 
calling

java\
 -Dorg.omg.CORBA.ORBClass=org.objectweb.david.libs.contexts.orbs.iiop.IIOPORB\
 
-Dorg.omg.CORBA.ORBSingletonClass=org.objectweb.david.libs.contexts.orbs.ORBSingletonClass\
 org.objectweb.david.libs.services.CosNaming.NameServer -file ns.ior

When accessing the name-service I get the following exception on the client side:

org.omg.CORBA.UNKNOWN:   minor code: 0 completed: Maybe
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.<init>(Throwable.java:94)
        at java.lang.Exception.<init>(Exception.java:42)
        at java.lang.RuntimeException.<init>(RuntimeException.java:47)
        at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
        at org.omg.CORBA.UNKNOWN.<init>(UNKNOWN.java:69)
        at org.omg.CORBA.UNKNOWN.<init>(UNKNOWN.java:48)
        at org.omg.CORBA.UNKNOWN.<init>(UNKNOWN.java:39)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:240)
        at 
org.objectweb.david.libs.protocols.giop.GIOPProtocol$ReplyHolder.listen(GIOPProtocol.java:932)
        at 
org.objectweb.david.libs.stub_factories.std.JStubFactory$ClientDelegate.getResponse(JStubFactory.java:369)
        at 
org.objectweb.david.libs.stub_factories.std.RequestImpl.get_response(JStubFactory.java:534)
        at 
org.objectweb.david.libs.stub_factories.std.RequestImpl.invoke(JStubFactory.java:587)
        at 
org.objectweb.david.libs.stub_factories.std.RequestImpl.invoke(JStubFactory.java:520)
        at org.omg.CosNaming._NamingContextStub.list(_NamingContextStub.java:212)
...

Forcing to use the org.omg.CosNaming classes of Jonathan by specifying
 -Xbootclasspath:.../jonathan/classes:.../jdk1.2.2/jre/lib/rt.jar
when starting the name-service solves the problem. Now I suspect that there
is an incompatibility of Jonathan and JDK CosNaming classes. Is this a known
issue or am I doing something wrong?

Best regards,
  Thomas


begin:vcard 
n:Becker;Thomas
tel;fax:+49 30 3463 8000
tel;work:+49 30 3463 7393
x-mozilla-html:FALSE
url:http://www.fokus.gmd.de/usr/thomas.becker
org:GMD FOKUS;Distributed Object Technology, Platforms, and Serivces (PLATIN)<br><br><img SRC="http://www.fokus.gmd.de/img/logo_home.gif" HSPACE=5 height=73 width=66 align=LEFT><b><font face="Arial,Helvetica"><font color="#999999">German National Research Center<br>for Information Technology<br></font><font color="#0AA090">Research Institute for<br>Open Communication Systems</font></font></b>
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Inf.
adr;quoted-printable:;;Kaiserin-Augusta-Allee 31=0D=0A=0D=0A;Berlin;;D-10589;Germany
fn:Thomas Becker
end:vcard

Reply via email to