tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Paulino Gómez Herrero <miguelgo...@ya.com>
Subject Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk
Date Mon, 18 Feb 2002 16:12:27 GMT
Hello,

I  attach some logs:

Apache HTTP server access_log:

127.0.0.1 - - [18/Feb/2002:17:01:48 +0100] "GET /forcap HTTP/1.0" 403 271
127.0.0.1 - - [18/Feb/2002:17:01:51 +0100] "GET
/forcap/informes2002?tipo=informe&formato=pdf&anexo=11&numsolicitud=3
HTTP/1.0" 403 284

Apache HTTP server error_log:

[Mon Feb 18 17:01:42 2002] [notice] Apache/1.3.22 (Unix) mod_jk/1.1.0
configured -- resuming normal operations
[Mon Feb 18 17:01:42 2002] [info] Server built: Oct 15 2001 12:21:38
[Mon Feb 18 17:01:42 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)

Log of my own context:

2002-02-18 16:58:30 - /forcap: Adding servlet=jsp-> ServletH jsp(null)
2002-02-18 16:58:30 - /forcap: Map *.jsp -> ServletH jsp(null)
2002-02-18 16:58:30 - /forcap: Reading
/opt/jakarta-tomcat-3.3a/webapps/forcap/WEB-INF/web.xml
2002-02-18 16:58:30 - /forcap: Adding servlet=informes2002-> ServletH
informes2002(SW (null CN=tdi.a2002.generaInforme))
2002-02-18 16:58:30 - /forcap: Map /informes2002 -> ServletH informes2002(SW
(null CN=tdi.a2002.generaInforme))
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.exceptionHandler->
tomcat.exceptionHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.statusHandler->
tomcat.statusHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.redirectHandler->
tomcat.redirectHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.notFoundHandler->
tomcat.notFoundHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.jspPrecompileHandler->
tomcat.jspPrecompileHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.fileHandler->
tomcat.fileHandler
2002-02-18 16:58:30 - /forcap: Adding servlet=tomcat.dirHandler->
tomcat.dirHandler

