Hi,
I managed to bind to the JNDI tree of the Sun J2ee Reference implementation
using these properties:
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
java.naming.provider.url=iiop://xxx:1050

However, when I try to transfer it to the following properties:
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
org.omg.CORBA.ORBInitialHost=xxx
org.omg.CORBA.ORBInitialPort=1050

I'm getting the exception below. Does anyone have a clue what is going wrong
here?
(I deployed both the results of "rmic" & "rmic -iiop")

Thanks in advance for any direction or solution,
Rintcius

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(Class.java:237)
        at
com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.
java:93)
        at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientR
esponseImpl.java:82)
        at
com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
1)
        at
com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
        at
org.omg.CosNaming._NamingContextStub.rebind(_NamingContextStub.java:105)
        at com.sun.jndi.cosnaming.CNCtx.callBindOrRebind(CNCtx.java:431)
        at com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:523)
        at com.sun.jndi.cosnaming.CNCtx.rebind(CNCtx.java:540)
        at javax.naming.InitialContext.rebind(InitialContext.java:366)
        at
com.datadistilleries.foil.test.TestAdapter.register(TestAdapter.java:64)
        at
com.datadistilleries.foil.AdapterMgr.registerAdapters(AdapterMgr.java:89)
        at com.datadistilleries.foil.AdapterMgr.init(AdapterMgr.java:27)
        at com.datadistilleries.foil.AdapterMgr.main(AdapterMgr.java:169)



Rintcius Blok
Software Engineer

Data Distilleries  � Kruislaan 402 � 1098 SM Amsterdam � the Netherlands
Phone +31 (0)20 562 0020 � Fax +31 (0)20  562 0030
E-mail [EMAIL PROTECTED]
Web www.DataDistilleries.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to