I tried disabling SE Linux but no charm :(
What is interesting is I have enabled finest level of debugging but I cannot 
see anything in log files as ALL or finest level of logging.
logging.properties file.[CODE][root@docker1 logs]# cat 
../conf/logging.properties # 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.
handlers = 1catalina.org.apache.juli.AsyncFileHandler, 
2localhost.org.apache.juli.AsyncFileHandler, 
3manager.org.apache.juli.AsyncFileHandler, 
4host-manager.org.apache.juli.AsyncFileHandler, java.util.logging.ConsoleHandler
.handlers = 1catalina.org.apache.juli.AsyncFileHandler, 
java.util.logging.ConsoleHandler
############################################################# Handler specific 
properties.# Describes specific configuration info for 
Handlers.############################################################
1catalina.org.apache.juli.AsyncFileHandler.level = 
ALL1catalina.org.apache.juli.AsyncFileHandler.directory = 
${catalina.base}/logs1catalina.org.apache.juli.AsyncFileHandler.prefix = 
catalina.
2localhost.org.apache.juli.AsyncFileHandler.level = 
ALL2localhost.org.apache.juli.AsyncFileHandler.directory = 
${catalina.base}/logs2localhost.org.apache.juli.AsyncFileHandler.prefix = 
localhost.
3manager.org.apache.juli.AsyncFileHandler.level = 
ALL3manager.org.apache.juli.AsyncFileHandler.directory = 
${catalina.base}/logs3manager.org.apache.juli.AsyncFileHandler.prefix = manager.
4host-manager.org.apache.juli.AsyncFileHandler.level = 
ALL4host-manager.org.apache.juli.AsyncFileHandler.directory = 
${catalina.base}/logs4host-manager.org.apache.juli.AsyncFileHandler.prefix = 
host-manager.
java.util.logging.ConsoleHandler.level = 
ALLjava.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter

############################################################# Facility specific 
properties.# Provides extra control for each 
logger.############################################################
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = 
ALLorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 
2localhost.org.apache.juli.AsyncFileHandler
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level 
= 
ALLorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers
 = 3manager.org.apache.juli.AsyncFileHandler
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level
 = 
ALLorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers
 = 4host-manager.org.apache.juli.AsyncFileHandler
# For example, set the org.apache.catalina.util.LifecycleBase logger to log# 
each component that extends LifecycleBase changing 
state:org.apache.catalina.util.LifecycleBase.level = ALL
# To see debug messages in TldLocationsCache, uncomment the following 
line:org.apache.jasper.compiler.TldLocationsCache.level = ALL
# To see debug messages for HTTP/2 handling, uncomment the following 
line:org.apache.coyote.http2.level = ALL
# To see debug messages for WebSocket handling, uncomment the following 
line:org.apache.tomcat.websocket.level = 
ALLorg.apache.catalina.session.level=ALLjava.util.logging.ConsoleHandler.level=ALL[root@docker1
 logs]# [/CODE]
output of catalina.out
[CODE]13-Aug-2016 23:14:26.763 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web 
application directory /opt/apache-tomcat-8.5.4/webapps/ROOT13-Aug-2016 
23:16:20.064 INFO [localhost-startStop-1] 
org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of 
SecureRan...skipping...14-Aug-2016 18:38:29.084 FINE 
[ContainerBackgroundProcessor[StandardEngine[Catalina]]] 
org.apache.catalina.session.ManagerBase.processExpires Start expire sessions 
StandardManager at 1471163909084 sessioncount 0[/CODE]
output of manager.log file[CODE]14-Aug-2016 18:34:35.878 FINE 
[http-nio-8080-exec-10] 
org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the 
response for further output[/CODE] 

    On Sunday, 14 August 2016, 10:26, Andrew M <bluemind2...@yahoo.com.INVALID> 
wrote:
 

 I'm not sure if this is related in any way but I just exported variable 
JAVA_HOME in setclasspath.sh

export JAVA_HOME=/usr/java/default

Still not challenge to input the credentials.... 

    On Sunday, 14 August 2016, 8:35, Andrew M <bluemind2...@yahoo.com> wrote:
 

 Yes, absolutely. I restarted after adding snippet several times but still not 
charm. What I observed is it doesn't even ask me for username and password but 
just says directly Access denied (403). 

    On Sunday, 14 August 2016, 2:57, "Caldarale, Charles R" 
<chuck.caldar...@unisys.com> wrote:
 

 > From: Andrew M [mailto:bluemind2...@yahoo.com.INVALID] 
> Subject: Unable to access Manager App, Host Manager and Server Status urls

> I have added these three lines in my tomcat-users.xml file:
> <role rolename="manager-gui"/><role rolename="admin-gui"/>
> <user username="admin" password="password" roles="manager-gui,admin-gui"/>

And did you remove the comment markers that bracket that area of the file?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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


  

  

  

Reply via email to