Hi Chandana,

I was able to reproduce your issue. This issue is caused due to an
uncompleted bash installation in Windows 10.
With windows 10 (10th year anniversary edition) users were given the option
to install bash within windows. So once you have installed *Windows sub
system for Linux(beta)* feature it actually doesn't completely install all
of its features. This creates a '*bash.exe*' in system32 folder and it will
be installed when the "bash" command runs.

In carbon-kernel [1] we try to write a PPID using a bash command. In
windows environment we expect an exception when trying to execute this step
since bash is not available in windows. But in this case bash is available
in the windows environment and an exception is not generated. So the
process continues and it try to read a line in [2] but it hangs there
because once we execute the "*bash*" command it tries to install bash in
windows(user input is required to install it)

So, to resolve this issue we can install bash completely by running "*bash*"
command in command prompt or remove the *Windows sub system for
Linux(beta) *feature.

I hope this is the same reason for your issue as well. (you can check
whether you have partially installed bash by typing "bash" in command
prompt. This will ask you to install it properly.)

Let us know if this helped you to resolve the issue.

PS: Complete tutorial on installing bash in windows 10 is available in [3].

[1] https://github.com/wso2/carbon-kernel/blob/
f1f013f0d513c6234881fa6e8a2496419d6aece7/launcher/src/main/
java/org/wso2/carbon/launcher/Main.java#L209

[2] https://github.com/wso2/carbon-kernel/blob/
f1f013f0d513c6234881fa6e8a2496419d6aece7/launcher/src/main/
java/org/wso2/carbon/launcher/Main.java#L226

[3] https://www.windowscentral.com/how-install-bash-shell-command-
line-windows-10

Thank you.
Raveen.

On Mon, Jan 1, 2018 at 3:10 AM, Chandana Napagoda <cnapag...@gmail.com>
> wrote:
>
>> Hi Isuru/Gimantha,
>>
>> For your reference, I have created a video[1] when starting WSO2 SP 4.0.0
>> R3. No character was selected while starting the server.
>>
>> [1]. https://youtu.be/sJpbM9V9rII
>>
>> Chandana
>>
>> On 22 December 2017 at 22:26, Gimantha Bandara <giman...@wso2.com> wrote:
>>
>>>
>>>
>>> On Fri, Dec 22, 2017 at 8:14 AM, Chandana Napagoda <cnapag...@gmail.com>
>>> wrote:
>>>
>>>> -1, Unable to start  Stream Processor Studio in the windows
>>>> machine[1][2]. It was hanging on the below step for more than 20 minutes.
>>>>
>>> I confirmed what Isuru has mentioned.
>>> This is not a bug. If you select a character in command prompt (by*
>>> mark*ing), the current process holds and will not continue. Press
>>> *Enter,* then the process will continue.
>>>
>>> ​
>>>
>>>>
>>>> Also, it seems "Installing on Windows"[1] doc is outdated, I can't find
>>>> any place to copy snappy-java jar file.
>>>>
>>>>
>>>> ​
>>>>
>>>> [1]. https://docs.wso2.com/display/SP400/Installing+on+Windows
>>>> [2]. https://docs.wso2.com/display/SP400/Running+the+Product
>>>>
>>>> Regards,
>>>> Chandana
>>>>
>>>> On 22 December 2017 at 09:59, SajithAR Ariyarathna <sajit...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> We are pleased to announce the release candidate of WSO2 Stream
>>>>> Processor 4.0.0.
>>>>>
>>>>> This is the Release Candidate version 2 of the WSO2 Stream Processor
>>>>> 4.0.0
>>>>>
>>>>> Please download, test the product and vote. Vote will be open for 72
>>>>> hours or as needed.
>>>>>
>>>>> Known issues: https://github.com/wso2/product-sp/issues
>>>>>
>>>>> Source and binary distribution files: https://github.com/wso2
>>>>> /product-sp/releases/tag/v4.0.0-RC2
>>>>>
>>>>> The tag to be voted upon: https://github.com/wso2/
>>>>> product-sp/tree/v4.0.0-RC2
>>>>>
>>>>> Please vote as follows.
>>>>>     [+] Stable - go ahead and release
>>>>>     [-] Broken - do not release (explain why)
>>>>>
>>>>> ~ The WSO2 Analytics Team ~
>>>>> Thanks.
>>>>>
>>>>> --
>>>>> Sajith Janaprasad Ariyarathna
>>>>> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
>>>>> <https://wso2.com/signature>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Blog: http://blog.napagoda.com
>>>> Linkedin: https://www.linkedin.com/in/chandananapagoda/
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Gimantha Bandara
>>> Software Engineer
>>> WSO2. Inc : http://wso2.com
>>> Mobile : +94714961919 <+94%2071%20496%201919>
>>>
>>
>>
>>
>> --
>>
>> Blog: http://blog.napagoda.com
>> Linkedin: https://www.linkedin.com/in/chandananapagoda/
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
-- 
Raveen Savinda Rathnayake,
Software Engineering Intern,
WSO2 Inc.

*lean. enterprise. middleware  *
Web: www.WSO2.com Mobile : +94771144549  Blog : https://blog.raveen.me

<https://lk.linkedin.com/in/raveensr>

<http://wso2.com/signature>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to