Tomcat mod_jk log (large):
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (159)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (199)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (217)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /forcap/servlet/=ajp13
was added
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (262)]: Into
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /forcap/.jsp=ajp13 was
added
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule
/forcap/informes2002=ajp13 was added
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (302)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 3 rules
[Mon Feb 18 16:57:09 2002]  [jk_uri_worker_map.c (324)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (82)]: Into wc_open
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (207)]: Into build_worker_map,
creating 1 workers
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (138)]: Into wc_create_worker
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp13 of ajp13
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp13
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker ajp13 contact is localhost:8009
[Mon Feb 18 16:57:09 2002]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (177)]: wc_create_worker, done
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (223)]: build_worker_map, removing
old ajp13 worker
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (235)]: build_worker_map, done
[Mon Feb 18 16:57:09 2002]  [jk_worker.c (102)]: wc_open, done
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (109)]: Into wc_close
[Mon Feb 18 16:57:15 2002]  [jk_worker.c (111)]: wc_close, done
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (177)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Mon Feb 18 16:57:15 2002]  [jk_uri_worker_map.c (332)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (159)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (199)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (217)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /forcap/servlet/=ajp13
was added
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (262)]: Into
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /forcap/.jsp=ajp13 was
added
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule
/forcap/informes2002=ajp13 was added
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (302)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 3 rules
[Mon Feb 18 17:01:40 2002]  [jk_uri_worker_map.c (324)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (82)]: Into wc_open
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (207)]: Into build_worker_map,
creating 1 workers
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (138)]: Into wc_create_worker
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp13 of ajp13
[Mon Feb 18 17:01:40 2002]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp13
[Mon Feb 18 17:01:40 2002]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Mon Feb 18 17:01:40 2002]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker ajp13 contact is localhost:8009
[Mon Feb 18 17:01:40 2002]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (177)]: wc_create_worker, done
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (223)]: build_worker_map, removing
old ajp13 worker
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (235)]: build_worker_map, done
[Mon Feb 18 17:01:40 2002]  [jk_worker.c (102)]: wc_open, done
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (159)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (199)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (217)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 3
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (273)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /forcap/servlet/=ajp13
was added
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (262)]: Into
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /forcap/.jsp=ajp13 was
added
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (291)]: Into
jk_uri_worker_map_t::uri_worker_map_open, exact rule
/forcap/informes2002=ajp13 was added
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (302)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 3 rules
[Mon Feb 18 17:01:41 2002]  [jk_uri_worker_map.c (324)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (82)]: Into wc_open
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (207)]: Into build_worker_map,
creating 1 workers
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (138)]: Into wc_create_worker
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp13 of ajp13
[Mon Feb 18 17:01:41 2002]  [jk_ajp13_worker.c (922)]: Into
ajp13_worker_factory
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp13
[Mon Feb 18 17:01:41 2002]  [jk_ajp13_worker.c (443)]: Into
jk_worker_t::validate
[Mon Feb 18 17:01:41 2002]  [jk_ajp13_worker.c (456)]: In
jk_worker_t::validate for worker ajp13 contact is localhost:8009
[Mon Feb 18 17:01:41 2002]  [jk_ajp13_worker.c (482)]: Into
jk_worker_t::init
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (177)]: wc_create_worker, done
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (223)]: build_worker_map, removing
old ajp13 worker
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (235)]: build_worker_map, done
[Mon Feb 18 17:01:41 2002]  [jk_worker.c (102)]: wc_open, done
[Mon Feb 18 17:01:48 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Feb 18 17:01:48 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/forcap'
[Mon Feb 18 17:01:48 2002]  [jk_uri_worker_map.c (456)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Mon Feb 18 17:01:51 2002]  [jk_uri_worker_map.c (351)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Mon Feb 18 17:01:51 2002]  [jk_uri_worker_map.c (368)]: Attempting to map
URI '/forcap/informes2002'
[Mon Feb 18 17:01:51 2002]  [jk_uri_worker_map.c (381)]:
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 ->
/forcap/informes2002


Thanks in advance


----- Original Message -----
From: "Larry Isaacs" <Larry.Isaacs@sas.com>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Monday, February 18, 2002 4:14 PM
Subject: RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk


Can you give an example request and provide the associated
entries in the various log files?  Without more detail, it
is hard to guess what the problem is.

Cheers,
Larry


> -----Original Message-----
> From: Miguel Paulino Gómez Herrero [mailto:miguelgomez@ya.com]
> Sent: Monday, February 18, 2002 9:59 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems
> with mod_jk
>
>
> Hello,
>
>         I've the same problem using tomcat 3.3a + Apache 1.3 on Linux
> Slackware 8.0, it seem that tomcat don't work well because apache http
> server forwards all request to tomcat but I get a "403
> Forbidden " response.
> I think that there is a mistake on the tomcat configuration
> but I don't know
> what is.
>
> Cheers,
> Miguel
>
> ----- Original Message -----
> From: "Larry Isaacs" <Larry.Isaacs@sas.com>
> To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
> Sent: Monday, February 18, 2002 2:36 PM
> Subject: RE: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems
> with mod_jk
>
>
> I don't do a lot of testing on Linux but I don't know why this
> wouldn't work.  I assume you looked for the mod_jk.conf under
> the "conf/auto" directory?  Are you using the RPM or the tar.gz?
> To diagnose why Apache and Tomcat 3.3a aren't communicating,
> more information than "I didn't get tomcat" will be needed.
> A portion of the jk.log relating to a failed request would help.
>
> Cheers,
> Larry
>
>
> > -----Original Message-----
> > From: Kaemmerer, Stefan [mailto:Stefan.Kaemmerer@softwareag.com]
> > Sent: Monday, February 18, 2002 1:40 AM
> > To: 'tomcat-user@jakarta.apache.org'
> > Subject: Tomcat 3.3a + Apache 1.3 on Linux 7.2: Problems with mod_jk
> >
> >
> > I have installed apache and tomcat 3.3a on my Suse Linux.
> >
> > with http://skaehome I'm getiing my apache server. with
> > http://skaehome:8080/examples I'M getting tomcat. But
> without the port
> > number I didn't get tomcat. At the time I'm using
> > /etc/tomcat3/conf/jk/mod_jk.conf which looks like the following.
> >
> > LoadModule jk_module modules/mod_jk.so
> > AddModule  mod_jk.c
> >
> > <IfModule mod_jk.c>
> >
> > JkWorkersFile /etc/tomcat3/conf/jk/workers.properties
> > JkLogFile     /etc/tomcat3/conf/jk/jk.log
> > JkLogLevel info
> > JkMount /*.jsp ajp13
> > JkMount /servlet/* ajp13
> > JkMount /examples/* ajp13
> >
> > </IfModule>
> >
> > I tried to generate an mod_jk.conf with tomcat3 run jkconf,
> > but this doesn't
> > work. No mod_jk.conf will be generated.
> >
> > Mit freundlichen Grüßen
> > Stefan Kämmerer
> >
> > Software AG Systemhaus GmbH
> > Technical Consultant
> > Email mailto:Stefan.Kaemmerer@SoftwareAG.com
> > Fon +49 711 72093 0
> > Fax +49 7085 9230 56 (Home Office)
> > Fax +49 711 72093 165
> > Mobil +49 172 680 7285
> > Web http://www.softwareag.com
> >
> >
> > --
> > To unsubscribe:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> >
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message