Mark Shifman
2015-02-26 16:26:23 UTC
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
I am starting tomcat 8.0.20 with jsvc and running tomcat as "mas"
catalina.out shows
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
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
There is obviously something egregious I have done or missed but I can't find it.
any help appreciated.
mas
--
Mark Shifman MD. Ph.D.
Yale Center for Medical Informatics
Phone (203)737-5219
***@yale.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org
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
I am starting tomcat 8.0.20 with jsvc and running tomcat as "mas"
catalina.out shows
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
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
There is obviously something egregious I have done or missed but I can't find it.
any help appreciated.
mas
--
Mark Shifman MD. Ph.D.
Yale Center for Medical Informatics
Phone (203)737-5219
***@yale.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tomcat.apache.org
For additional commands, e-mail: users-***@tomcat.apache.org