You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matteo Turra <m....@kion.it> on 2010/07/02 14:50:46 UTC

Mod_jk: Uri * is invalid. Uri must start with /

I have Apache/2.2.14 (Unix) and mod_jk/1.2.28 with a Tomcat 6.0.20 farm
in load balancing.

In the mod_jk.log I get a line like this each second.

[warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is
invalid. Uri must start with /

I checked all the JkMount directive in the virtual host

Any suggestion?




Re: Mod_jk: Uri * is invalid. Uri must start with /

Posted by Pid <pi...@pidster.com>.
On 02/07/2010 13:50, Matteo Turra wrote:
> I have Apache/2.2.14 (Unix) and mod_jk/1.2.28 with a Tomcat 6.0.20 farm
> in load balancing.
> 
> In the mod_jk.log I get a line like this each second.
> 
> [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is
> invalid. Uri must start with /
> 
> I checked all the JkMount directive in the virtual host
> 
> Any suggestion?

Post your workers.properties and the full set of JkMount directives
you're using.


p



Re: Mod_jk: Uri * is invalid. Uri must start with /

Posted by André Warnier <aw...@ice-sa.com>.
Matteo Turra wrote:
> I have Apache/2.2.14 (Unix) and mod_jk/1.2.28 with a Tomcat 6.0.20 farm
> in load balancing.
> 
> In the mod_jk.log I get a line like this each second.
> 
> [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is
> invalid. Uri must start with /
> 
> I checked all the JkMount directive in the virtual host
> 
> Any suggestion?
> 
Yes.  Set the log level of mod_jk to "debug", and post a much larger portion of the 
logfile here, so that we can look at what is going on around this message.

Also copy here either the set of JkMount directives you are using, or the content of the 
uriworkermap file.
(That is most probably where the problem originates : you have a URI mapping which mod_jk 
does not like).


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Mod_jk: Uri * is invalid. Uri must start with /

Posted by Rainer Jung <ra...@kippdata.de>.
On 02.07.2010 14:50, Matteo Turra wrote:
> I have Apache/2.2.14 (Unix) and mod_jk/1.2.28 with a Tomcat 6.0.20 farm
> in load balancing.
>
> In the mod_jk.log I get a line like this each second.
>
> [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is
> invalid. Uri must start with /
>
> I checked all the JkMount directive in the virtual host
>
> Any suggestion?

The broken URI is the one send with the request. I assume there's some 
probing going on, like live checking done by a load balancer, end-to-end 
monitoring or similar.

I guess they are sending you something like

OPTIONS * HTTP/1.1

which is a vlid request, but mod-jk complains. Nothings broken, but of 
course the warning is annoying. You could file an issue in bugzilla, 
because this will be easy to fix (don't warn if the URI is '*').

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org