Simon,

On 11/20/15 11:13 AM, Simon Callan wrote:
> We are running GWT 2.5.1, Tomcat 7.0.56 and 7.0.65 on windows server
> 2008, IE 10, configured to serve web pages over SSL.
> 
> The user can run our web-app and it will happily run until the user
> closes the web-browser, or logs out from the app.
> 
> However, immediately after starting the web-app, the tomcat home 
> page becomes unresponsive, and after the user has logged out or
> restarted the browser, the web-app does not respond.
> 
> The only way to recover is to restart tomcat.

I'm going to have to clarify a few things, here.

First, you say that the user can use the web app without any problems.
Then you say that as soon as the web application starts, it becomes
unresponsive. So, which is it: does the web application "run happily" or
does is it unresponsive from the outset?

Then, after the user logs-out (from the either completely responsive or
completely non-responsive web application), the web application becomes
(or remains) unresponsive?

> If we run tomcat in non-SSL mode, there is no problem.

Do you mean if the user uses HTTP instead of HTTPS, all is well? Or does
it really depend upon whether TLS is enabled *at all*?

> The server.xml file appears to be pretty standard, with the SSL connector:
> 
>     <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
>                maxThreads="150" scheme="https" secure="true"
>                clientAuth="false" sslProtocol="TLS" keystoreFile="<file>" 
> keystorePass="<pw>"/>

Looks fine, though if you explicitly use an <Executor>, you get better
control over threading. That's not your problem, here, though.

> If we try dumping the threads, all we get is a "Console CTRL+BREAK
> event signaled" message in the logfile.
> 
> The following are partial logs from Tomcat. As you can see, 
> everything looks fine, and manually comparing them with a working
> system shows no obvious differences.

No obvious differences between what and what?

> **stdout**
> 
>     16:13:57,936 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction 
> - Attaching appender named [FILE] to Logger[ROOT]
>     16:13:57,936 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction 
> - Attaching appender named [STDOUT] to Logger[ROOT]
>     16:13:57,951 |-INFO in 
> ch.qos.logback.classic.joran.JoranConfigurator@5528416b - Registering current 
> configuration as safe fallback point
>     2015-11-18 16:13:57,951 DEBUG localhost-startStop-1 clearcoreauth - 
> Starting session listener.
>     2015-11-18 16:13:57,967 DEBUG localhost-startStop-1 clearcorexuafilter - 
> Method call: init
>     2015-11-18 16:13:57,967 DEBUG localhost-startStop-1 clearcorexuafilter - 
> Method exit: init
> 
> **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
> 
> **localhost_access_log**
> 
>     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

Did your CTRL-BREAK produce a thread dump? I don't see it anywhere...

-chris

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

Reply via email to