Thursday, November 21, 2013

Portico 2.0 windows LAN not working

Just in case you want to connect two different computers running Portico HLA in your local windows network and it is not working, try the following:
Create the RTI.rid file with this text and put it in the same directory as your application:
portico.jgroups.loglevel=DEBUG
Run your program and make sure it has read the config file. You should notice messages like this:
DEBUG [SwingWorker-pool-1-thread-1] org.jgroups.protocols.pbcast.GMS: 1T_Porto-36128: installing view [1T_Porto-23855|4] [1T_Porto-23855, 1T_Baggio-57693, 1T_Baggio-6991, 1T_Porto-36128]
DEBUG [SwingWorker-pool-1-thread-1] org.jgroups.protocols.pbcast.STABLE: [ergonomics] setting max_bytes to 16MB (4 members)
DEBUG [SwingWorker-pool-1-thread-1] org.jgroups.protocols.pbcast.FLUSH: 1T_Porto-36128: installing view [1T_Porto-23855|4] [1T_Porto-23855, 1T_Baggio-57693, 1T_Baggio-6991, 1T_Porto-36128]

Now that you are sure it works, do the following to your RTI.rid, in both machines:

portico.jgroups.loglevel=DEBUG
portico.jgroups.udp.address=224.0.0.3

Now it should work. I noticed that using the default address, which is 239.255.20.16, it does not work on my windows network. Changing the address did the trick.

Kind regards and happy open source hla =)

Saturday, June 22, 2013

Indexing

Trying to get google to index this site: http://prayingback.appspot.com/ . Let's see if it works.