|
|
|
|||||
|
IceGridGui doing weird network things (IPv6 related?)
(If it's relevant: this is all on Fedora Core 6, using the pre-build FC5 RPMS. Java is version 1.5.0_09. I just installed FC6 yesterday, so it's not out of the question that the installation is broken somehow.)
IceGridGUI seems to be doing something weird with networking when it tries to open a file. I'll use the "simple" IceGrid example that's distributed with the IceJ source code; I also saw this problem with my own application too. I changed the config.grid file to add Ice.Trace.Network=2, but otherwise it's exactly as distributed. Anyway, the problem. Using this sample application, I run java -jar /usr/lib/Ice-3.1.1/IceGridGui.jar --Ice.Config=config.grid; don't even need to start the registry to trigger this bug. When I try to do "File - Open - Application from file" in the GUI and choose "application.xml", IceGridGui prints the following trace message (the final number changes each time): [ Network: trying to establish tcp connection to 0:0:0:0:0:0:0:1:49043 ] I also get a dialogue box in the GUI that says: Operation on FileParser failed: Ice.ConnectionRefusedException error = 0 I have very little knowledge of IPv6, but to me that looks like the IPv6 version of "127.0.0.1" with a different, random port number appended to the end; and given the error message that comes back, it looks like the GUI -- or the FileParser that it's using -- is failing to connect to it. Where is the actual implementation of FileParser that's used by IceGridGUI anyway? Any suggestions on how to get this to work? I can see if I can get rid of the IPv6-ness in Fedora, but it would be nice if this could be fixed on the Ice side. Thanks! MEF
__________________
Mary Ellen Foster Technical University of Munich JAST human-robot dialogue system Maintainer of Fedora Ice packages |
|
|||||
|
Solved! (or at least worked around)
I've disabled IPv6 on my machine, as described in this document, and IceGridGUI is now happy -- the network trace now shows that it connects to 127.0.0.1:56967 (or whatever port) while parsing the file.
It would be nice if it didn't get confused like this, though; if Fedora is going to be the main Linux distribution supported (i.e., if you're going to keep providing a yum repository), then it's a concern that Ice doesn't work out of the box on the default configuration of FC6 ... MEF
__________________
Mary Ellen Foster Technical University of Munich JAST human-robot dialogue system Maintainer of Fedora Ice packages |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ICE for ipv6 | utopiazh | Help Center | 3 | 06-02-2005 09:59 AM |
| Design patterns for using CCM (related to IceBox) | SteveWampler | Help Center | 16 | 05-22-2004 11:53 PM |
| IceJ 1.2.0 AMD/AMI related question | alexander | Help Center | 10 | 11-20-2003 01:52 PM |
| weird template compilation error on solaris | marlowa | Bug Reports | 5 | 02-25-2003 08:18 AM |
| autoconf makes things difficult to build | dthomson | Comments | 0 | 02-20-2003 01:00 AM |