Hello all, 

my mod_jk don't work and i don't know why.

I'am under linux debian with apache 1.3.26 (from debian deb), j2sdk
1.4.1, tomcat 4.0.6, mod_jk 1.2.
I have compiled mod_jk from source with :
        ./configure --with-apxs=/usr/bin/apxs --enable-EAPI

I have copied the binary mod_jk.so.0.0.0 in
/usr/lib/apache/1.3/mod_jk.so.

In my apache httpd.conf i have just add at the end :
        Include /usr/local/tomcat/conf/jk/mod_jk.conf

In my tomcat server.xml, i have :
82   <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
83   port="9009" minProcessors="5" maxProcessors="75"
84   acceptCount="10" debug="0"/>
(i have delete the warp connector).

In the mod_jk.conf, i have :
1 # Load mod_jk
2 LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so
3 #AddModule mod_jk.c
4 
5 # Configure mod_jk
6 JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties
7 JkLogFile /var/log/apache/mod_jk.log
8 JkLogLevel debug
9 JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
10 
11 # Mount jakarta
12 JkMount /*.jsp * nanthrax
13 JkMount /servlet/* nanthrax
14 JkMount /examples/* nanthrax
15 JkMount /tomcat-docs nanthrax
16 JkMount /tomcat-docs/* nanthrax

and in my workers.properties :
1 workers.tomcat_home=/usr/local/tomcat
2 workers.java_home=/usr/local/j2sdk1.4.1
3 ps=/
4 workers.list=ajp13
5 
6 worker.ajp13.port=9009
7 worker.ajp13.host=localhost
8 worker.ajp13.type=ajp13

I start apache and tomcat.

In tomcat log, the ajp connector launch :
2002-10-21 09:37:15 Ajp13Connector[9009] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][0] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][1] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][2] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][3] Starting background thread
2002-10-21 09:37:15 Ajp13Processor[9009][4] Starting background thread

when i try to access to http://localhost/tomcat-docs
i always have an Internal Server Error.
In the mod_jk log, i have :
[lun oct 21 09:43:45 2002] [jk_uri_worker_map.c (368)]: Attempting to
map URI '/tomcat-docs'
[lun oct 21 09:43:45 2002] [jk_uri_worker_map.c (381)]:
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match nanthrax ->
/tomcat-d
ocs
[lun oct 21 09:43:45 2002] [jk_worker.c (123)]: Into
wc_get_worker_for_name nanthrax
[lun oct 21 09:43:45 2002] [jk_worker.c (127)]: wc_get_worker_for_name,
done did not found a worker

I have try any mod_jk (from binary, from source) and it's the same
result :(

Someone has an idea ???
Please help me 

Best regards
-- 
Jean-Baptiste Onofr� (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG B�ziers
http://www.lug-beziers.org
[EMAIL PROTECTED]

--
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