-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 2/26/15 11:26 AM, Mark Shifman wrote:
> This is truly embarrassing since I have the manager running fine
> on tomcat 7.
> 
> http://localhost:8080/manager/status returns 127.0.0.1 - -
> [26/Feb/2015:10:47:11 -0500] "GET /manager/status HTTP/1.1" 404
> 1022
> 
> http://localhost:8080/manager/html returns 127.0.0.1 - -
> [26/Feb/2015:11:00:40 -0500] "GET /manager/html HTTP/1.1" 404 1018

This works for me. What client are you using? Just a web browser?

The 404 seems odd.

> I am starting tomcat 8.0.20 with jsvc and running tomcat as "mas"

That shouldn't matter, but it's good information to have. Thanks.

> Feb 26, 2015 10:37:23 AM org.apache.catalina.startup.HostConfig 
> deployDirectory INFO: Deployment of web application directory 
> /home/apache-tomcat-8.0.20/webapps/manager has finished in 326 ms

Good. Do you have anything other than the default <Host> setup in
server.xml? The only thing I can think of is that the manager
application is only available in a particular vhost, and you are using
"localhost" which isn't mapped to it.

> so it looks like the manager is started.
> 
> tomcat-users.xml is shown below: <?xml version='1.0'
> encoding='utf-8'?> <!-- Licensed to the Apache Software Foundation
> (ASF) under one or more contributor license agreements.  See the
> NOTICE file distributed with this work for additional information
> regarding copyright ownership. The ASF licenses this file to You
> under the Apache License, Version 2.0 (the "License"); you may not
> use this file except in compliance with the License.  You may
> obtain a copy of the License at
> 
> http://www.apache.org/licenses/LICENSE-2.0
> 
> Unless required by applicable law or agreed to in writing,
> software distributed under the License is distributed on an "AS IS"
> BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
> or implied. See the License for the specific language governing
> permissions and limitations under the License. --> <tomcat-users
> xmlns="http://tomcat.apache.org/xml"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" 
> version="1.0"> <!-- NOTE:  By default, no user is included in the
> "manager-gui" role required to operate the "/manager/html" web
> application.  If you wish to use this app, you must define such a
> user - the username and password are arbitrary. --> <role
> rolename="manager-gui"/> <role rolename="manager-script"/> <user
> username="mas" password="masxxx" 
> roles="manager-gui,manager-script"/> </tomcat-users>
> 
> 
> The file permissions are show below: ls -lrt
> /home/apache-tomcat-8.0.20/conf -rw------- 1 mas mas   1893 Feb 26
> 09:49 tomcat-users.xml

I think you'd get errors if that file weren't readable by the Tomcat user.

My setup is nearly identical, and I have no problem getting in. My
only obvious differences:

1. I don't have any xmlns, etc. attributes in my <tomcat-users>
element. Likely not the problem.

2. I only have a single role defined for my "gui" user. I suspect this
is also not the problem, but is easy to check.

I would triple-check that all the files are in the right places and
have exactly what you think is in them.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJU709uAAoJEBzwKT+lPKRY9S0P/jcXQYvXQPJeGS6NuVyEh/OU
IxzmOtDYQUuK/BKFlH/DA8R3PjUOca+fV4dHNOahgrjPNa3L7kwLrHVTuqhmdGFV
9Vr+cqq0FZFAdg1swWadXtzAe9ZXa0hxCGYhDjhSVyNVj3jWcl3POWrVrNXlxQch
q5uaEf2Z+O3jOdpQpfPfxesYJRRFZWdlgW5QGtwoNxRgjrWGIWXAHGBT/kEdsKSk
A1xDa7s3hVuDHnWuI0zV+LMl9DZrSqm0HeenftAk6DI9TO+2PJjCGeF38cKJOiJ5
xqjhh1ldbx7eWtJoPJ4O5foXx0tGqycrliRxoJ1b7PlPRc5l1vXfeQLKOucy2T0s
uGEasllku8Spo004M9CQ9qHpmkSQDgXZ99py1KLnT7403rrTZ4sBtuwnlldEfnP/
mfdjMqWfZc3C9V81hCfSxPYcHJEdVo76+30Rxith9FRcl78OTicxDwx5qC9lv478
H0bBYooI/B1W5//Me+HyoGH+s7z75YMEWYvrS3BQiBad+PF+be3E43DsO22uTBWW
coQeEbVY+KYUvqc3JTGlWc4fr/6iefpeX+rn3G05p8n0Fo95aC0pN1XsS+xrfWm3
ots4anEou85AURStOdbwV3WI7lX5QBEchj6WX1ucPnG/XX19caSNqomXYOZHbd3R
kLnapCJMEZIdnn2GoLH8
=nEgw
-----END PGP SIGNATURE-----

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

Reply via email to