Bug 779552 (SOA-1928) - SOAPProxy Service with unreachable proxy URL causes server to hang
Summary: SOAPProxy Service with unreachable proxy URL causes server to hang
Keywords:
Status: CLOSED WONTFIX
Alias: SOA-1928
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.0.0 ER7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-04 19:43 UTC by Jeff DeLong
Modified: 2010-09-21 19:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
5.0.0.E7 on Mac OS JDK 1.6
Last Closed: 2010-09-21 19:42:09 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1928 0 Major Closed SOAPProxy Service with unreachable proxy URL causes server to hang 2012-11-22 06:19:26 UTC

Description Jeff DeLong 2010-02-04 19:43:24 UTC
Date of First Response: 2010-02-04 14:47:44
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/848373
project_key: SOA


As documented in JBESB-2947, if I use an http url for a local JBossWS hosted web services, the server hangs. I replace the url with the internal url and the server starts fine. 

However, if the http url was for a service on another server, and that server was not reachable (e.g., I put it a bogus IP address for the servername), I found that it also causes the server to hang.  In this case there is an error message at least:

12:16:16,896 INFO  [EsbDeployment] Starting ESB Deployment 'UpdateStatusService.esb'
12:17:32,514 INFO  [HttpMethodDirector] I/O exception (java.net.SocketException) caught when processing request: Network is unreachable
12:17:32,514 INFO  [HttpMethodDirector] Retrying request

This server is still hung (e.g. jmx-console is not available). However it is not hung quite as bad, it will at least shut down without doing a kill -9.

This seems problematic to me, since a customer cannot guarantee that their real services are always running when they startup their ESB, and hanging the server is never acceptable.

Comment 1 Kevin Conner 2010-02-04 19:47:44 UTC
Need to register HttpMethodParams.RETRY_HANDLER and extend it to other exceptions, default seems to be DefaultHttpMethodRetryHandler.

Comment 2 David Ward 2010-02-05 01:58:19 UTC
Link: Added: This issue depends JBESB-3172


Comment 3 David Ward 2010-02-22 21:00:11 UTC
FYI, the hanging only appears to happen on Mac OS, which SOA-P does not provide production support for, so we are putting this one aside for now.

Comment 4 David Ward 2010-05-06 16:12:11 UTC
Security: Removed: JBoss Internal Added: Public


Comment 5 Martin Weiler 2010-05-10 07:18:00 UTC
Additional information about the environment from Brad Davis: "This is the case with Windows XP with Java 1.6.0_18-b07 as well."

Comment 6 Martin Weiler 2010-05-10 07:18:33 UTC
Help Desk Ticket Reference: Added: https://enterprise.redhat.com/issue-tracker/848373


Comment 7 Kevin Conner 2010-05-10 08:11:43 UTC
This has not been seen in a windows environment until now (we test on windows).  Can we please have a log file attached to this case?

Comment 8 David Ward 2010-05-10 12:53:56 UTC
I have the fix completed locally (dead easy) that registers our own HttpMethodRetryHandler which (in addition to what DefaultHttpMethodRetryHandler checks for) also checks for a generic SocketException.  This should account for the Mac JDK vs. Linux JDK behavioral difference.  However, I am hesitating checking it in until I see a log file for the Windows JDK environment That Martin/Brad mentioned.  I want to make sure we cover that as well.  So, as Kevin requested, a log file would be much appreciated.  Thanks!

Comment 9 David Ward 2010-05-11 17:24:21 UTC
Tom Cunningham verified my fix on his Mac, so I have committed the fix for JBESB-3172 on trunk.  It will be included in .org ESB 4.9.

Now, since THIS issue (SOA-1928) is a platform issue, and we do not yet provide customer support for Mac OS, I don't know when there will be an associated JBESB issue that targets a platform CP release.  But when there is, it will be an easy port.

Comment 10 Anne-Louise Tangring 2010-09-21 19:42:08 UTC
MAC OS is not supported with SOA-P 5.x and there are no plans to do so.


Note You need to log in before you can comment on or make changes to this bug.