You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Meeraj Kunnumpurath <m....@hotmail.co.uk> on 2007/03/20 12:06:52 UTC

Discovery update

Hi,

I have temporarily replaced the JXTA discovery service with JMS (Jim, this 
is important you for tomorrow's demo).

We have been using JXTA so far for discovery. We use PDP (Peer Discovery 
Protocol) for maintaining the federated runtime topology adn PRP (Peer 
Resolver Protocol) for sending arbitrary messages (in our case marshalled 
PCSs)  between peers. PDP has been working fine, but I started running into 
issues with PRP, with both broadcast and directed delivery not reacing the 
recipient peers. I have posted the query to the JXTA user list. In the 
meanwhile, with a view on tomorrow's demo, I have added a new implementation 
using JMS.

I have updated the demo distribution SCDLs to use JMS instead of JXTA. I am 
using ActiveMQ, you need to download the broker and run it centrally. Please 
use -dtuscany.adminPort to use a port other than 1099 for the profiles, as 
it is used by ActiveMQ.

so for example
master: java -Dtuscany.adminPort=2000 -jra start.server.jar master
slave1: java -Dtuscany.adminPort=3000 -jra start.server.jar slave1
slave2: java -Dtuscany.adminPort=4000 -jra start.server.jar slave2

Otherwise, ActiveMQ out-of-the-box configuration should work.

I am going to look at the JXTA issue post Wednesday. In the meanwhile, if 
anyone would like to help with the JXTA issue, please send a note, I will 
give the details.

Thanks
Meeraj

_________________________________________________________________
Solve the Conspiracy and win fantastic prizes.  
http://www.theconspiracygame.co.uk/


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org