Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GWT应用程序启动后Tomcat挂起_Tomcat_Gwt - Fatal编程技术网

GWT应用程序启动后Tomcat挂起

GWT应用程序启动后Tomcat挂起,tomcat,gwt,Tomcat,Gwt,我们正在windows server 2008上运行GWT 2.5.1、Tomcat 7(最新版本),这是最新的IE,配置为通过SSL服务网页 用户可以运行web应用程序,它将愉快地运行,直到用户关闭web浏览器或从应用程序注销 但是,在启动web应用程序后,tomcat主页立即变得无响应,并且在用户注销或重新启动浏览器后,web应用程序没有响应 恢复的唯一方法是重新启动tomcat 如果我们在非SSL模式下运行tomcat,就不会有问题 编辑 server.xml文件似乎非常标准,带有SSL连

我们正在windows server 2008上运行GWT 2.5.1、Tomcat 7(最新版本),这是最新的IE,配置为通过SSL服务网页

用户可以运行web应用程序,它将愉快地运行,直到用户关闭web浏览器或从应用程序注销

但是,在启动web应用程序后,tomcat主页立即变得无响应,并且在用户注销或重新启动浏览器后,web应用程序没有响应

恢复的唯一方法是重新启动tomcat

如果我们在非SSL模式下运行tomcat,就不会有问题

编辑

server.xml文件似乎非常标准,带有SSL连接器:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS" keystoreFile="<file>" keystorePass="<pw>"/>
catalina

Nov 18, 2015 4:13:57 PM org.apache.catalina.startup.TldConfig execute
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.
...
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7.0.65\webapps\manager
Nov 18, 2015 4:13:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7.0.65\webapps\manager has finished in 110 ms
Nov 18, 2015 4:13:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7.0.65\webapps\ROOT
Nov 18, 2015 4:13:58 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0_Tomcat7.0.65\webapps\ROOT has finished in 78 ms
Nov 18, 2015 4:13:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-0.0.0.0-8443"]
Nov 18, 2015 4:13:58 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 18, 2015 4:13:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8068 ms
本地主机访问日志

0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:00 +0000] "GET /clearcore/login.jsp HTTP/1.1" 200 3438
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:00 +0000] "GET /clearcore/images/logo.gif HTTP/1.1" 200 808
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:00 +0000] "GET /clearcore/spinner.js HTTP/1.1" 200 1118
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:00 +0000] "GET /clearcore/defaultlogin.css HTTP/1.1" 200 1504
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:00 +0000] "GET /favicon.ico HTTP/1.1" 200 21630
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:08 +0000] "GET /clearcore/images/sprites.gif HTTP/1.1" 200 7111
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:12 +0000] "POST /clearcore/ClearCore/Login HTTP/1.1" 302 -
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:12 +0000] "GET /clearcore/index.jsp;jsessionid=05FF9853857C40F9E0B3198B3E55DC3A HTTP/1.1" 200 2374
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:12 +0000] "GET /clearcore/ClearCore.css HTTP/1.1" 200 10967
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:12 +0000] "GET /clearcore/ClearCore/ClearCore.nocache.js HTTP/1.1" 200 6004
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:12 +0000] "GET /clearcore/ClearCore/gwt/clean/clean.css HTTP/1.1" 200 29325
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:13 +0000] "GET /clearcore/ClearCore/E60ECA106C49CC447903262AD44A210E.cache.html HTTP/1.1" 200 823732
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:14 +0000] "POST /clearcore/ClearCore/CCService HTTP/1.1" 200 819
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:14 +0000] "GET /clearcore/ClearCore/clear.cache.gif HTTP/1.1" 200 43
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:15 +0000] "GET /clearcore/ClearCore/deferredjs/E60ECA106C49CC447903262AD44A210E/2.cache.js HTTP/1.1" 200 484
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:15 +0000] "GET /clearcore/images/lblgrad2.png HTTP/1.1" 200 197
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:15 +0000] "GET /clearcore/ClearCore/gwt/clean/images/thumb_vertical.png HTTP/1.1" 200 231
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:15 +0000] "GET /clearcore/ClearCore/gwt/clean/images/hborder.png HTTP/1.1" 200 1995
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:15 +0000] "GET /clearcore/ClearCore/deferredjs/E60ECA106C49CC447903262AD44A210E/1.cache.js HTTP/1.1" 200 1331282
0:0:0:0:0:0:0:1 - - [18/Nov/2015:16:13:16 +0000] "POST /clearcore/ClearCore/CCService HTTP/1.1" 200 335
编辑2

在获得了完整的日志(包括关机)之后,我们现在在catalina/stderr日志中获得了以下内容。我们无法在工作系统中获得此输出

这强烈表明,出于某种原因,线程[thread-3]和 [MultiThreadedHttpConnectionManager清理]正在挂起。有人能建议我应该去哪里寻找原因吗

INFO: Stopping service Catalina
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/clearcore] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/clearcore] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@552e705d]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@5bd3155b]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@7f1f3875]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@5ab3ca86]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@51b551ef]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@57164bd1]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@552e705d]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@78cbb301]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@51b551ef]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@555449c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@7f1f3875]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@210b6080]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@552e705d]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@71ec8472]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@7f1f3875]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@5eeb92cc]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.Locale$1] (value [org.apache.xmlbeans.impl.store.Locale$1@3bf2bfc3]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@3e0bb9f4]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@51b551ef]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@73dd61fe]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-0.0.0.0-8443"]
Nov 18, 2015 5:41:18 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]

您能显示tomcat的
server.xml
吗?
catalina.out
或其他日志文件中是否有任何相关消息?您还可以尝试使用tomcat线程转储特性来查看线程正在做什么。右键单击Tomcat属性图标并从选项中选择“线程转储”。这将向tomcat\logs目录中的一个日志文件输出一个线程转储。能否显示tomcat的
server.xml
catalina.out
或其他日志文件中是否有任何相关消息?您还可以尝试使用tomcat线程转储特性来查看线程正在做什么。右键单击Tomcat属性图标并从选项中选择“线程转储”。这将向tomcat\logs目录中的一个日志文件输出线程转储。
INFO: Stopping service Catalina
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/clearcore] appears to have started a thread named [Thread-3] but has failed to stop it. This is very likely to create a memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/clearcore] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@552e705d]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@5bd3155b]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@7f1f3875]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@5ab3ca86]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@51b551ef]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@57164bd1]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@552e705d]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@78cbb301]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@51b551ef]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@555449c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@7f1f3875]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@210b6080]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1] (value [org.apache.xmlbeans.impl.schema.SchemaTypeLoaderImpl$1@552e705d]) and a value of type [java.util.ArrayList] (value [[java.lang.ref.SoftReference@71ec8472]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.CharUtil$1] (value [org.apache.xmlbeans.impl.store.CharUtil$1@7f1f3875]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@5eeb92cc]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.impl.store.Locale$1] (value [org.apache.xmlbeans.impl.store.Locale$1@3bf2bfc3]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@3e0bb9f4]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/clearcore] created a ThreadLocal with key of type [org.apache.xmlbeans.XmlBeans$1] (value [org.apache.xmlbeans.XmlBeans$1@51b551ef]) and a value of type [java.lang.ref.SoftReference] (value [java.lang.ref.SoftReference@73dd61fe]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 18, 2015 5:41:18 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-0.0.0.0-8443"]
Nov 18, 2015 5:41:18 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]