We got the trackd working, but are still having trouble communicating between computers.
This is from our CAVE administrator:
I am now having problems trying to get the smrj stuff working on the side and floor computers. Since my original attempts were unsuccessful in getting displays up on the non-center screens, I decided to test the smrj communications with the simple println("Hi there!") example found at the beginning of the JReality Virtual Environment Tutorial web page. So I entered and compiled the 3 sample examples on that page and tried this:
On all the clients (center, right, left, and floor) I ran the smrj-client:
java -jar smrj-client.jar
Then on the master machine (center), I ran the SMRJDemo app (the one that does the println):
java -cp smrj.jar:. SMRJDemo
The master connects to the smrj-client being run on that same center machine and prints "Hi there!" in the client window. But it never connects (and therefore does not print "Hi there!") to any of the other client machines (right, left, or floor). The clients on those other machines just sit there waiting for a connection. I've looked through all the documentation I can find but do not see anything that needs to be configured to get those connections to take place.
Just for completeness, here is the output from the master window after running the SMRJDemo app:
Jul 7, 2010 1:49:33 PM de.smrj.tcp.TCPBroadcaster$ClientConnectListener run
INFO: binding
ClientListener.run(): bound to azlive.rc.arizona.edu/192.168.128.201:8868
accepting client
accepting connections
Jul 7, 2010 1:49:33 PM de.smrj.tcp.TCPBroadcaster <init>
INFO: TCPBroadcaster started. port=8,868
sent: new-connection: azlive.rc.arizona.edu 8868
sent: response-type: 1
sent: cp-server: azlive.rc.arizona.edu 8869
sent: cp-element: /home/vrco/geocam/workspace/jreality/tutorial/smrj.jar
sent: cp-element: /home/vrco/geocam/workspace/jreality/tutorial/
sent: do-connect: de.smrj.ClientFactory
JAR-SERVER: accepting /192.168.128.201
JAR-SERVER: accepting /192.168.128.201
Jul 7, 2010 1:49:33 PM de.smrj.tcp.TCPBroadcasterNIO$ClientConnectListener
acceptClient
INFO: client connected: java.nio.channels.SocketChannel[connected
local=/192.168.128.201:8868 remote=/192.168.128.201:32813]
accepting client
And here is the output in the center machine's smrj-client window:
connecting to azlive.rc.arizona.edu:8868 with de.smrj.ClientFactory
URL=
http://azlive.rc.arizona.edu:8869/home/ ... reality/tu
torial/smrj.jar?exists
USING LOCAL: /home/vrco/geocam/workspace/jreality/tutorial/smrj.jar
URL=
http://azlive.rc.arizona.edu:8869/home/ ... reality/tu
torial/?exists
USING LOCAL: /home/vrco/geocam/workspace/jreality/tutorial/
Jul 7, 2010 1:17:12 PM de.smrj.tcp.TCPReceiver connect
INFO: Receiver: connected to azlive.rc.arizona.edu:8,868
Hi there!
The other machines' smrj-client windows just sit there with no output at all.
The center machine's IP address is 192.168.128.201 (which can be seen in the master output above). The other machines are on a dedicated network with the addresses 192.168.128.202, 192.168.128.203, and 192.168.128.204
Thanks.
Dave