[Bese-devel] Re: ucw setup - a newbie question
Marco Baringer
mb at bese.it
Fri Mar 31 16:22:42 UTC 2006
"Alec Segal" <alecsegal at gmail.com> writes:
> Just have ucw set up and trying to get any response from it. No luck with any
> backend.
> I use the latest sources from darcs ucw_dev.
>
> SBCL 0.9.8
>
> ucw.log (lisp was restarted every time):
>
> (+INFO+ 3352746404 IT.BESE.UCW::UCW-LOGGER "Starting up standard server #
> <STANDARD-SERVER MULTITHREAD-HTTPD-BACKEND 2 {B2F6149}>.")
> (+INFO+ 3352751202 IT.BESE.UCW::UCW-LOGGER "Starting up standard server #
> <STANDARD-SERVER ARANEIDA-BACKEND 2 {B342C09}>.")
> (+INFO+ 3352752177 IT.BESE.UCW::UCW-LOGGER "Starting up standard server #
> <STANDARD-SERVER MULTITHREAD-MOD-LISP-BACKEND 2 {B3D1249}>.")
>
> As soon as I try to connect with through http, I get an error in the
> ucw-backend.log:
>
> (+ERROR+ 3352743688 IT.BESE.UCW::UCW.BACKEND "Error in worker loop: #
> <UNDEFINED-FUNCTION READ-REQUEST {BDD2D29}>.")
> (+ERROR+ 3352743688 IT.BESE.UCW::UCW.BACKEND "Worker thread #
> <IT.BESE.UCW::HTTPD-WORKER {BD3D6B9}> reported #<UNDEFINED-FUNCTION
> READ-REQUEST {BDD2D29}>.")
>
> (+INFO+ 3352751202 IT.BESE.UCW::UCW.BACKEND "Starting up ARANEIDA backend #
> <ARANEIDA-BACKEND {C1C37C1}> on http://127.0.0.1:8080/")
> (+ERROR+ 3352754733 IT.BESE.UCW::UCW.BACKEND "Error in worker loop: #
> <UNDEFINED-FUNCTION READ-REQUEST {A746601}>.")
> (+ERROR+ 3352755066 IT.BESE.UCW::UCW.BACKEND "Error in worker loop: #
> <UNDEFINED-FUNCTION READ-REQUEST {C67BF11}>.")
this is strange, the read-reuest function is defined in
ucw/src/backend/common.lisp. if you load common.lisp from the repl
(before sending a reuest to ucw) things sohuld work perfectly. you're
not the first person to run into this problem but i am, unfgortunetly,
unable to reproduce it. :(
> For some reason httpd-worker-loop/handle in multithread-httpd.lisp does not
> have read-request and make-response functions defined (though they are in the
> httpd.lisp). I am less clear what is going on with other backends.
> IMHO ucwctl needs to be fixed (the value for :backend must be a list):
> ...
> $EVAL "(ucw:create-server :backend '(:$BACKEND
> :host \"$HOST\"
> :port $PORT)
luca's recent (yestrday) patch to ucwctl et al. fixs this.
--
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
More information about the bese-devel
mailing list