Curt,

> [Thu Oct 17 15:16:23 2002]  [jk_connect.c (143)]:
> jk_open_socket, connect()
> failed errno = 111

This probably indicates that a socket connection could
not be made.  Although I don't have a C compiler
installed on my current machine (hence no errno.h,
hence no error information), I suspect that there is a
problem with your workers.properties file.

I have a slightly different setup than what you are
using, so the file I am including will have to be
modified to fit your installation.  I've added some
comments in order to help you through that process.

If this file does not help, then we'll need a bit more
information (probably your uriworkermap.properties
file and the JkMount portion of your httpd.conf file)
to be of help.

In general, Tomcat and the Apache web server come with
a good set of default configuration files.  Most of
the time you can simply use the supplied defaults or
remove some comments in order to get up and running.

Once you are up and running with the defaults, you can
go back and start changing things to fit your
particular needs.

1. Back up current configuration files
2. Make a single change - add copious comments
3. Test
4. Take notes

If you are doing a lot of modifications try using RCS
to manage the configuration files.  Versioning
configuration files is in general a good thing, since
you can keep logs, determine what you changed, and
roll back to the last known working configuration.

/mde/

just my two cents . . .

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
#
# general stuff
#
# workers.tomcat_home - root of tomcat installation
# workers.java_home   - root of java installation
# ps                  - path separator (/ for unix, \ for Windows)
#
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\

#
# workers list
# list of connector types - can include ajp12, ajp13, jni
#
worker.list=ajp12, ajp13

#
# ajp12 communicates on port 8007
#
# worker.[workername].port     - port that this worker uses
# worker.[workername],host     - where this resource connects to
# worker.[workername].type     - one of the names from worker.list
# worker.[workername].lbfactor - load balancing factor (bigger number means use more)
#
# please note that [workername] does not have to equal type.  I just do this
# for convenience (as does the original Tomcat workers.properties file does)
#
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

#
# ajp13 connector communicating on port 8009
#
# worker.[workername].port     - port that this worker uses
# worker.[workername],host     - where this resource connects to
# worker.[workername].type     - one of the names from worker.list
# worker.[workername].lbfactor - load balancing factor (bigger number means use more)
#
# please note that [workername] does not have to equal type.  I just do this
# for convenience (as does the original Tomcat workers.properties file does)
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

#
# load balancing - round robin with sticky sessions
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13, ajp12

#
# The JVM that we are about to use
# Unix users will probably use libjvm.so at the end
# classic could possibly be replaced with hotspot as well
#
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll

#
# Setting the place for the stdout and stderr of tomcat
#
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to