On Wed, Feb 12, 2014 at 9:57 AM, <john.kief...@engilitycorp.com> wrote:

> Testing Tomcat 8 I watch the console and see the Java and sql processing
> complete, then wait a full minute for the webpage to appear. With Tomcat 7
> there is no wait. Just to verify, while composing this I opened a web page
> within the application and stared at a white screen for almost exactly
> sixty seconds.  I


I have used Tomcat 7.0.32+ (7.0.32, 34, 35, 37, 39, 40, 42, 47, ...) since
I use TomEE, and I experienced that some time in the past. When I
experienced that, I closed the browser with anticipation to break/cancel
the HTTP request, and reopened browser and webapp page. Eventually, as time
went on, i did not experience that anymore, and I don't see that anymore.
There was 'maybe' some app changes that I made (and/or some improvements
between Tomcat and TomEE), but it may have been caused by database
deadlock. I'm not sure. I haven't experienced that for some months now,
maybe 6+ months.

you may need to change your jdbc <Resource/> settings. One of tomcat
committers, Christopher Schultz wrote a good article about tomcat jdbc[1]
and how to configure it to meet your needs. I think i read it a few times
and changed my jdbc settings sometime ago, and I think that may have solved
the tomcat-request-white-page-in-browser issue/behavior that I experienced
in the past.


[1]
http://blog.christopherschultz.net/index.php/2009/03/16/properly-handling-pooled-jdbc-connections/

Reply via email to