dev@glassfish.java.net

Re: About setting of "OSGI_SHELL_TELNET_PORT" property on cluster env

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Tue, 18 Sep 2012 21:07:12 +0900

Thanks tom's explaination very much!

--Tang

Tom Mueller wrote:
> Hi Tang,
>
> The reason is isn't set in the first instance is because the first
> instance uses the value that is defined in the config for the cluster.
>
> Tom
>
> On 9/14/2012 6:52 AM, Sahoo wrote:
>> Tang,
>>
>> This TELNET_SHELL_PORT will ultimately go away once I accept the
>> contribution of ancoron. So, let's not investigate this any further.
>>
>> Thanks,
>> Sahoo
>>
>> On Friday 14 September 2012 09:29 AM, Tang Yong wrote:
>>> Hi Sahoo, Tom
>>>
>>> After I created the first instance(in1) on cluster, I found that on
>>> domain.xml, in1's system properties were set as following and
>>> "OSGI_SHELL_TELNET_PORT" property was not explicitly set.
>>>
>>> <system-property name="HTTP_LISTENER_PORT" value="18080"></system-property>
>>> ...
>>>
>>> However, after I created the second instance(in2) on cluster, on in2's
>>> system properties setting, "OSGI_SHELL_TELNET_PORT" property was
>>> explicitly set.
>>>
>>> ...
>>> <system-property name="OSGI_SHELL_TELNET_PORT"
>>> value="26667"></system-property>
>>>
>>> So, from a user's perspective, whether need to set
>>> "OSGI_SHELL_TELNET_PORT" property explicitly liking the following while
>>> creating the first instance on cluster or not?
>>>
>>> <system-property name="OSGI_SHELL_TELNET_PORT"
>>> value="26666"></system-property>
>>>
>>> if yes, I will create a issue on JIRA.
>>>
>>> Thanks!
>>> --Tang
>>>
>>>
>>>
>>>
>
>
>