Tomcat stops responding after Broken pipes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Tomcat stops responding after Broken pipes

Mike Baschky
Hello All,
    I've run into an odd issue with ofbiz and the embedded tomcat. Here
are the particulars - we are using ofbiz ~V4 (pulled this summer). We
are fronting the ofbiz with apache. Now here is the problem - Every so
often we'll start seeing in the log files several
javax.net.SocketException: Broken pipe exceptions in row after which the
application stops responding to web requests. Now it appears that apache
is still working and responding and the ofbiz part is still working (we
see entries in the log files from automated processes). However, the
embedded tomcat doesn't seem to be accepting web requests anymore. Has
anyone else noted this issue? If so was a fix determined.
 
Thanks,
Mike
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat stops responding after Broken pipes

BJ Freeman
are you using the 8443 and 8080 ports, or connecting through apache.
I would check the apache to ofbiz connection first.

Mike Baschky sent the following on 10/4/2007 11:18 AM:

> Hello All,
>     I've run into an odd issue with ofbiz and the embedded tomcat. Here
> are the particulars - we are using ofbiz ~V4 (pulled this summer). We
> are fronting the ofbiz with apache. Now here is the problem - Every so
> often we'll start seeing in the log files several
> javax.net.SocketException: Broken pipe exceptions in row after which the
> application stops responding to web requests. Now it appears that apache
> is still working and responding and the ofbiz part is still working (we
> see entries in the log files from automated processes). However, the
> embedded tomcat doesn't seem to be accepting web requests anymore. Has
> anyone else noted this issue? If so was a fix determined.
>  
> Thanks,
> Mike
>
Reply | Threaded
Open this post in threaded view
|

RE: Tomcat stops responding after Broken pipes

Mike Baschky
Hi again,
        We are piping through apache (jk-mount port 8009). But again I
don't believe it's an issue between apache and tomcat. What leads me to
believe it's a tomcat issue is that on shutting down the application we
get an error thrown by the CatalinaContainer.java complaining about the
embedded service has not started.

-Mike

-----Original Message-----
From: BJ Freeman [mailto:[hidden email]]
Sent: Thursday, October 04, 2007 1:54 PM
To: [hidden email]
Subject: Re: Tomcat stops responding after Broken pipes

are you using the 8443 and 8080 ports, or connecting through apache.
I would check the apache to ofbiz connection first.

Mike Baschky sent the following on 10/4/2007 11:18 AM:

> Hello All,
>     I've run into an odd issue with ofbiz and the embedded tomcat.
> Here are the particulars - we are using ofbiz ~V4 (pulled this
> summer). We are fronting the ofbiz with apache. Now here is the
> problem - Every so often we'll start seeing in the log files several
> javax.net.SocketException: Broken pipe exceptions in row after which
> the application stops responding to web requests. Now it appears that
> apache is still working and responding and the ofbiz part is still
> working (we see entries in the log files from automated processes).
> However, the embedded tomcat doesn't seem to be accepting web requests

> anymore. Has anyone else noted this issue? If so was a fix determined.
>  
> Thanks,
> Mike
>
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat stops responding after Broken pipes

BJ Freeman
Please supply logs from ofbiz that match the time this is reported in
apache.


Mike Baschky sent the following on 10/4/2007 12:39 PM:

> Hi again,
> We are piping through apache (jk-mount port 8009). But again I
> don't believe it's an issue between apache and tomcat. What leads me to
> believe it's a tomcat issue is that on shutting down the application we
> get an error thrown by the CatalinaContainer.java complaining about the
> embedded service has not started.
>
> -Mike
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
> Sent: Thursday, October 04, 2007 1:54 PM
> To: [hidden email]
> Subject: Re: Tomcat stops responding after Broken pipes
>
> are you using the 8443 and 8080 ports, or connecting through apache.
> I would check the apache to ofbiz connection first.
>
> Mike Baschky sent the following on 10/4/2007 11:18 AM:
>> Hello All,
>>     I've run into an odd issue with ofbiz and the embedded tomcat.
>> Here are the particulars - we are using ofbiz ~V4 (pulled this
>> summer). We are fronting the ofbiz with apache. Now here is the
>> problem - Every so often we'll start seeing in the log files several
>> javax.net.SocketException: Broken pipe exceptions in row after which
>> the application stops responding to web requests. Now it appears that
>> apache is still working and responding and the ofbiz part is still
>> working (we see entries in the log files from automated processes).
>> However, the embedded tomcat doesn't seem to be accepting web requests
>
>> anymore. Has anyone else noted this issue? If so was a fix determined.
>>  
>> Thanks,
>> Mike
>>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat stops responding after Broken pipes

rajsaini
In reply to this post by Mike Baschky
Mike,

To me it seems to be a mod_jk problem. I remember working hard on this
and could not make it work. If you are using Apache HTTPD 2.2.x, try
switching to mod_ajp_proxy as it is easier to configure and preferred
way go.

Thanks,

Raj
Mike Baschky wrote:

