From owner-freebsd-questions@FreeBSD.ORG Wed Feb 7 17:38:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB79716A4C6 for ; Wed, 7 Feb 2007 17:38:26 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [195.178.174.161]) by mx1.freebsd.org (Postfix) with ESMTP id 89FE513C467 for ; Wed, 7 Feb 2007 17:38:26 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from localhost (localhost.pingpong.net [127.0.0.1]) by melon.pingpong.net (Postfix) with ESMTP id 5EFE3508AE for ; Wed, 7 Feb 2007 18:17:41 +0100 (CET) Received: from melon.pingpong.net ([127.0.0.1]) by localhost (melon.pingpong.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 34188-03-26 for ; Wed, 7 Feb 2007 18:17:41 +0100 (CET) Received: from [10.0.1.4] (2-1-3-26a.asp.sth.bostream.se [82.182.24.220]) by melon.pingpong.net (Postfix) with ESMTP id 2B379508AD for ; Wed, 7 Feb 2007 18:17:41 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <9334A41E-F8B5-4F42-BEC8-D2A35CD8584D@pingpong.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Palle Girgensohn Date: Wed, 7 Feb 2007 18:17:37 +0100 X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: by amavisd-new at pingpong.net Subject: apache+tomcat and helix server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 17:38:27 -0000 Hi! I am experiencing something very strange, that I don't even know how to debug. We run apache+mod_ssl-1.3.34+2.8.25_2, jakarta-tomcat-5.0.30 and mod_jk-1.2.15,1 on FreeBSD 6.1-amd64, and it is really rock stable. Now, into this picture comes a helix server (aka Real server, real media server). Support for FreeBSD is rather poor, so we run an old binary, version 10.1.1.66 built for FreeBSD 5.x-x86 (SERVER_10_1_STABLE branch, https://helix-server.helixcommunity.org/2005/devdocs/builds) With it comes the problems. When the helix server is running, the apache<-mod_jk->tomcat connection (tcp/ip on localhost using the AJP13 protocol, btw) gets into trouble, resulting in error 500 to the user fetching the web page. At first I thought the system was somehow exhausted of resources, but no other logs complain about that. The mod_jk log reports: [Mon Jan 08 15:12:43 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=tomcat failed [Mon Jan 08 15:12:43 2007] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (961): Can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:8008), err=-54 [Mon Jan 08 15:12:43 2007] [error] ajp_get_reply::jk_ajp_common.c (1503): Tomcat is down or refused connection. No response has been sent to the client (yet) Has anyone seen anything like this before. Is anyone running the helix server on FreeBSD? Regards, Palle Girgensohn