<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
<DIV><FONT face=Arial size=2>I am trying to create an OmniOrb C++ client
which connects to a Java (JDK 1.4.1) server in order to run a function
(guess which: String sayHello() ). I want to use the Sun's ORBD Naming
server. The Java server works fine ( I have tested it with a Java client) and
the C++ client is compiled and built fine. However, when I run the client ( I
have already run the orbd and the Java server) it fails at the following line of
code:</FONT></DIV>
<DIV><FONT size=2>
<P>obj = orb->resolve_initial_references("NameService");</P>
<P>throwing an Exception. I run the orbd, server and client as
follows:</P>
<P>start orbd -ORBInitialPort 1088 -ORBInitialHost 127.0.0.1</P>
<P>java HelloServer -ORBInitialPort 1088 & </P>
<P>client 127.0.0.1 1088 </P>
<P>Am I running the client with wrong parameters? Am I forgetting something? I
will really appreciate any help since I have very little experience in
CORBA programming</P></FONT></DIV></BODY></HTML>