IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

WebMethods 8.2 OutOfMemoryError while receiving SOAP

  • 1.  WebMethods 8.2 OutOfMemoryError while receiving SOAP

    Posted Wed January 29, 2014 03:30 AM

    Greetings,

    We’re facing a strange issue. I’ve created a custom Web Service consumer to consume a provider from HP Service Manager 9. This Client uses Axis2-1.6.2 as its core. The Axis2 jar files are placed within IS/packages/{package_name}/code/jars. This service runs perfectly had been tested. We recently had to add it to webMethods and thus I made a JavaService from it. Now comes the fun part. The server crashes every single time this service runs for the fifth time. The first four times everything is fine but then comes a crash with the following Exception in the log file:

    2014-01-28 10:03:14 MET [ISS.0028.0048E] Failed to read class org.apache.axis2.engine.AxisEvent from input stream
    2014-01-28 10:03:34 MET [ISS.0053.0010E] (tid=1146205078) The Reverse Gateway Integration Server encountered an error: [ISC.0064.9306] Connection was closed during read while handling the request. It is unable to retry the request at this time. The retry count is 1
    2014-01-28 10:03:37 MET [ISS.0053.0006C] (tid=1146205078) The Reverse Gateway Integration Server encountered an error: [ISC.0064.9306] Connection was closed during read while handling request from client 10.232.110.4 (request url=/wm-message).
    2014-01-28 10:04:29 MET [ISC.0076.0004W] BinCoder decode error creating as String java.lang.Long, s=180000. Excpt:java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143647java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143659java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143671java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143683java.lang.OutOfMemoryError: PermGen space
    com.webmethods.portal.mech.storage.impl.BasicMechanics cannot be cast to com.webmethods.portal.mech.rules.IRuleMechanicsFailed to load event: 2143695java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143707java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143719java.lang.OutOfMemoryError: PermGen space
    Failed to load event: 2143726java.lang.OutOfMemoryError: PermGen space
    PermGen spacejava.lang.OutOfMemoryError: PermGen space

    I know WM has built-in services to consume a WS-Provider but the SM9 sends the SOAP message with an inappropriate format and thus our company developers failed to solve this issue for 3 years now. So please let’s concentrate in the issue rather than recommendations about using existing services from flow which is NOT an option thistime. We have JavaService which was perfect for this 3 years never gave an error. Now within webMethods the IS crashes.
    Operating system: UNIX
    WM Version: 8.2
    Error: See above from server.log


    #webMethods
    #soa
    #API-Management