RE: which ports are used by smartfrog

"Goldsack, Patrick" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Sanjay,

A number of issues arise: 

Firstly I hope that in this situation your are running with security
switched on!

Secondly, you can direct SmartFrog to export components on a specific
port - by default we set this to selecting an anonymous port. You do
this by setting the attribute sfExportPort to a specific value. This has
a limitation that if you want to have multiple sf daemons on a single
host (root and sub-processes) - they will clash on port numbers unless
you manage it so that each uses a different value. For example this can
be done by setting a system property for each process and then using a
lazy reference to the value of that property as the port number in
prim.sf.

An alternative would be to open an SSH tunnel between the hosts, but
even this takes some care - for example to ensure that call-backs use
the incoming tunnel.

The new security model, as made avaiable in the sf v4.0 alpha
pre-release, would help you in providing additional protection in the
case of using a tunnel. You would be able to enforce additional checks
on the requests between the various parties on each end of the tunnel,
or indeed at a third party resident in a DMZ acting as a gateway
component. However this is probably for the future as we do not
currently consider this "release" as stable.

Patrick

-----Original Message-----
From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Dahiya, Sanjay (STSD)
Sent: 08 March 2006 14:07
To: Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-support] which ports are used by smartfrog

Hi -

We are trying to run smartfrog across firewall, which ports should be
open on all machines for it to work properly?
We have tried with 3800, 1098/1099 ( default rmi) but deployment is not
going through.

thanks for the help
Sanjay


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.