0
我已經安裝在Ubuntu 15.10 tomcat8經理桂和我平時的歡迎畫面,當我去:無法訪問tomcat8
http://myhost:8082/
(我重新配置的端口8082在server.xml中)。
但我不能在訪問管理器GUI:
http://myhost:8082/manager/html
我試圖在/etc/tomcat8/tomcat-users.xml文件,然後tomcat8與重新啓動以下:
sudo /etc/init.d/tomcat8 restart
下面是我曾嘗試編輯:
1)
<role rolename="manager-gui"/>
<user username="admin" password="12345" roles="manager-gui"/>
2)
<user username="user" password="password" roles="admin-gui,manager-gui" />
我發現了其他SO帖子和博客描述每一個新的方式,使配置的用戶/角色,但他們沒有工作。相反,我不斷收到:
cat catalina.out
INFO: Starting service Catalina
Apr 27, 2016 10:36:32 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.26 (Ubuntu)
Apr 27, 2016 10:36:32 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat8/webapps/ROOT
Apr 27, 2016 10:36:32 PM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Apr 27, 2016 10:36:34 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Apr 27, 2016 10:37:36 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [61,847] milliseconds.
Apr 27, 2016 10:37:36 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat8/webapps/ROOT has finished in 63,602 ms
Apr 27, 2016 10:37:36 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8082"]
Apr 27, 2016 10:37:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 63722 ms