tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: Tomcat Connector: Attempting to map URI '/examples/index.html' from 0 maps
Date Sat, 01 Sep 2007 10:17:28 GMT
Evert Hoff wrote:
> Hi,
> I am stuck trying to get Tomcat Connector to work. 
> The mod_jk.log file (included in full at the bottom of this email) says
> "Attempting to map URI '/examples/index.html' from 0 maps".
> When I restart httpd, it gives the message below about
> overlapping with localhost:80. I don't know if that is part of the problem.

Looks like you've got more than one virtual host in the httpd 
configuration. JkMounts are not inherited between virtual hosts. 
Although there is the directive JkMountCopy to inherit JkMount between 
vhosts, I would expect that not to help in your situation (localshot:80 
vs. So either

- define the same JkMounts in the other vhost


- define them globally and add "JkMountCopy On" to each vhost.

> The documentation says that there is supposed to be an example
> file in Tomcat's conf directory, but there isn't. I found
> one somewhere on the Internet and modified it. It is below. 

Could you give us the URL of this page, so we can fix it?

> Please help. 
> Thanks,
> Evert
> ==================================
> [root@server2 jk]# /etc/init.d/httpd restart
> Stopping httpd:                                            [  OK  ]
> Starting httpd: [Sat Sep 01 05:27:45 2007] [warn] VirtualHost
> overlaps with VirtualHost localhost:80, the first has precedence, perhaps
> you need a NameVirtualHost directive



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message