About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Troubleshooting
Problem
Using the HTTP (HyperText Transfer Protocol) Interceptor such as the following:
import java.util.Map;
import com.softwareag.is.interceptor.HttpInterceptorException;
import com.softwareag.is.interceptor.HttpInterceptorIFC;
public class HttpInterceptor implements HttpInterceptorIFC {
@Override
public void preProcess(String requestURL, String requestType, String httpVersion, Map headers, byte[] streamBytes, String correlationID)
throws HttpInterceptorException {
System.out.println("HTTP Interceptor preProcess: " + requestType + " url=" + requestURL);
}
@Override
public void postProcess(int responseCode, String responseMessage, Map<String, String> headers, byte[] bytes, String correlationID) {
System.out.println("HTTP Interceptor postProcess: response=" + responseCode + " " + responseMessage);
}
}
This gives the following message:
"java.lang.NegativeArraySizeException: null
at com.softwareag.is.interceptor.HttpInterceptorManager.preProcess(HttpInterceptorManager.java:140)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:367)
at com.wm.util.pool.PooledThread.run(PooledThread.java:127)
at java.lang.Thread.run(Thread.java:748)"
Document Location
Worldwide
[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"10.1"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"10.1"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Integration Server (PIE)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"10.1"}]
To view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
More support for:
IBM webMethods Integration
Component:
webMethods Integration Server (PIE)
Software version:
10.1
Operating system(s):
Red Hat Enterprise Linux
Document number:
7226539
Modified date:
20 March 2025
UID
ibm17226539
Manage My Notification Subscriptions