Sametime Gateway - java.lang.OutOfMemoryError

The following exception is observed in the SystemOut.log of the Sametime Gateway:3/24/10 11:02:17:890 GMT+05:30] 0000004f webapp E com.ibm.ws.webcontainer.webapp.WebApp reportRecursiveError Error Page Exception The server cannot use the error page specified for your application because of the exception printed below.

[3/24/10 11:02:18:265 GMT+05:30] 0000004f webapp E com.ibm.ws.webcontainer.webapp.WebApp reportRecursiveError Error Page Exception:

[3/24/10 11:02:18:281 GMT+05:30] 00000051 UserDetails I LogoutAction logout CWLAA5058I: user stgwadmin logging out, session being destroyed: Du41m-pwaImeppQNaw0PBCC

[3/24/10 11:02:22:796 GMT+05:30] 00000027 SIPKeepAliveT W com.ibm.rtc.gateway.nativesip.SIPKeepAliveThread handleComConnections CLFRC0311W: Received SIP error code 503 (Service Unavailable) while attempting to send initial invite to external community “st6” at port 5060 with transport tcp. Ensure the external community is configured and listening on port 5060 for scheme “sip” SIP TCP traffic

[3/24/10 11:02:27:406 GMT+05:30] 0000004f servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet /generalError.jsp in application isclite. Exception created : com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.OutOfMemoryError

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)

at _ibmjsp._generalError._jspService(_generalError.java:242)

at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1455)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:104)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:788)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)

at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)

at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)

at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)

at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3130)

at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:632)

at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1121)

at com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch(FilterProxyServlet.java:128)

at com.ibm.ws.webcontainer.servlet.FilterProxyServlet.service(FilterProxyServlet.java:58)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1455)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1396)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistence(WSCUrlFilter.java:927)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:494)

at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:315)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:917)

at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:924)

at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:852)

at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3622)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:927)

at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)

at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)

at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)

at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

Caused by: java.lang.OutOfMemoryError

at java.io.FileInputStream.readBytes(Native Method)

at java.io.FileInputStream.read(FileInputStream.java:213)

at java.io.BufferedInputStream.read1(BufferedInputStream.java:267)

at java.io.BufferedInputStream.read(BufferedInputStream.java:328)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)

at java.io.BufferedInputStream.read1(BufferedInputStream.java:269)

at java.io.BufferedInputStream.read(BufferedInputStream.java:328)

at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:452)

at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:494)

at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:222)

at java.io.InputStreamReader.read(InputStreamReader.java:177)

at java.io.Reader.read(Reader.java:134)

at java.util.Properties.load(Properties.java:314)

at java.util.Properties.load(Properties.java:280)

at java.util.PropertyResourceBundle.<init>(PropertyResourceBundle.java:50)

at java.util.ResourceBundle.handleGetBundle(ResourceBundle.java:487)

at java.util.ResourceBundle.getBundle(ResourceBundle.java:155)

at org.apache.taglibs.standard.tag.common.fmt.BundleSupport.findMatch(BundleSupport.java:282)

at org.apache.taglibs.standard.tag.common.fmt.BundleSupport.findMatch(BundleSupport.java:252)

at org.apache.taglibs.standard.tag.common.fmt.BundleSupport.getLocalizationContext(BundleSupport.java:186)

at org.apache.taglibs.standard.tag.common.fmt.BundleSupport.doStartTag(BundleSupport.java:95)

at _ibmjsp._generalError._jspService(_generalError.java:121)

... 48 more

Subject: Out of memory

There’s no predefined reason to see out of memory errors.Check that your physical machine has at least 2GB of available RAM.

See what logs and dump files needs to be collected in here:

http://www.ibm.com/support/docview.wss?rs=180&uid=swg21138587

and submit to IBM support.