API Gateway: Policy Manager crash when handling large response
search cancel

API Gateway: Policy Manager crash when handling large response

book

Article ID: 251276

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Policy Manager crashes when debugging a service through Service Debugger which contains a response more than 40k characters.

Environment

Release : 10.0

Component : API GATEWAY

Resolution

Increase the Policy Manager timeout limits 

  • For example set it in C:\Program Files (x86)\CA Technologies - A Broadcom Company\Layer7 API Gateway Policy Manager 10.1.00.12727-CR01\Layer7 API Gateway Policy Manager.ini
  • Add larger timeouts, try doubling (default is 30000ms and 60000ms, 30s and 60s respectively) -Dcom.l7tech.gateway.remoting.connectionTimeout=60000 -Dcom.l7tech.gateway.remoting.readTimeout=120000
  • For example: commandline=javaw -Dcom.l7tech.gateway.remoting.connectionTimeout=60000 -Dcom.l7tech.gateway.remoting.readTimeout=120000 -Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US -Xms128M -Xmx1024M -Xss256k -Dsun.net.inetaddr.ttl=10 -Dnetworkaddress.cache.ttl=10 -jar Manager.jar
  • Make sure to open Notepad as Administrator so you can save the changes