tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Diana <mldi...@vcu.edu>
Subject Re: MBeans exception and mod_jk
Date Wed, 06 Nov 2002 02:38:20 GMT
OK, I tried all of the following:

I copied the contents of the auto-mod_jk.conf file to httpd.conf and 
removed the Include directive. Still no luck. I also added the JkMount 
/examples/* ajp13 statement just to be sure. No luck.

I tried using the mod_jk.so binary for mac osx from the jakarta web 
site. No luck. I tried removing the mod_jk.conf statements I copied to 
httpd.conf from the virtual host and all of the sudden I started 
getting an Apache Internal Server error 500. So, I set the mod_jk log 
level to debug and here's what I got (forgive the length, but I don't 
know enough about this to know what to edit out):

[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (396)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 16
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=ajp13 
was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/jsp/security/protected/j_security_check=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/snoop=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/CompressionTest=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule 
/examples/servlet/=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/examples/.jsp=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/servletToJsp=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/SendMailServlet=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/webdav/.jsp=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/tomcat-docs/.jsp=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/manager/.jsp=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule 
/manager/html/=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /manager/=ajp13 
was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/admin/j_security_check=ajp13 was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /admin/.jsp=ajp13 
was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /admin/.do=ajp13 
was added
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (408)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 16 rules
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (422)]: 
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (88)]: Into wc_open
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (222)]: Into build_worker_map, 
creating 1 workers
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (228)]: build_worker_map, 
creating worker ajp12
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (162)]: wc_create_worker, 
about to create instance ajp12 of ajp12
[Tue Nov 05 21:35:38 2002]  [jk_ajp12_worker.c (283)]: Into 
ajp12_worker_factory
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (171)]: wc_create_worker, 
about to validate and init ajp12
[Tue Nov 05 21:35:38 2002]  [jk_ajp12_worker.c (200)]: Into 
jk_worker_t::validate
[Tue Nov 05 21:35:38 2002]  [jk_ajp12_worker.c (212)]: In 
jk_worker_t::validate for worker ajp12 contact is localhost:8007
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (187)]: wc_create_worker, done
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (238)]: build_worker_map, 
removing old ajp12 worker
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (250)]: build_worker_map, done
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (111)]: wc_open, done 1
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (118)]: Into wc_close
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (199)]: close_workers got 1 
workers to destroy
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (206)]: close_workers will 
destroy worker ajp12
[Tue Nov 05 21:35:38 2002]  [jk_ajp12_worker.c (266)]: Into 
jk_worker_t::destroy
[Tue Nov 05 21:35:38 2002]  [jk_worker.c (120)]: wc_close, done
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (190)]: Into 
jk_uri_worker_map_t::uri_worker_map_free
[Tue Nov 05 21:35:38 2002]  [jk_uri_worker_map.c (441)]: Into 
jk_uri_worker_map_t::uri_worker_map_close
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (396)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 16
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=ajp13 
was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/jsp/security/protected/j_security_check=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/snoop=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/CompressionTest=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule 
/examples/servlet/=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/examples/.jsp=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/servletToJsp=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/examples/SendMailServlet=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/webdav/.jsp=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/tomcat-docs/.jsp=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule 
/manager/.jsp=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule 
/manager/html/=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /manager/=ajp13 
was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule 
/admin/j_security_check=ajp13 was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /admin/.jsp=ajp13 
was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /admin/.do=ajp13 
was added
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (408)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 16 rules
[Tue Nov 05 21:35:39 2002]  [jk_uri_worker_map.c (422)]: 
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (88)]: Into wc_open
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (222)]: Into build_worker_map, 
creating 1 workers
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (228)]: build_worker_map, 
creating worker ajp12
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (162)]: wc_create_worker, 
about to create instance ajp12 of ajp12
[Tue Nov 05 21:35:39 2002]  [jk_ajp12_worker.c (283)]: Into 
ajp12_worker_factory
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (171)]: wc_create_worker, 
about to validate and init ajp12
[Tue Nov 05 21:35:39 2002]  [jk_ajp12_worker.c (200)]: Into 
jk_worker_t::validate
[Tue Nov 05 21:35:39 2002]  [jk_ajp12_worker.c (212)]: In 
jk_worker_t::validate for worker ajp12 contact is localhost:8007
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (187)]: wc_create_worker, done
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (238)]: build_worker_map, 
removing old ajp12 worker
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (250)]: build_worker_map, done
[Tue Nov 05 21:35:39 2002]  [jk_worker.c (111)]: wc_open, done 1
[Tue Nov 05 21:36:06 2002]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 05 21:36:07 2002]  [jk_uri_worker_map.c (477)]: Attempting to 
map URI '/examples/'
[Tue Nov 05 21:36:07 2002]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> 
/examples/
[Tue Nov 05 21:36:07 2002]  [mod_jk.c (1277)]: Into handler 
r->proxyreq=0 r->handler=jakarta-servlet r->notes=3849720 worker=ajp13
[Tue Nov 05 21:36:07 2002]  [jk_worker.c (132)]: Into 
wc_get_worker_for_name ajp13
[Tue Nov 05 21:36:07 2002]  [jk_worker.c (136)]: 
wc_get_worker_for_name, done did not found a worker

Any ideas?

Take care,

Mark

On Tuesday, November 5, 2002, at 03:22 PM, Aryeh Katz wrote:

>>
>> Moving Tomcat might help, but if you are getting an apache 404, that
>> means that Apache doesn't know what to do with
>> http://localhost/examples, even though your httpd.conf clearly has a
>> virtual host for localhost and the requisite JkMount statements.
>>
> Not so fast. His JkMount command doesn't have anything for /examples/* 
> !. It
> might be just that simple.
> Aryeh
>
> ---
> Aryeh Katz
> VASCO 			
> www.vasco.com		
>
>
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
>
>
>
--
Mark L. Diana, MBA
Instructor
LAN Manager & Webmaster
Virginia Commonwealth University
Department of Health Administration


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


Mime
View raw message