• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3623
  • 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.
0
jmarkfoley
Asked:
jmarkfoley
  • 2
1 Solution
 
warturtleCommented:
Hello,

Have a look at this link, it might help:

http://www.nabble.com/parsing-of-.jsp-not-functional-td16416014.html

0
 
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

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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

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