Link to home
Start Free TrialLog in
Avatar of Mark
Mark

asked on

Uri * is invalid. Uri must start with /

I am running apache 2.2.11 and tomcat 6.0.18 on Linux. Everything appears to be running OK, but when I look in my ServerRoot/logs/mod_jk.log I see lots of lines:

[Tue Apr 07 21:27:30 2009] [8359:64288] [warn]  map_uri_to_worker::jk_uri_worker_map .c (549): Uri * is invalid. Uri must start with /

It says it's a warning, but I'd rather not have it. What is this error and how do I get rid of it.
ASKER CERTIFIED SOLUTION
Avatar of warturtle
warturtle
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mark
Mark

ASKER

The link is not entirely clear, but it seems to suggest removing the JkMount  directive from the global section in httpd.conf and putting it in the <VirtualHost *> section. Rather than do that, I commented out the JkMount directive in httpd.conf and used the alternate worker.workerN.mount directive in workers.properties. I'll give it a couple of days since it doesn't seem to do it all the time. Maybe just when it finds a new .jsp or something. I'll let you know.
#JkMount  / courtscan

Avatar of Mark

ASKER

I've just checked this again and I am still getting the uri warning, so moving the mount directive in workers.properties didn't help.

Any other ideas?