Hello all,

I have tomcat 4.1.27 running ok. I have two connectors defined, a http one
on 9080, and an ajp13 one on 9009
(My system runs AIX 5.2.something)

Accessing http://localhost:9080 I get the tomcat start page, and I can
access the examples, the manager application etc. without any problems. I
have also installed two webapps that function perfectly.

It is with the apache integration that I am running in to problems.

I have compiled mod_jk2 and have made a workers2.properties file that I
think is correct. But the server is not behaving as expected. I am also
having troubles getting better log (debug?) data out of mod_jk2.

My workers2.properties file currently looks like this:

[workerEnv]
logger=logger.file

[logger.file]
level=DEBUG
file=/data/apache/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
file=/data/apache/logs/jk2.shm
size=1000000

# Example socket channel, override port and host.

[channel.socket:localhost:9009]

# define the worker
[ajp13:localhost:9009]
channel=channel.socket:localhost:9009
debug=9

# Uri mapping
[uri:/examples/*]
worker=ajp13:localhost:9009
debug=9

# map jkstatus
# define the worker
[status:status]

# Uri mapping
[uri:/jkstatus/*]
worker=status:status
debug=9


When I try the url
http://hostname/jkstatus/ I get the mod_jk status page.
The URL
http://hostname/examples/ gives me a directory listing that is generated by
tomcat (as witnessed by footer)
http://hostname/examples/jsp gives me an error page that comes from Apache.

The logfile: /data/apache/logs/jk2.log
Only contains repeated instances of the following line (with different
timestamps)
[Thu Aug 21 16:44:10 2003] ( info ) [jk_logger_file.c (184)]  Initializing
log file /data/apache/logs/jk2.log


My questions:

- I've got level=DEBUG in my logger component, and debug=9 in several other
components. Yet I am not getting any debug-like info. Alos the jkstatus page
shows debug levels=0 for all components. How do I get omore info in my
logfile so I have a chance of finding out what my other problems are.
- mod_jk maps /examples/ to the tomcat server. but /examples/jsp not. As a
result apache complains that ther is no /data/apache/htdocs/examples/jsp
dir... Why does the uri map fail to work as exepcted?

Thanks in advance,

Krist

---
Krist van Besien
Unix Specialist BZBD
Bundesamt f�r Informatik und Telekommunikation BIT
Monbijoustrasse 74, CH-3003 Bern
Tel. +41 31 322 24 46

added interaction www.informatik.admin.ch

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

Reply via email to