I have installed mod_jk to connect Apache to Tomcat.  This was a
module obtained from jakarta's web site.  Apache and Tomcat will both start
up with no problem, but I am getting a 404 error when trying to access a
*.jsp page.

        1)I have this exact same configuration with Tomcat 3.2.1, all I am
trying to do is put Tomcat 3.2.4 into the same environment on a new machine
(newer version of Linux also).  

        2)My mod_jk.log is telling me that it finds a match for a worker,
here is the output when I try to access the page...
        [jk_uri_worker_map.c (344)]: Into
jk_uri_worker_map_t::map_uri_to_worker
        [jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker,
Found a match ajp12
        [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
        [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker

        3)My apache error_log is telling me something about a segmentation
fault, which my properly working environment spits out sometimes (doesn't
ever cause any problems that I know of).  Here is the output...
        [Wed Dec 12 23:56:02 2001] [notice] child pid 7385 exit signal
Segmentation fault (11)

        4)Apache appears to be loading the mod_jk correctly on startup based
on the information provided in the apache error_log provided below...
        [Wed Dec 12 23:07:47 2001] [notice] Apache/1.3.19 (Unix) mod_jk
mod_perl/1.24_01 mod_throttle/2.11 PHP/4.0.6 FrontPage/4.0.4.3 mod_ssl/2.8.3
OpenSSL/0.9.6b configured -- resuming normal operations

        5)To me, this appears to be a problem with specifying a wrong path
for a context or something in server.xml, but I have checked that over and
over and it all is correct, but here is the path to my vhost in case I am
missing something.
        <Host name="www.cheapshotz.com">
                 <Context path=""
        
docBase="/usr/local/psa/home/vhosts/cheapshotz.com/httpdocs">
                 crossContext="false"
                 debug="0"
                 reloadable="true"
                 </Context>
          </Host>



        I know this is long, but if anyone can point me in the right
direction, I would REALLY appreciate it!  I have been working on this
configuration for 2 days now, am so close to completion, but have come to a
dead end.  Should I try to compile mod_jk on my machine?  Every attempt at
that has resulted in apache not starting up.


        Brandon

Attachment: winmail.dat
Description: application/ms-tnef

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to