Re: Orbit, Java, and Windows...



On Tue, 2002-08-06 at 16:19, dahaverk@rockwellcollins.com wrote:
> 
> 
> If the PC doesn't know how to "resolve" itself due to a mis-match of trying
> to do a dns look up on a non-local subnet DNS you will have problems.    At
> least with MICO, (I don't remember what ORBit does) you can use the
> parameter "-ORBNoResolv" to keep IP addresses in the IOR.
> 
> -Dave
> 

Thanks! It did end up being a DNS problem. My Linux boxes were getting
host information from NIS, and my Windows hosts don't have NIS. I ended
up configuring a DNS server for my LAN. That was quite an exercise, but
now that's it done everything works well. 

I'll keep this other switch -ORBNoResolv in mind for the future though. 

Thank you both for all the help. 


-Craig


> 
> 
> 
> 
> dank@kegel.com@gnome.org on 08/02/2002 06:33:39 PM
> 
> Please respond to dank@kegel.com
> 
> Sent by:    orbit-list-admin@gnome.org
> 
> 
> To:    "Craig W. Wright" <craig.wright@cometsolutions.com>
> cc:    orbit-list@gnome.org
> 
> Subject:    Re: Orbit, Java, and Windows...
> 
> 
> "Craig W. Wright" wrote:
> >
> > On Sat, 2002-07-06 at 10:32, dank@kegel.com wrote:
> > > "Craig W. Wright" wrote:
> > > > I brought the client over and I could not get it to connect to the
> > > > server process. Actually, it would "dereference" my server's
> stringified
> > > > object, but I could not call any of the methods on it. The client
> would
> > > > report a Comm Failure and from what I can tell nothing is getting
> over
> > > > to the server at all. (This is with Java running under windows and
> the
> > > > server still under Linux). I also have JDK 1.3.1 for Windows.
> > > >
> > > > So I ran a couple of tests. I setup an "echo" client/server written
> with
> > > > orbit and java. The client was running on windows in Java and the
> > > > servers on my Linux box. The windows box was able to connect to the
> > > > Linux box when I ran the Java server, but I got the same errors as
> > > > before when I tried to connect to the ORBit server.
> > > >
> > > > Has anyone heard of this before? Basically Java on Windows won't
> > > > communicate with ORBit, but Java under Linux will.
> > >
> > > Say, might this be the old "can't ping the server from the
> > > client using the hostname reported on the server by /bin/hostname"
> > > problem?  Could be a DNS problem.
> >
> > Does IIOP depend upon DNS is some way. I figured a numeric IP address to
> > be packaged in the IOR, although I must admit I don't know a lot about
> > CORBA. I can ping the machine based on its hostname though.
> 
> Yes, it does depend on DNS, it can embed hostnames in the IOR.
> 
> > > If that's not it, can you use Ethereal or windump or whatever
> > > and get a packet trace to verify your suspicion that the
> > > client on Windows is not sending any packets to the server?
> >
> > I used ethereal on my server and realized that there are no packets
> > arriving that are originated by the client program.
> 
> Yeah, now run etherreal or windump *on your client*, and
> see where the dang packets are going!  It might even be stuck doing dns...
> 
> - Dan
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
> 
> 
> 
> 

This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]