502 Proxy Error And Sigsegv When Sending Post Request To Portal Through Webcache (Doc ID 1309710.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Web Cache - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

There is a 502 Proxy Error displayed in the browser, when users try to submit portlet page in Oracle Portal through webcache. Portlet displayes Java EE application implemented using Struts framework.

This error occurs after upgrading Oracle Portal 10g to Oracle Portal 11g. Let me know,

1. The request to the Portal includes a very large POST as can be seen in Data Collection record. The web cache trace dump references a large POST body similar to the one shown below (although you may not see this specific content with "@@POST_BODY_TOO_LARGE" in the trace dump):

- Tracedump
-----------
<TraceDump Header="Generated by Oracle Web Cache on Mon Jan 3 16:35:58 2011 - Build 11.1.1.3.0 100402.1900"
Version="11g (11.1.1.3)" Label="Build 11.1.1.3.0 100402.1900" Date="2011-01-03 16:35:59">
<Reason>
Caught SIGSEGV
Error Number: 0
Signal Code: SEGV_MAPERR
Faulting Address: 0xb9bb94
</Reason>

<cache_documentT MemAddr = "0x131b9028">
<key>
<SiteName = "abcd.efg.com:80">
<URI = "/portal/page/portal/MY_Application_PG_NEW/MySites_Page">
<Method = "POST">
<PostBody = "@@POST_BODY_TOO_LARGE">
<MultiVersion = "Not Valid">
<Compressed = "No">
</key>

2. Error message "Proxy error - Request could not be processed. Invalid response received by proxy or gateway server" is seen in browser when accessing a particular page in Oracle Portal. The reason for this error is a crash of the web cache as can be seen from the Web Cache event log :

[2011-01-04T12:55:47+01:00] [webcache] [ERROR:1] [WXE-09720] [diagnostics] [ecid: 004aGFmynqlComYEdrjc4L0000cG00011e,0:1] [req-info: ] [client: 111.22.33.44] [host: abcd.efg.com] [url: /portal/page/portal/MY_Application_PG_NEW/MySites_Page]
[2011-01-04T12:55:47+01:00] [webcache] [ERROR:1] [WXE-13601] [diagnostics] [ecid: 004aGFmynqlComYEdrjc4L0000cG00011e,0:1] Signal SIGSEGV caught
[2011-01-04T12:55:47+01:00] [webcache] [NOTIFICATION:1] [WXE-12816] [logging] [ecid: ] reqlogdump: 1 0 11331 1 frontend 2 34:0x132256a8 16:0x2aaaaaae7b10 0:0x87ab7c
[2011-01-04T12:55:47+01:00] [webcache] [NOTIFICATION:1] [WXE-12816] [logging] [ecid: ] reqlogdump: 2 1 13900 0 utl 1 89:0x13011050 0:0x87ab7c 0:0x87ab7c

3. This error occurs after upgrading Oracle Portal 10g to Oracle Portal 11g.

4. The Problem is just with this particular POST request on single page inside portlet . i.e. "/portal/page/portal/MY_Application_PG_NEW/MySites_Page". But on the other side the default web cache welcome page works fine.

5. As per dump generated, the POST body is quit long because it seems including a large number of URL parameters in the body. example of HTTP Headers in browser is shown below:

POST /portal/page/portal/MY_Application_PG_NEW/MySites_Page HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://abcd.efg.com/portal/page/portal/MY_Application_PG_NEW/MySites_Page
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322)
Host: gmsqa.dhl.com
Content-Length: 9791
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: oracle.uix=0^^GMT+1:00^p; ORA_PORTAL_SESSION_portal=11.1+en-us+us+AMERICA+98F1C91F259BBF51E04048A5278601FF+B294688806E2C8003A26AA9A704CD6D5D350049E0A01FCD3E538D0B02FF3DFD83B697AAABB1CBDEE54F3455721BE9BC3FA13693065DB178A774BF99BACD5AE70ED169D4145C0AA6BD4110869DEE1C1827D8966C83E1ED480; OHS-abcd.efg.com.com-80=5083B834C433C7F2C0499550684C9BEC863273385DAC3DAA46BC63A339553912E61974C7FC5B46FA86745A01D6FEE3E4CF63F48E771A3E7D275D14791024C86393535EDAEDEF7FCEC9FAD5DBB07EFB40B695DC33A3BEF32E5071B60B9873C570BA215598EA9C6678F91178264EDBCD41BF24384F3E175B778EE823E0FCF7C6CD0D66FC2B257B479E87CFA5E09F838278F54F157AF7E4CADD6CEC46DFE4D0AB9ABD66F68181A622EB6B3FB4AC2E6B58D417F1EB163AE62595799D0BF8C6D616974573BC63C6780D7626C37742944A0097FB7CECB10389DA14F1044A0E496313C8E6EAD395E11E0F81162A9D947AF691B97BB9702B4F5BDF7E817EE96197581444EE189C56F0641696DC7F15E83A150DBD~A2F0F3861A56FBE788C3F4628BEA901C; JSESSIONID=wLjpNhJM9ZgGQ3Nj5QVWxdzFdxDd28phnYJzGJYrLJLPhKXgltQ7!-1650016573

_piref49_655161_49_655158_655158.strutsAction=eventSummary.do&date=20101201&operation=create&userId=86980970&siteId=210220&selectedSiteId=210220&siteName=ABB+Vantaa+WHS&selectedMonth=12&selectedYear=2010&remarks=&method=submit&selectedEventId=&selectedEventName
.......
eventId=91866130&eventSummaryValue=&summaryTotal=&monthlyTotal=&91866140-min=null&91866140-max=null&eventId=91866140&eventSummaryValue=&summaryTotal=&monthlyTotal=&137880-min=null&137880-max=null&eventId=137880&eventSummaryValue=&summaryTotal=&monthlyTotal=&137890-min=null&137890-max=null&eventId=137890&eventSummaryValue=&summaryTotal=&monthlyTotal=&137900-min=null&137900-max=null&eventId=137900&eventSummaryValue=&summaryTotal=&monthlyTotal=&136090-min=null&136090-max=null&eventId=136090&eventSummaryValue=&summaryTotal=&monthlyTotal=&95738580-min=0&95738580-max=1&eventId=95738580&eventSummaryValue=HTTP/1.1 502 Proxy Error
Date: Mon, 03 Jan 2011 15:35:58 GMT
Content-Length: 237
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>Request could not be processed.Invalid response received by proxy or gateway server.</p>
</body></html>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms