tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
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 127.0.0.1:80
> 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. 127.0.0.1:80). So either

- define the same JkMounts in the other vhost

or

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

> The documentation says that there is supposed to be an example
> workers.properties 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 127.0.0.1:80
> overlaps with VirtualHost localhost:80, the first has precedence, perhaps
> you need a NameVirtualHost directive

Regards,

Rainer

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


Mime
View raw message