[jboss-user] [JBoss Web Services] New message: "Out of memory occured on servlet.service()"

Doochul KIM do-not-reply at jboss.com
Mon Feb 22 11:10:46 EST 2010


User development,

A new message was posted in the thread "Out of memory occured on servlet.service()":

http://community.jboss.org/message/527645#527645

Author  : Doochul KIM
Profile : http://community.jboss.org/people/headiron

Message:
--------------------------------------------------------------
Hi.
 
Our company use jboss-4.0.2, and implement web service using jboss web service.
Some times web service is hang up after OutOfMemberError.
According to stacktrace message, OOM is occured during generate SOAP Response message.
We want to find a solution prevent this issue.
Is there any possible solution for it?
( We are using JAVA 5 VM 64.
  It is difficult to upgrade jboss because there is other service on it .
  But it is possible to upgrade jboss web service if it could prevent OOM )
I also want to know how can I get a source of jboss web service executed on jboss4.0.2.
 
Below is stack trace of OOM.
 
02/22/2010 10:37:58,889 ERROR [[OaxApiBean]] Servlet.service() for servlet OaxApiBean threw exception
java.lang.OutOfMemoryError: Java heap space
    at org.jboss.axis.message.SAX2EventRecorder$objArrayVector.add(SAX2EventRecorder.java:366)
    at org.jboss.axis.message.SAX2EventRecorder.startEntity(SAX2EventRecorder.java:180)
    at org.jboss.axis.encoding.DeserializationContextImpl.startEntity(DeserializationContextImpl.java:1349)
    at org.apache.xerces.parsers.AbstractSAXParser.startParameterEntity(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.startGeneralEntity(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleCharacter(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257)
    at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
    at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
    at org.jboss.axis.Message.getContentType(Message.java:494)
    at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:971)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/527645#527645




More information about the jboss-user mailing list