Phillip,

Question, did you compile mod_jk.so using the supplied makefile?
If so, you didn't get the whole thing compiled. The makefile doesn't
work correctly. So that is the first shibboleth.

Your config files look pretty good, which is why I ask. The mod_jk.so
will appear to compile and even load, but it won't work.

What does the output look like for the compile? Are all the supplied
files compiling?

Second, I suggest you try and get things working "out of the box",
I.e., with the mod_jk.conf-auto. Once things work you can then
modify, add virtual hosts, etc with more assurance.


Good Luck (it can be made to work),

Dave

----- Original Message -----
From: "Phillip C Rhodes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 12:34 PM
Subject: pls help-freebsd,mod_jk,apache,up all night and turning psycho!


> Well, getting past the point of frustration anyway.  I read all the docs
> and have set Athis up on NT fine with virtual hosting and apache...and put
> JRun on 4
> different OS's but can't get this install to work.
>
>  I am running Apache 1.3.9 on 3.4-RELEASE FreeBSD
> Tomcat is 3.2.1.  JDK is the native 1.2.2 for FreeBSD
>
> I built mod_jk.so from source.
> I start up tomcat.  7001 for http, 8001 for ajp12, and 9001 for ajp13.  I
> can connect to the http port (7001) and jsp's run fine.  However, if I
> invoke a jsp from apache, apache is not sending the request to tomcat.  I
> know it is such a simple problem, but really, I been up all night and need
> some help before I go crazy:)
>
> I start up apache, no problems.  It works.  No errors in mod_jk.log.  It
> creates the workers.  No errors in servlet.log or jasper.log
>
> Here is some snippets of what I have done.  If you see the error of my
> ways, please feel free to punish me however you see fit.
> Thanks!
>
> My apache file:
>
> LoadModule    jk_module  libexec/apache/mod_jk.so
> AddModule     mod_jk.c
>
> # Configure mod_jk
> #
> JkWorkersFile /usr/local/jakarta-tomcat-3.2.1/conf/workers.properties
> JkLogFile     /usr/local/etc/apache/mod_jk.log
> JkLogLevel    error
>
>
> <VirtualHost 216.55.177.74>
> DocumentRoot /usr/local/www/rhoderunner
> ServerName www.rhoderunner.com
> JkMount /*.jsp ajp13rhoderunner
> JkMount /servlet/* ajp13rhoderunner
> </VirtualHost>
>
>
> My worker.properties file:
>
> worker.list=ajp12rhoderunner,ajp13rhoderunner
>
> (left out ajp12rhoderunner worker...on port 8001)
> #
> # Defining a worker named ajp13 and of type ajp13
> # Note that the name and the type do not have to match.
> #
> worker.ajp13rhoderunner.port=9001
> worker.ajp13rhoderunner.host=localhost
> worker.ajp13rhoderunner.type=ajp13
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  ----> lbfactor must be > 0
> #  ----> Low lbfactor means less work done by the worker.
> worker.ajp13rhoderunner.lbfactor=1
>
>
> My server.xml file:
> (of course I have an AJP12 connector on 8001)
>         <!--    enable AJP13 support
>           -->
>         <Connector className="org.apache.tomcat.service.PoolTcpConnector">
>                 <Parameter name="handler"
>
> value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
>                 <Parameter name="port" value="9001"/>
>         </Connector>
>
>
>
> <Host name="www.rhoderunner.com">
>   <Context path="/" docBase="/usr/local/www/rhoderunner" debug="0"/>
> </Host>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to