Hi Francis, Ben!<div><br></div><div>This problem exists on all windows platforms. Correction will be included in R14B04.</div><div><br></div><div>Regards</div><div>/siri<br><br><div class="gmail_quote">2011/6/10 Francis Joanis <span dir="ltr"><<a href="mailto:francis.joanis@gmail.com">francis.joanis@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Do you know if this issue only affects Windows Server 2008 or does it also happen on Windows Server 2003?<br>
<br>
Thanks,<br><font color="#888888">
Francis</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 6:55 AM, Ben Godfrey <span dir="ltr"><<a href="mailto:ben@ben2.com" target="_blank">ben@ben2.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Thanks Siri,<br>
<br>
Is there anything I can do to help?<br>
<font color="#888888"><br>
Ben<br>
</font><div><div></div><div><br>
On 7 June 2011 09:11, Siri Hansen <<a href="mailto:erlangsiri@gmail.com" target="_blank">erlangsiri@gmail.com</a>> wrote:<br>
> Hi Ben!<br>
> Unfortunately, the release handling for windows, including erlsrv.erl and<br>
> start_erl.c, is broken. This was discovered not long ago, after refreshing<br>
> the release_handler test suite where these tests were skipped on windows. We<br>
> are currently working on this issue, and plan to release a correction as<br>
> soon as possible.<br>
> Regards<br>
> siri@otp<br>
><br>
> 2011/6/6 Ben Godfrey <<a href="mailto:ben@ben2.com" target="_blank">ben@ben2.com</a>><br>
>><br>
>> Hello all,<br>
>><br>
>> I've been trying to deploy an Erlang application as a Windows service<br>
>> and not having much luck.<br>
>><br>
>> I built a release package using rebar. I'm registering the service as<br>
>> follows:<br>
>><br>
>>    c:\erl5.8.3\erts-5.8.3\bin\erlsrv.exe add Rolf -c "Collects system<br>
>> data for monitoring." -w c:\rolf -m<br>
>> c:\erl5.8.3\erts-5.8.3\bin\start_erl.exe -debugtype reuse -args<br>
>> "-setcookie xyz123 ++ -reldir c:\rolf\releases"<br>
>><br>
>> This fails with the error "Failed to query BinDir of release." in the<br>
>> .debug file. Looking at the code for start_erl.exe, this is related to<br>
>> registry keys. I can't see any sign of any keys which match the<br>
>> pattern described in the source, but curiously the preceding call to<br>
>> open a registry key succeeds [2].<br>
>><br>
>> Any one have any idea about any of this stuff?<br>
>><br>
>> Server is Windows Server 2008.<br>
>><br>
>> Ben<br>
>><br>
>> [1] <a href="https://github.com/erlang/otp/blob/dev/erts/etc/win32/start_erl.c#L364" target="_blank">https://github.com/erlang/otp/blob/dev/erts/etc/win32/start_erl.c#L364</a><br>
>> [2] <a href="https://github.com/erlang/otp/blob/dev/erts/etc/win32/start_erl.c#L342" target="_blank">https://github.com/erlang/otp/blob/dev/erts/etc/win32/start_erl.c#L342</a><br>
>><br>
>> --<br>
>> Ben Godfrey, Wandering Hacker<br>
>> <a href="http://aftnn.org" target="_blank">http://aftnn.org</a> | <a href="http://twitter.com/afternoon" target="_blank">http://twitter.com/afternoon</a> |<br>
>> <a href="http://www.linkedin.com/in/bengodfrey" target="_blank">http://www.linkedin.com/in/bengodfrey</a><br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
>> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div>Ben Godfrey, Wandering Hacker<br>
<a href="http://aftnn.org" target="_blank">http://aftnn.org</a> | <a href="http://twitter.com/afternoon" target="_blank">http://twitter.com/afternoon</a> |<br>
<a href="http://www.linkedin.com/in/bengodfrey" target="_blank">http://www.linkedin.com/in/bengodfrey</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>