On 02/26/2015 11:26 AM, Mark Shifman wrote:
This is truly embarrassing since I have the manager running fine on tomcat 7. https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_manager_status&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGss&m=t8sx2oxLU2xFh_hEfhXwWU4fIqfFYmqPF9q4PmUBS_Q&s=oRaGhibZvAOGCqQay4tltXaYNS7R8Coq6rBIG-D3CEk&e= returns 127.0.0.1 - - [26/Feb/2015:10:47:11 -0500] "GET /manager/status HTTP/1.1" 404 1022 https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_manager_html&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGss&m=t8sx2oxLU2xFh_hEfhXwWU4fIqfFYmqPF9q4PmUBS_Q&s=zZwSEgq3pjJ2377O8SahLwmRSvTTnayriks9TAXl9Qg&e= 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 https://urldefense.proofpoint.com/v2/url?u=http-3A__www.apache.org_licenses_LICENSE-2D2.0&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGss&m=t8sx2oxLU2xFh_hEfhXwWU4fIqfFYmqPF9q4PmUBS_Q&s=JvGEREmyRh9iXqaeKQyCHUrcjD1O_2toZhlSNaDW5W0&e= 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="https://urldefense.proofpoint.com/v2/url?u=http-3A__tomcat.apache.org_xml&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGss&m=t8sx2oxLU2xFh_hEfhXwWU4fIqfFYmqPF9q4PmUBS_Q&s=RZuTCXhEBaQzBY9YA5BW3-AQ2-yfRVkpPVxCPhW5m8g&e= " xmlns:xsi="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.w3.org_2001_XMLSchema-2Dinstance&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGss&m=t8sx2oxLU2xFh_hEfhXwWU4fIqfFYmqPF9q4PmUBS_Q&s=1g4xwwiqhgqK92eD5QBc-w_9EO2Z_Owc9toWZogUkTc&e= " xsi:schemaLocation="https://urldefense.proofpoint.com/v2/url?u=http-3A__tomcat.apache.org_xml&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGss&m=t8sx2oxLU2xFh_hEfhXwWU4fIqfFYmqPF9q4PmUBS_Q&s=RZuTCXhEBaQzBY9YA5BW3-AQ2-yfRVkpPVxCPhW5m8g&e= 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
server.xml contains: <GlobalNamingResources> <!-- Editable user database that can also be used by UserDatabaseRealm to authenticate users --> <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> and <Realm className="org.apache.catalina.realm.LockOutRealm"> <!-- This Realm uses the UserDatabase configured in the global JNDI resources under the key "UserDatabase". Any edits that are performed against this UserDatabase are immediately available for use by the Realm. --> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> </Realm> -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org