LispConnector.go: Connect to Lisp port failed
Jack Tanner <[email protected]> Tue, 09 Nov 2004 20:55:44 -0500
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
My Tomcat happily runs servlets. But when I run the servlet that's compiled with jlinker and is supposed to connect to my lisp app, I get HTTP status 500, javax.servlet.ServletException: LispConnector.go: Connect to Lisp port failed. My compiled Lisp application is running on the same machine. When I start it up, I see ;;ji(1.1): Advertising Lisp server at localhost:4321. ;;jn(1.1)jNotifyLisp: starting up. ;;js(1.1)jLinkServer: starting up. ; Fast loading from bundle code/sock.fasl. ; Fast loading from bundle code/defftype.fasl. ;;ji(1.1): Expecting announceServer message from Java. nmap shows me that 4321 is open, and I can telnet to it. I've disabled iptables to make sure the firewall is not the culprit. I only start my Lisp app after starting Tomcat. Any ideas on how I could troubleshoot this? P.S. For those keeping score at home, the generate-application + jlinker issue was easily resolved (thank you, Mikel Bancroft!) by adding :process in the generate-application call, like so: (generate-application "myapp" "delivery" '(:process "load-myapp.lisp") :allow-existing-directory t :include-compiler t :discard-compiler t :runtime-bundle t)