[kpax-devel] kpax and mod_lisp

Nico Garcia Belmonte philogb at gmail.com
Wed Apr 18 14:55:05 UTC 2007


On 4/18/07, Sven Van Caekenberghe <scaekenberghe at common-lisp.net> wrote:
>
>
> Nico,
>
> We haven't been using the mod_lisp construction for a long time,


What were you using instead?

but
> it should still work. A recent change to #'START-KPAX switched the
> default argument for :server-class from 'mod-lisp-server to 's-http-
> server (see previous sentence, sorry for the inconvenience). That
> could be your problem (if you are tracking the darcs repo), but you
> do get a mod-lisp-server instance.
>
> You could also do the following:
> - do a describe of the mod-lisp-server instance so that we can look
> inside it (do the ports match ?)


When I run describe on *web-app-server* I get:

is an instance of class #<STANDARD-CLASS MOD-LISP-SERVER>.
The following slots have :INSTANCE allocation:
CUTOFF 200 LOGGER-LOCK #S(SB-THREAD:MUTEX :NAME "logger" :VALUE NIL)
APPENDERS (#<DEBUG-STREAM-APPENDER {B2C6911}> #<STREAM-APPENDER {B280029}>)
LAST-FLUSHED-TIMESTAMP 3385895330 ATTRIBUTES NIL SESSIONS
#<HASH-TABLE :TEST EQL :COUNT 0 {B2242B1}> SESSION-LIFETIME 3600
SESSIONS-LAST-REAPED 3385895330 SESSION-ID-SEED 2575558109 SESSION-LOCK
#S(SB-THREAD:MUTEX :NAME "session-manager" :VALUE NIL)
DYNAMIC-PREFIX "/kpax/dynamic/"
STATIC-PREFIX "/kpax/static/"
HOSTNAME "localhost"
SERVER-ID "KPAX1"
DISPATCHER #<KPAX::DISPATCHER {B249311}>
DEBUG-MODE T
STREAM-APPENDER #<STREAM-APPENDER {B280029}>
DEBUG-STREAM-APPENDER #<DEBUG-STREAM-APPENDER {B2C6911}>
STATE :RUNNING
KEEP-ALIVE T
SERVER-PROCESS (("mod-lisp server port 2001" #<SB-BSD-SOCKETS:INET-SOCKET
descriptor 5 {B34C859}>
#<SB-IMPL::HANDLER INPUT on descriptor 5: #>)) CLIENT-PROCESSES NIL


- check all apache log files (error and access)


Apache access.log file only shows:
 127.0.0.1 - - [18/Apr/2007:03:42:19 -0300] "GET /kpax/dynamic/helloworld1
HTTP/1 .1" 500 667 "-" "Opera/9.10 (X11; Linux i686; U; en)"

(no response)

- can you see/inspect/debug anything on the lisp side ?
> - telnet manually to lispworks and talk the mod_lisp protocol


I dont have lispWorks. (Maybe trying localhost:2001)?

- check your firewall settings (you are running both servers on the
> same host ?)


I have actually both servers on the same host.

It will probably be a very simple configuration fault, but these
> things tend to be hard to find...
>
> Sven
>
>
>
>
>


-- 
I would never die for my beliefs because I might be wrong.

Bertrand Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/kpax-devel/attachments/20070418/e87cf09b/attachment.html>


More information about the kpax-devel mailing list