ChatTestClient hangs upon mgr.connect()

When I run SGS and ChatTestClient, it seems to hang right after it calls mgr.client(). When debugging
through with Netbeans, it makes it past mgr.connect() but it hangs after actionPerformed() returns. In
terms of the GUI, I select a user manger, then nothing happens (Login is greyed out, “Status: Not
Connected” displayed).

Nothing shows up on the server console output after “finished loading files”. I am using SGS right
out of the box, so to speak. I use FakeDiscovery.xml, rather than the discovery server. I’m on an
Ultra 20 (Solaris 10 x86) at home, perhaps it is something with my network at home (but it does
use 127.0.0.1 after all…)

I wish I could debug through this further – if you have any ideas please let me know
Thanks,
Jordan

P.S. There is a bunch of disk activity by the SGS server, I am assuming this is normal.

Where are you running your server? Is your FakeDiscovery.xml proeprly set to point to it?

Jeff,

Thanks for getting back to me. The FakeDiscovery.xml file points to 127.0.0.1 and is
in the same directory from which I run the client. I am running both on an Ultra 20,
Solaris x64 from home. When I run the client I see the following on the console:

/home/jms54/src/sgs-ea1/release/clients% java -jar ChatTestClient.jar
Java Accessibility Bridge for GNOME loaded.

Found discovery stream of size: 1499
Found discovery stream of size: 1499

When I Ctrl-C the client, the console output for the server is:

finished loading files
May 22, 2006 2:46:55 PM com.sun.gi.logic.impl.SimulationImpl queueTask
WARNING: attempt to queue task for unknown uid UUID(1148323608052:-5200024520845086981)
May 22, 2006 2:46:55 PM com.sun.gi.logic.impl.SimulationImpl$1 userLeft
INFO: user UUID(1148323608052:-5200024520845086981) leaving but was not joined.

This seems to indicate a connection was made, I believe. Anything else I can tell you? Thanks very
much for your help – good luck with EA2!

Jordan

Yup.

Wahts is the darkstar.log file?

JK

Jeff,

I don’t see a darkstar.log file (I did “find” for it, but no luck). Where can I find it?

Thanks for your help,
Jordan

Hmm. Intreesting… it does loo kto me like a low level conenction is happening.

You probably want to enable “FINEST” logging on the sevrer. It looks to me like your log output is goping to the console which shoudl be fine for now.

I need to look up how to enable that, there is a config file you set, Ill post a guide for that tonight.

Jeff,

I tried the same on my Mac OS X (Tiger v10.4) machine at home as well and do not run
into the problems I do on my Ultra 20 (Solaris 10) machine. Since I can run this on my
Powerbook just fine, I do not necessarily need to run SGS on my Solaris machine, but
let me give you information about its configuration, since I suspect you may want to look
into this problem:

/opt/SUNWspro/prod/examples% java -version
java version “1.5.0_06”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot™ Client VM (build 1.5.0_06-b05, mixed mode)

/opt/SUNWspro/prod/examples% uname -a
SunOS akela 5.10 Generic_118844-26 i86pc i386 i86pc

ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255
ether 0:e0:81:5c:9f:cd

If there is anything else you would like me to provide, feel free to ask.
Jordan

Thanks, yeah, I need to look into this.

We run on Solaris for all the shows and it works for us. Must be something very subtle going on…