admin@glassfish.java.net

Re: Win. start-local-instance executed remotely has issues.

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Thu, 12 Aug 2010 12:08:48 -0700

Now that's a simple step-by-step! I have mks - but it has no ssh that I
can see...


On 8/12/2010 11:36 AM, Elena Asarina wrote:
> I'm using mks.
>
> Elena
>
> Joe Di Pol wrote:
>>
>> Known bug on Windows.
>>
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=12832
>>
>> Out of curiosity, were you using cygwin or mks?
>>
>> Thanks,
>>
>> Joe
>>
>> Elena Asarina wrote:
>>> Hello,
>>>
>>> I have a question/issue.
>>> I've tried to run such command:
>>>
>>> $ ssh liz-vm8 $S1AS_HOME/bin/asadmin start-local-instance in2
>>> CLI801 Instance is already synchronized
>>> Waiting for the server to start ..........
>>> Successfully started the instance: in2
>>> instancelocation: C:\elena\glassfishv3\glassfish\nodeagents\liz-vm8\in2
>>> Log File:
>>> C:\elena\glassfishv3\glassfish\nodeagents\liz-vm8\in2\logs\server.log
>>> Admin Port: 14848
>>> Command start-local-instance executed successfully.
>>>
>>>
>>> But I never got a prompt back. What I can do only, to execute Ctrl-C.
>>> At the same time I've executed jps on the remote machine (liz-vm8),
>>> to check ASMain process. But new ASMain process was not created
>>> If to execute the same command locally, the prompt would be returned
>>> and and a process would be created..
>>> I can not classify it is as bug, but I think it could be an issue if
>>> somebody would like to configure everything remotely, using some
>>> script. At least that person has to know that start-local-instnace
>>> should not be used.
>>>
>>> I did not see this issue for other commands and I saw this issue
>>> only on Windows.
>>>
>>> Any suggestions?
>>>
>>> Thank you,
>>>
>>> Elena
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188