tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew M <bluemind2...@yahoo.com.INVALID>
Subject Unable to access Manager App, Host Manager and Server Status urls
Date Sat, 13 Aug 2016 14:45:34 GMT
Good Day,
Just another day in Paradise !My query is as mentioned in the subject.[Unable to access Manager
App, Host Manager and Server Status urls], for each of these web applications, I am not challenged
to input credentials rather gives directly access denied 403.
Nothing interesting in catalina.out
14-Aug-2016 00:14:23.636 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server version:        Apache Tomcat/8.5.414-Aug-2016 00:14:23.637 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server built:          Jul 6 2016 08:43:30 UTC14-Aug-2016 00:14:23.637 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server number:         8.5.4.014-Aug-2016 00:14:23.637 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Name:               Linux14-Aug-2016 00:14:23.637 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Version:            3.10.0-327.22.2.el7.x86_6414-Aug-2016 00:14:23.637 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd6414-Aug-2016
00:14:23.637 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:
            /usr/java/jdk1.7.0_80/jre14-Aug-2016 00:14:23.637 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Version:           1.7.0_80-b1514-Aug-2016 00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Vendor:            Oracle Corporation14-Aug-2016 00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
CATALINA_BASE:         /opt/apache-tomcat-8.5.414-Aug-2016 00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
CATALINA_HOME:         /opt/apache-tomcat-8.5.414-Aug-2016 00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties14-Aug-2016
00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager14-Aug-2016 00:14:23.638
INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=204814-Aug-2016
00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcatalina.base=/opt/tomcat14-Aug-2016 00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dcatalina.home=/opt/tomcat14-Aug-2016 00:14:23.638 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Djava.io.tmpdir=/opt/tomcat/temp14-Aug-2016 00:14:23.638 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native
library which allows optimal performance in production environments was not found on the java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib14-Aug-2016 00:14:23.807 INFO
[main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]14-Aug-2016
00:14:23.837 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using
a shared selector for servlet write/read14-Aug-2016 00:14:23.845 INFO [main] org.apache.coyote.AbstractProtocol.init
Initializing ProtocolHandler ["ajp-nio-8009"]14-Aug-2016 00:14:23.846 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector
Using a shared selector for servlet write/read14-Aug-2016 00:14:23.847 INFO [main] org.apache.catalina.startup.Catalina.load
Initialization processed in 928 ms14-Aug-2016 00:14:23.879 INFO [main] org.apache.catalina.core.StandardService.startInternal
Starting service Catalina14-Aug-2016 00:14:23.879 INFO [main] org.apache.catalina.core.StandardEngine.startInternal
Starting Servlet Engine: Apache Tomcat/8.5.414-Aug-2016 00:14:23.896 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory
/opt/apache-tomcat-8.5.4/webapps/ROOT14-Aug-2016 00:14:55.791 INFO [localhost-startStop-1]
org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom
instance for session ID generation using [SHA1PRNG] took [31,061] milliseconds.14-Aug-2016
00:14:55.862 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deployment of web application directory /opt/apache-tomcat-8.5.4/webapps/ROOT has finished
in 31,966 ms14-Aug-2016 00:14:55.862 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deploying web application directory /opt/apache-tomcat-8.5.4/webapps/docs14-Aug-2016 00:14:55.913
INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment
of web application directory /opt/apache-tomcat-8.5.4/webapps/docs has finished in 51 ms14-Aug-2016
00:14:55.914 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deploying web application directory /opt/apache-tomcat-8.5.4/webapps/examples14-Aug-2016 00:14:56.563
INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment
of web application directory /opt/apache-tomcat-8.5.4/webapps/examples has finished in 649
ms14-Aug-2016 00:14:56.563 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deploying web application directory /opt/apache-tomcat-8.5.4/webapps/host-manager14-Aug-2016
00:14:56.627 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deployment of web application directory /opt/apache-tomcat-8.5.4/webapps/host-manager has
finished in 64 ms14-Aug-2016 00:14:56.627 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory
Deploying web application directory /opt/apache-tomcat-8.5.4/webapps/manager14-Aug-2016 00:14:56.681
INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment
of web application directory /opt/apache-tomcat-8.5.4/webapps/manager has finished in 54 ms14-Aug-2016
00:14:56.695 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
[http-nio-8080]14-Aug-2016 00:14:56.706 INFO [main] org.apache.coyote.AbstractProtocol.start
Starting ProtocolHandler [ajp-nio-8009]14-Aug-2016 00:14:56.706 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 32859 ms
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"/>

Port and firewall configurations looks ok:
[root@docker1 conf]# nmap docker1
Starting Nmap 6.40 ( http://nmap.org ) at 2016-08-14 00:38 AESTNmap scan report for docker1
(192.168.1.6)Host is up (0.0000050s latency).Not shown: 996 closed portsPORT     STATE SERVICE21/tcp
  open  ftp22/tcp   open  ssh8009/tcp open  ajp138080/tcp open  http-proxy
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds[root@docker1 conf]# firewall-cmd
--query-port=8080/tcpyes[root@docker1 conf]# 
OS Version is Centos 7.2
[root@docker1 conf]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@docker1
conf]# 
Yes, I am trying to install Apache tomcat 8.5.4 and configured to be listening on port 8080(in
server.xml)
Shutdown and start up happens pretty smoothly without any issue. 
I have completely run out of ideas......... Any help would be very much appreciated.
Cheers
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message