[ 
https://issues.apache.org/jira/browse/SYNAPSE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laurent CHARTIER updated SYNAPSE-370:
-------------------------------------

    Description: 
As discussed on the mailing list with subject [Synapse 1.1.1] - Proxy timeout 
(vendredi 13 juin 2008 17:42 Paris):

I encounter some timeout problems with a Synapse installation. My 
client(170.217.170.36) invokes Synapse(170.243.1.100:8210), then Synapse do its 
job. But before it can respond to my client, it says " HTTP connection 
[/170.217.170.36:2115]: Timeout". My client never receives the response.

Previously, it took 60 seconds to have a timeout.
I tried to increase the timeout with nhttp.properties.

But... It seems that my Synapse locks between the moment it prepare the 
connection (I see HTTP connection [/170.217.170.36:3520]: HTTP/1.1 200 OK) and 
the moment it sends the response data.

2008-06-13 17:33:49,887 [HttpClientWorker-2] DEBUG SOAPMessageFormatter - 
contentType from the OMOutputFormat =text/xml 2008-06-13 17:33:49,887 
[HttpClientWorker-2] DEBUG SOAPMessageFormatter - contentType returned 
=text/xml; charset=UTF-8 2008-06-13 17:33:49,888 [HttpClientWorker-2] DEBUG 
LoggingNHttpServerConnection - HTTP connection [/170.217.170.36:3529]: HTTP/1.1 
200 OK 2008-06-13 17:33:49,889 [HttpClientWorker-2] DEBUG LoggingIOSession - 
I/O session 3 [interested ops: [r]; ready ops: [r]]: Set event [w] 2008-06-13 
17:36:45,045 [I/O dispatcher 4] DEBUG LoggingNHttpServiceHandler
- HTTP connection [/170.217.170.36:3529]: Timeout
2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG ServerHandler - Connection 
Timeout for request to : /soap/R5WSService Probably the keepalive connection 
was closed 2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG LoggingIOSession - 
I/O session 3 [interested ops: [r]; ready ops: [r]]: Shutdown 2008-06-13 
17:36:45,046 [I/O dispatcher 4] DEBUG LoggingNHttpServiceHandler
- HTTP connection [closed]: Closed
2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG ServerHandler - Connection 
closed

After this, it seems that Synapse is locked. "CTRL+C" can't close the 
instance....

The Synapse job is to transform the reveived message into an XMLMessage called 
AGORAMessage.
Then, this message is sent to an endpoint (stj2ee).
The response of this endpoint is then transformed again from AGORAMessage into 
a SOAP message.
This SOAP message should be returned to the client. (Line 74 in the synapse.xml)

N.B.: The client invoking Synapse is SOAPUI (2.0.2) with socket timeout 
configured with 650000ms

  was:
As discussed on the mailing list with subject [Synapse 1.1.1] - Proxy timeout 
(vendredi 13 juin 2008 17:42 Paris):

I encounter some timeout problems with a Synapse installation. My 
client(170.217.170.36) invokes Synapse(170.243.1.100:8210), then Synapse do its 
job. But before it can respond to my client, it says " HTTP connection 
[/170.217.170.36:2115]: Timeout". My client never receives the response.

Previously, it took 60 seconds to have a timeout.
I tried to increase the timeout with nhttp.properties.

But... It seems that my Synapse locks between the moment it prepare the 
connection (I see HTTP connection [/170.217.170.36:3520]: HTTP/1.1 200 OK) and 
the moment it sends the response data.

2008-06-13 17:33:49,887 [HttpClientWorker-2] DEBUG SOAPMessageFormatter - 
contentType from the OMOutputFormat =text/xml 2008-06-13 17:33:49,887 
[HttpClientWorker-2] DEBUG SOAPMessageFormatter - contentType returned 
=text/xml; charset=UTF-8 2008-06-13 17:33:49,888 [HttpClientWorker-2] DEBUG 
LoggingNHttpServerConnection - HTTP connection [/170.217.170.36:3529]: HTTP/1.1 
200 OK 2008-06-13 17:33:49,889 [HttpClientWorker-2] DEBUG LoggingIOSession - 
I/O session 3 [interested ops: [r]; ready ops: [r]]: Set event [w] 2008-06-13 
17:36:45,045 [I/O dispatcher 4] DEBUG LoggingNHttpServiceHandler
- HTTP connection [/170.217.170.36:3529]: Timeout
2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG ServerHandler - Connection 
Timeout for request to : /soap/R5WSService Probably the keepalive connection 
was closed 2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG LoggingIOSession - 
I/O session 3 [interested ops: [r]; ready ops: [r]]: Shutdown 2008-06-13 
17:36:45,046 [I/O dispatcher 4] DEBUG LoggingNHttpServiceHandler
- HTTP connection [closed]: Closed
2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG ServerHandler - Connection 
closed

After this, it seems that Synapse is locked. "CTRL+C" can't close the 
instance....

The Synapse job is to transform the reveived message into an XMLMessage called 
AGORAMessage.
Then, this message is sent to an endpoint (stj2ee).
The response of this endpoint is then transformed again from AGORAMessage into 
a SOAP message.
This SOAP message should be returned to the client. (Line 74 in the synapse.xml)


> Proxy timeout
> -------------
>
>                 Key: SYNAPSE-370
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-370
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: Os: AIX 5.3 TL5 SP1
>            Reporter: Laurent CHARTIER
>            Priority: Blocker
>         Attachments: synapse.xml
>
>
> As discussed on the mailing list with subject [Synapse 1.1.1] - Proxy timeout 
> (vendredi 13 juin 2008 17:42 Paris):
> I encounter some timeout problems with a Synapse installation. My 
> client(170.217.170.36) invokes Synapse(170.243.1.100:8210), then Synapse do 
> its job. But before it can respond to my client, it says " HTTP connection 
> [/170.217.170.36:2115]: Timeout". My client never receives the response.
> Previously, it took 60 seconds to have a timeout.
> I tried to increase the timeout with nhttp.properties.
> But... It seems that my Synapse locks between the moment it prepare the 
> connection (I see HTTP connection [/170.217.170.36:3520]: HTTP/1.1 200 OK) 
> and the moment it sends the response data.
> 2008-06-13 17:33:49,887 [HttpClientWorker-2] DEBUG SOAPMessageFormatter - 
> contentType from the OMOutputFormat =text/xml 2008-06-13 17:33:49,887 
> [HttpClientWorker-2] DEBUG SOAPMessageFormatter - contentType returned 
> =text/xml; charset=UTF-8 2008-06-13 17:33:49,888 [HttpClientWorker-2] DEBUG 
> LoggingNHttpServerConnection - HTTP connection [/170.217.170.36:3529]: 
> HTTP/1.1 200 OK 2008-06-13 17:33:49,889 [HttpClientWorker-2] DEBUG 
> LoggingIOSession - I/O session 3 [interested ops: [r]; ready ops: [r]]: Set 
> event [w] 2008-06-13 17:36:45,045 [I/O dispatcher 4] DEBUG 
> LoggingNHttpServiceHandler
> - HTTP connection [/170.217.170.36:3529]: Timeout
> 2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG ServerHandler - Connection 
> Timeout for request to : /soap/R5WSService Probably the keepalive connection 
> was closed 2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG LoggingIOSession 
> - I/O session 3 [interested ops: [r]; ready ops: [r]]: Shutdown 2008-06-13 
> 17:36:45,046 [I/O dispatcher 4] DEBUG LoggingNHttpServiceHandler
> - HTTP connection [closed]: Closed
> 2008-06-13 17:36:45,046 [I/O dispatcher 4] DEBUG ServerHandler - Connection 
> closed
> After this, it seems that Synapse is locked. "CTRL+C" can't close the 
> instance....
> The Synapse job is to transform the reveived message into an XMLMessage 
> called AGORAMessage.
> Then, this message is sent to an endpoint (stj2ee).
> The response of this endpoint is then transformed again from AGORAMessage 
> into a SOAP message.
> This SOAP message should be returned to the client. (Line 74 in the 
> synapse.xml)
> N.B.: The client invoking Synapse is SOAPUI (2.0.2) with socket timeout 
> configured with 650000ms

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to