[omniORB-dev] Omni ORB

Volkan Iravul - Proje Yön / Şeker Bilişim volkan.iravul at sekerbank.com.tr
Thu Jan 15 14:58:07 GMT 2004


Hello,
 
I am using Omni ORB 2.80. When I am connecting to ORB sevice from JDK1.3.1_06 there is no problem. But I  update the JDK version to jdk1.4.1_05 . The problem is below
 
Thanks for your helps,
 
volkan iravul
 
when I am trying to execute the  code  
 
--------------------------------------------------
    private static InitialContext thsGatewayContext = null;
 
    public static InitialContext getInitialContext() throws NamingException {
 
        if (thsGatewayContext == null)
            set();
 
        return thsGatewayContext;
    }
 
    public static synchronized void set() throws NamingException {
        Properties p = new Properties();
        p.put(InitialContext.PROVIDER_URL, "iiop://10.12.108.82:900");
        p.put(InitialContext.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
        thsGatewayContext = new InitialContext(p);
    }
--------------------------------------------------
 
it gets an exception at line 
            thsGatewayContext = new InitialContext(p);
 
<td>tr.com.sekerBilisim.component.tahsilat.exception.TahsilatServerException: org.omg.CORBA.MARSHAL: Exception waiting for response; nested exception is: 
<br> java.io.EOFException: GIOP protocol error  vmcid: 0x0  minor code: 0  completed: No
<br> at weblogic.iiop.Utils.mapRemoteToCORBAException(Utils.java:849)
<br> at weblogic.iiop.Utils.mapToCORBAException(Utils.java:883)
<br> at weblogic.iiop.IORManager.locateNameService(IORManager.java:183)
<br> at weblogic.corba.orb.ORB.resolve_initial_references(ORB.java:178)
<br> at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:340)
<br> at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:289)
<br> at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:245)
<br> at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:209)
<br> at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
<br> at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:32)
<br> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
<br> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
<br> at javax.naming.InitialContext.init(InitialContext.java:219)
<br> at javax.naming.InitialContext.<init>(InitialContext.java:195)
 
 


____________________________________
Bu mesajda gizli kalmasi gereken ozel bilgiler olabilir. Mesaji yanlislikla aldiysaniz, baskalarina aktarmayiniz ve kopyalamayiniz. Lutfen gondereni uyariniz ve mesaji siliniz. Duyarliliginizdan dolayi tesekkur ederiz. Sekerbank bu mesajdaki bilgilerin dogru ve eksiksiz oldugunu garanti etmez. Bankamiz bu mesajin gonderilmesinden ve saklanmasindan sorumlu degildir. Bu mesaj gonderenin goruslerini icerir; Sekerbank'in goruslerini yansitmayabilir. Bu mesaj gonderilmeden once bilgisayar viruslerine karsi taranmistir.
--------------------------------
This e-mail may contain confidential and/or privileged information. If you have received this e-mail in error, please destroy this e-mail and notify the sender immediately. Thank you for your co-operation. Sekerbank makes no warranty as to the accuracy or completeness of any information contained in this message. Sekerbank  excludes any  liability of any kind for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of Sekerbank. This e-mail has been scanned for computer viruses before sent.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-dev/attachments/20040115/651e5c5c/attachment.htm


More information about the omniORB-dev mailing list