> Hi again,
> We are piping through apache (jk-mount port 8009). But again I
> don't believe it's an issue between apache and tomcat. What leads me to
> believe it's a tomcat issue is that on shutting down the application we
> get an error thrown by the CatalinaContainer.java complaining about the
> embedded service has not started.
>
> -Mike
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
> Sent: Thursday, October 04, 2007 1:54 PM
> To: [hidden email]
> Subject: Re: Tomcat stops responding after Broken pipes
>
> are you using the 8443 and 8080 ports, or connecting through apache.
> I would check the apache to ofbiz connection first.
>
> Mike Baschky sent the following on 10/4/2007 11:18 AM:
>  
>> Hello All,
>>     I've run into an odd issue with ofbiz and the embedded tomcat.
>> Here are the particulars - we are using ofbiz ~V4 (pulled this
>> summer). We are fronting the ofbiz with apache. Now here is the
>> problem - Every so often we'll start seeing in the log files several
>> javax.net.SocketException: Broken pipe exceptions in row after which
>> the application stops responding to web requests. Now it appears that
>> apache is still working and responding and the ofbiz part is still
>> working (we see entries in the log files from automated processes).
>> However, the embedded tomcat doesn't seem to be accepting web requests
>>    
>
>  
>> anymore. Has anyone else noted this issue? If so was a fix determined.
>>  
>> Thanks,
>> Mike
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

RE: Tomcat stops responding after Broken pipes

Mike Baschky
Cool - thanks for the info.  

-----Original Message-----
From: Raj Saini [mailto:[hidden email]]
Sent: Friday, October 05, 2007 12:12 AM
To: [hidden email]
Subject: Re: Tomcat stops responding after Broken pipes

Mike,

To me it seems to be a mod_jk problem. I remember working hard on this
and could not make it work. If you are using Apache HTTPD 2.2.x, try
switching to mod_ajp_proxy as it is easier to configure and preferred
way go.

Thanks,

Raj
Mike Baschky wrote:
> Hi again,
> We are piping through apache (jk-mount port 8009). But again I
don't
> believe it's an issue between apache and tomcat. What leads me to
> believe it's a tomcat issue is that on shutting down the application
> we get an error thrown by the CatalinaContainer.java complaining about

> the embedded service has not started.
>
> -Mike
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
> Sent: Thursday, October 04, 2007 1:54 PM
> To: [hidden email]
> Subject: Re: Tomcat stops responding after Broken pipes
>
> are you using the 8443 and 8080 ports, or connecting through apache.
> I would check the apache to ofbiz connection first.
>
> Mike Baschky sent the following on 10/4/2007 11:18 AM:
>  
>> Hello All,
>>     I've run into an odd issue with ofbiz and the embedded tomcat.
>> Here are the particulars - we are using ofbiz ~V4 (pulled this
>> summer). We are fronting the ofbiz with apache. Now here is the
>> problem - Every so often we'll start seeing in the log files several
>> javax.net.SocketException: Broken pipe exceptions in row after which
>> the application stops responding to web requests. Now it appears that

>> apache is still working and responding and the ofbiz part is still
>> working (we see entries in the log files from automated processes).
>> However, the embedded tomcat doesn't seem to be accepting web
>> requests
>>    
>
>  
>> anymore. Has anyone else noted this issue? If so was a fix
determined.
>>  
>> Thanks,
>> Mike
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Tomcat stops responding after Broken pipes

BJ Freeman
ran across these
# Apache HTTP Server Tomcat 6.0.9/5.5.22 Directory Traversal Vulnerability
# Apache Tomcat Mod_JK.SO 1.2.20 Arbitrary Code Execution Vulnerability
# Apache Tomcat Mod_JK.SO 1.2.20 Arbitrary Code Execution Vulnerability
http://www.nstalker.com/wsi/latest-updates/Apache-Tomcat-vulnerabilities-and-new-updates/5

Mike Baschky sent the following on 10/5/2007 12:49 PM:

> Cool - thanks for the info.  
>
> -----Original Message-----
> From: Raj Saini [mailto:[hidden email]]
> Sent: Friday, October 05, 2007 12:12 AM
> To: [hidden email]
> Subject: Re: Tomcat stops responding after Broken pipes
>
> Mike,
>
> To me it seems to be a mod_jk problem. I remember working hard on this
> and could not make it work. If you are using Apache HTTPD 2.2.x, try
> switching to mod_ajp_proxy as it is easier to configure and preferred
> way go.
>
> Thanks,
>
> Raj
> Mike Baschky wrote:
>> Hi again,
>> We are piping through apache (jk-mount port 8009). But again I
> don't
>> believe it's an issue between apache and tomcat. What leads me to
>> believe it's a tomcat issue is that on shutting down the application
>> we get an error thrown by the CatalinaContainer.java complaining about
>
>> the embedded service has not started.
>>
>> -Mike
>>
>> -----Original Message-----
>> From: BJ Freeman [mailto:[hidden email]]
>> Sent: Thursday, October 04, 2007 1:54 PM
>> To: [hidden email]
>> Subject: Re: Tomcat stops responding after Broken pipes
>>
>> are you using the 8443 and 8080 ports, or connecting through apache.
>> I would check the apache to ofbiz connection first.
>>
>> Mike Baschky sent the following on 10/4/2007 11:18 AM:
>>  
>>> Hello All,
>>>     I've run into an odd issue with ofbiz and the embedded tomcat.
>>> Here are the particulars - we are using ofbiz ~V4 (pulled this
>>> summer). We are fronting the ofbiz with apache. Now here is the
>>> problem - Every so often we'll start seeing in the log files several
>>> javax.net.SocketException: Broken pipe exceptions in row after which
>>> the application stops responding to web requests. Now it appears that
>
>>> apache is still working and responding and the ofbiz part is still
>>> working (we see entries in the log files from automated processes).
>>> However, the embedded tomcat doesn't seem to be accepting web
>>> requests
>>>    
>>  
>>> anymore. Has anyone else noted this issue? If so was a fix
> determined.
>>>  
>>> Thanks,
>>> Mike
>>>
>>>    
>>  
>
>
>
>