Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  start_embedded gives a "** exception exit: {noproc..."

Guest
Posted: Wed May 05, 2010 2:09 pm Reply with quote
Guest
Hi,

Before I was using 1.82 of Yaws as that was what came with that
version of Ubuntu. The following code worked then to start yaws in
embedded mode:

-----------------------------
start_yaws() ->
yaws:start_embedded(""),

Id = "default",
GC = yaws_config:make_default_gconf(false, Id),
SC = #sconf{port = 8888,
servername = "peffis",
listen = {0, 0, 0, 0},
docroot = "/tmp"},
yaws_api:setconf(GC, [[SC]]).
-------------------------------

When I now upgrade to 1.88 of Yaws I see, with the same code running,
instead the following error:

=INFO REPORT==== 5-May-2010::15:41:52 ===
application: yaws
exited: {shutdown,{yaws_app,start,[normal,[]]}}
type: temporary
** exception exit: {noproc,
{gen_server,call,[yaws_server,check_certs,infinity]}}
in function gen_server:call/3
in call from yaws_api:setconf/3
in call from tester:start_yaws/0

(Well, my code is actually not needed to reproduce this. Simply doing
"yaws:start_embedded("/tmp")." in the shell gives me the same error.)


Any idea on what is going wrong? Is there some other process that
needs starting now before start_embedded is called, or possibly a
config that needs to be enabled/disabled now that wasn't needed in
yaws-1.82?

Kindest regards,
Stefan

------------------------------------------------------------------------------
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Wed May 05, 2010 4:23 pm Reply with quote
Guest
On Wed, May 5, 2010 at 10:08 AM, Stefan Hellkvist <hellkvist@gmail.com> wrote:
> Hi,
>
> Before I was using 1.82 of Yaws as that was what came with that
> version of Ubuntu. The following code worked then to start yaws in
> embedded mode:
>
> -----------------------------
> start_yaws() ->
>

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum