• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3675
  • Last Modified:

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.
  • 2
1 Solution

Have a look at this link, it might help:


jmarkfoleyAuthor Commented:
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

jmarkfoleyAuthor Commented:
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?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now