Re: Specify port in command line?

"Guijarro, Julio" <[email protected]> Tue, 21 Aug 2007 18:08:32 +0100
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Hi,

 

At the moment there is no direct way in the shell scripts to select the
port number with sfStart or sfPing. But there are some solutions:

 

1. set an environment variable with this attribute/value  "export
org.smartfrog.sfcore.processcompound.sfRootLocatorPort=3800"  Where you
will need to modify 3800 with your port of choice.

 

2. Modify default.ini with a different port.

 

3. Modify the scripts to do 1 using a special switch (ex -port)

 

In any case, because we found that this could be useful we will provide
a permanent solution for this soon. To follow the progress of this
check:

 

http://jira.smartfrog.org/jira/browse/SFOS-373

 

Julio

 

 

 

 

________________________________

From: smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Robinson, Gary
Sent: 20 August 2007 17:02
To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-support] Specifiy port in command line?

 

Hey all, 

How can I specifiy sfStart/sfPing to look for a daemon on a different
port to 3800? The normal notation ( ie  127.0.0.1:1111 ) throws out a
ParserException. Also, how can I get sfDaemon to run on a different
port?

My intention is to have ports forwarded to certain ip addresses for
different virtual machines. In reality the daemons should all be running
on 3800 on different virtual machines.

Kindest Regards 
Gary

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Smartfrog-support mailing list
Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-support