Hi,

JkMounts are per VirtualHost. See

http://marc.info/?l=tomcat-user&m=120164756115289&w=2

I assume that you are using a VirtualHost and the request you send is handled by a VirtualHost.

Not related to your question, but an adiitional hint: drop the "+ForwardURICompat" from you JkOptions. The defaults should be better for 1.2.26.

Regards,

Rainer


dakkan schrieb:
Struggling with this error for the past 3 days. I've finally hit the dead end
on this, would really appreciate if someone can help.

I've got Apache2 installed on a box which also has Jboss4.2.2. installed. I
want to have mod_jk module inbetween my apache and tomcat (in jboss). I've
installed the .so and followed the instructions as per the documentation
(hope I've not missed out anything). Here are the details

mod_dk is 1.2.26

mod-jk.comf
###############
LoadModule jk_module /etc/httpd/modules/mod_jk.so

# Where to find workers.properties
JkWorkersFile /etc/httpd/conf/workers.properties

# Where to put jk logs
JkLogFile /etc/httpd/logs/mod_jk.log

# Set the jk log level [debug/error/info]
JkLogLevel debug

# Select the log format
JkLogStampFormat  "[%a %b %d %H:%M:%S %Y]"

# JkOptions indicates to send SSK KEY SIZE
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"

# Mount your applications
JkMount /ota/* node1
JkMount /jmx-console/* node1
JkMount /jkstatus status

# The following line prohibits users from directly access WEB-INF
<Location "/ota/WEB-INF/">
AllowOverride None
deny from all
</Location>

# You can use external file for mount points.
# It will be checked for updates each 60 seconds.
# The format of the file is: /url=worker
# /examples/*=loadbalancer
#JkMountFile /etc/httpd/conf/uriworkermap.properties

# Add shared memory.
# This directive is present with 1.2.10 and
# later versions of mod_jk, and is needed for
# for load balancing to work properly
JkShmFile /etc/httpd/logs/jk.shm

#########


workers.properties

#############
# Define list of workers that will be used
# for mapping requests
worker.list=node1,status
#loadbalancer,status

# Define Node1
# modify the host as your host IP or DNS name.
worker.node1.port=8009
worker.node1.host=127.0.0.1
worker.node1.type=ajp13
#worker.node1.lbfactor=1

# Define Node2
## modify the host as your host IP or DNS name.
#worker.node2.port=8009
#worker.node2.host= node2.mydomain.com
#worker.node2.type=ajp13
#worker.node2.lbfactor=1
#worker.node2.cachesize=10

# Load-balancing behaviour
#worker.loadbalancer.type=lb
#worker.loadbalancer.balance_workers=node1
#worker.loadbalancer.sticky_session=1
#worker.list=loadbalancer

# Status worker for managing load balancer
worker.status.type=status

############

when I start up and access the web module on my jboss I get the following
error in the mod-jk.log

[Mon Feb 04 22:18:04 2008][28646:3081324224] [debug] jk_translate::mod_jk.c
(3033): missing uri map for mobiloos.com:/jmx-console
[Mon Feb 04 22:18:04 2008][28646:3081324224] [debug]
jk_map_to_storage::mod_jk.c (3190): missing uri map for
mobiloos.com:/jmx-console
[Mon Feb 04 22:18:04 2008][28646:3081324224] [debug]
jk_map_to_storage::mod_jk.c (3190): missing uri map for
mobiloos.com:/error_docs/not_found.html

not sure where the issue is, would appreciate if someone can give me a
solution to this.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to