Re: Using CORBA objects

2005-11-13 Thread Pawel Niewiadomski
I resolved my problem. > protected Context getNamingContext() throws NamingException { > org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); > if( orb != null ) { > Hashtable env = new Hashtable(); Here I should have put also: env.put("org.omg.CORBA.ORBInitRef", "NameServ

Using CORBA objects

2005-10-30 Thread Pawel Niewiadomski
Hello, I would like to use a CORBA object from servlet running under Tomcat 5. Following code is used to resolve object throught JNDI: protected Context getNamingContext() throws NamingException { org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(); if( orb != null ) {