FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 01-29-2010, 12:13 AM
Adam Hardy
Default tomcat apache2 connector on lenny

I am setting up apache2 with to connect to tomcat, on lenny, using the packages
available in the lenny repo. I installed libapache2-mod-jk and I'm following the
documentation there and grabbing what info I can find from google.

So I think I have everything pretty much configured right in line with the lenny
package config for tomcat, apache2 and libapache2-mod-jk.

I am trying to set up 2 virtualhosts on this tomcat and something is wrong.
Apache returns 503 - service temporarily unavailable.

In the mod_jk.log, I have this:
jk_open_socket::jk_connect.c (566): connect to failed
ajp_connect_to_endpoint::jk_ajp_common.c (869): Failed opening socket to
( (errno=111)
ajp_send_request::jk_ajp_common.c (1359): (ajp13_worker) connecting to backend
failed. Tomcat is probably not started or is listening on the wrong port (errno=111)

jk_handler::mod_jk.c (2364): Service error=-3 for worker=ajp13_worker

I have a connector defined in tomcat's server.xml like this:

<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

It looks like something is seriously wrong with this AJP connector.

Any inspiration direly needed,


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 04:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org