logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Sockets shutting down during first HTTP request (only)
Author
neilrichards



Joined: 22 Jul 2015
Posts: 2
Location: London

PostPosted: Thu 23 Jul '15 10:50    Post subject: Sockets shutting down during first HTTP request (only) Reply with quote

Hi,

Having a strange problem with Apache (2.2.24) and Tomcat (6.0.32) where when I start both and request my home page Apache shuts down a socket and I get a status 500. If however I go to another page that displays fine, and then if I return to the home page that then works fine too. Everything used to work fine, and as far as I know no Apache configurations have changed since. Can someone please help me work out what the problem might be?

Here are the relevant portions of the mod_jk log:

First the initial request:

Admin note:

Moved the log output to:
http://apaste.info/ynk

... and the subsequent request for the same page:

Admin note:

Moved the log output to:
http://apaste.info/ddp


Next time please follow the forum rules.

I'm using Windows 7 btw.

Many thanks,
Neil
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 28 Jul '15 11:41    Post subject: Reply with quote

The socket timed out for the first request.
Back to top
neilrichards



Joined: 22 Jul 2015
Posts: 2
Location: London

PostPosted: Wed 29 Jul '15 17:57    Post subject: Reply with quote

... any ideas why that would be? If this log entry indicates the time the request took (which looks right):

Code:
tomcat hit334nr 0.739408


that time doesn't seem unreasonable. Is there a setting somewhere that will make it wait a little longer Smile
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 30 Jul '15 17:48    Post subject: Reply with quote

What is your mod_jk settings? I don't know mod_jk but there should be a parameter for that.
Back to top


Reply to topic   Topic: Sockets shutting down during first HTTP request (only) View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules