ubuntu tomcat8赢得';开始

ubuntu tomcat8赢得';开始,ubuntu,tomcat,Ubuntu,Tomcat,我在Ubuntu15.10上安装了tomcat8,第一次就成功了。但在我重新启动后,它停止了工作。重新安装不起作用 apt-get install tomcat8 tomcat8-common tomcat8-user # ... verified working for the whole day service tomcat8 stop service tomcat8 start # http://localhost:8080/ would hang forever 开始时,问题似乎是由

我在Ubuntu15.10上安装了tomcat8,第一次就成功了。但在我重新启动后,它停止了工作。重新安装不起作用

apt-get install tomcat8 tomcat8-common tomcat8-user
# ... verified working for the whole day
service tomcat8 stop 
service tomcat8 start
# http://localhost:8080/ would hang forever
开始时,问题似乎是由于安装的默认根web应用程序具有错误的上下文路径

<Context path="/" antiResourceLocking="false" />

会出什么问题?

结果表明服务器最终启动了,但它尝试创建SecureRandom实例时花费了很长时间。我将发布一个不同的问题

May 19, 2016 2:48:22 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.
May 19, 2016 3:21:37 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,994,925] milliseconds.
May 19, 2016 3:21:37 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat8/webapps/ROOT has finished in 1,995,782 ms
May 19, 2016 3:21:37 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
May 19, 2016 3:21:37 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1995884 ms
May 19, 2016 2:48:22 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.
May 19, 2016 3:21:37 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,994,925] milliseconds.
May 19, 2016 3:21:37 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat8/webapps/ROOT has finished in 1,995,782 ms
May 19, 2016 3:21:37 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
May 19, 2016 3:21:37 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1995884 ms