tomcat - OutOfMemoryError Java heap space -


we had production environment on tomcat 5.5 jdk6. last week upgraded system tomcat 7 jdk 7. since getting outofmemoryerror on daily basis.

i added flags capture heap dumps on oom. analyzed them using memory analyzer tool. dumps show suspected object com.sun.org.apache.xml.internal.resolver.catalog shallow size of ~56b , retained size ~1.3 gb following stack traces

http-apr-8080-exec-36   @ java.util.zip.zipcoder.getbytes(ljava/lang/string;)[b (unknown source)   @ java.util.zip.zipfile.getentry(ljava/lang/string;)ljava/util/zip/zipentry; (unknown source)   @ java.util.jar.jarfile.getentry(ljava/lang/string;)ljava/util/zip/zipentry; (unknown source)   @ java.util.jar.jarfile.getjarentry(ljava/lang/string;)ljava/util/jar/jarentry; (unknown source)   @ sun.misc.urlclasspath$jarloader.getresource(ljava/lang/string;z)lsun/misc/resource; (unknown source)   @ sun.misc.urlclasspath$jarloader.findresource(ljava/lang/string;z)ljava/net/url; (unknown source)   @ sun.misc.urlclasspath$1.next()z (unknown source)   @ sun.misc.urlclasspath$1.hasmoreelements()z (unknown source)   @ java.net.urlclassloader$3$1.run()ljava/net/url; (unknown source)   @ java.net.urlclassloader$3$1.run()ljava/lang/object; (unknown source)   @ java.security.accesscontroller.doprivileged(ljava/security/privilegedaction;ljava/security/accesscontrolcontext;)ljava/lang/object; (native method)   @ java.net.urlclassloader$3.next()z (unknown source)   @ java.net.urlclassloader$3.hasmoreelements()z (unknown source)   @ sun.misc.compoundenumeration.next()z (unknown source)   @ sun.misc.compoundenumeration.hasmoreelements()z (unknown source)   @ sun.misc.compoundenumeration.next()z (unknown source)   @ sun.misc.compoundenumeration.hasmoreelements()z (unknown source)   @ com.sun.xml.ws.policy.privateutil.servicefinder$lazyiterator.hasnext()z (servicefinder.java:362)   @ com.sun.xml.ws.policy.privateutil.servicefinder.toarray()[ljava/lang/object; (servicefinder.java:228)   @ com.sun.xml.ws.policy.privateutil.policyutils$serviceprovider.load(ljava/lang/class;)[ljava/lang/object; (policyutils.java:451)   @ com.sun.xml.ws.policy.assertionvalidationprocessor.<init>(ljava/util/collection;)v (assertionvalidationprocessor.java:80)   @ com.sun.xml.ws.api.policy.validationprocessor.<init>()v (validationprocessor.java:69)   @ com.sun.xml.ws.api.policy.validationprocessor.getinstance()lcom/sun/xml/ws/api/policy/validationprocessor; (validationprocessor.java:79)   @ com.sun.xml.ws.api.policy.alternativeselector.doselection(lcom/sun/xml/ws/policy/effectivepolicymodifier;)v (alternativeselector.java:50)   @ com.sun.xml.ws.policy.wsitpolicyutil.doalternativeselection(lcom/sun/xml/ws/policy/policymap;)lcom/sun/xml/ws/policy/policymap; (wsitpolicyutil.java:96)   @ com.sun.xml.ws.policy.jaxws.wsitpolicyresolver.resolve(lcom/sun/xml/ws/api/policy/policyresolver$clientcontext;)lcom/sun/xml/ws/policy/policymap; (wsitpolicyresolver.java:121)   @ com.sun.xml.ws.policy.policywsdlparserextension.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (policywsdlparserextension.java:953)   @ com.sun.xml.ws.wsdl.parser.delegatingparserextension.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (delegatingparserextension.java:187)   @ com.sun.xml.ws.wsdl.parser.wsdlparserextensionfacade.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (wsdlparserextensionfacade.java:334)   @ com.sun.xml.ws.wsdl.parser.runtimewsdlparser.parse(ljava/net/url;ljavax/xml/transform/source;lorg/xml/sax/entityresolver;zlcom/sun/xml/ws/api/server/container;lcom/sun/xml/ws/api/policy/policyresolver;[lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextension;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (runtimewsdlparser.java:171)   @ com.sun.xml.ws.wsdl.parser.runtimewsdlparser.parse(ljava/net/url;ljavax/xml/transform/source;lorg/xml/sax/entityresolver;zlcom/sun/xml/ws/api/server/container;[lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextension;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (runtimewsdlparser.java:131)   @ com.sun.xml.ws.client.wsservicedelegate.parsewsdl(ljava/net/url;ljavax/xml/transform/source;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (wsservicedelegate.java:267)   @ com.sun.xml.ws.client.wsservicedelegate.<init>(ljavax/xml/transform/source;ljavax/xml/namespace/qname;ljava/lang/class;)v (wsservicedelegate.java:230)   @ com.sun.xml.ws.client.wsservicedelegate.<init>(ljava/net/url;ljavax/xml/namespace/qname;ljava/lang/class;)v (wsservicedelegate.java:178)   @ com.sun.xml.ws.spi.providerimpl.createservicedelegate(ljava/net/url;ljavax/xml/namespace/qname;ljava/lang/class;)ljavax/xml/ws/spi/servicedelegate; (providerimpl.java:106)   @ javax.xml.ws.service.<init>(ljava/net/url;ljavax/xml/namespace/qname;)v (service.java:92)   @ org.tempuri.trans.<init>()v (trans.java:42)   @ mposclient.mposclient.retailertransaction(ljava/sql/connection;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;)ljava/lang/string; (mposclient.java:21)   @ webservice.imtopup.topupamount(ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;)ljava/lang/string; (imtopup.java:170)   @ sun.reflect.generatedmethodaccessor64.invoke(ljava/lang/object;[ljava/lang/object;)ljava/lang/object; (unknown source)   @ sun.reflect.delegatingmethodaccessorimpl.invoke(ljava/lang/object;[ljava/lang/object;)ljava/lang/object; (unknown source)   @ java.lang.reflect.method.invoke(ljava/lang/object;[ljava/lang/object;)ljava/lang/object; (unknown source)   @ com.sun.xml.ws.api.server.instanceresolver$1.invoke(lcom/sun/xml/ws/api/message/packet;ljava/lang/reflect/method;[ljava/lang/object;)ljava/lang/object; (instanceresolver.java:246)   @ com.sun.xml.ws.server.invokertube$2.invoke(lcom/sun/xml/ws/api/message/packet;ljava/lang/reflect/method;[ljava/lang/object;)ljava/lang/object; (invokertube.java:146)   @ com.sun.xml.ws.server.sei.endpointmethodhandler.invoke(lcom/sun/xml/ws/api/message/packet;)lcom/sun/xml/ws/api/message/packet; (endpointmethodhandler.java:257)   @ com.sun.xml.ws.server.sei.seiinvokertube.processrequest(lcom/sun/xml/ws/api/message/packet;)lcom/sun/xml/ws/api/pipe/nextaction; (seiinvokertube.java:95)   @ com.sun.xml.ws.api.pipe.fiber.__dorun(lcom/sun/xml/ws/api/pipe/tube;)lcom/sun/xml/ws/api/pipe/tube; (fiber.java:629)   @ com.sun.xml.ws.api.pipe.fiber._dorun(lcom/sun/xml/ws/api/pipe/tube;)lcom/sun/xml/ws/api/pipe/tube; (fiber.java:588)   @ com.sun.xml.ws.api.pipe.fiber.dorun(lcom/sun/xml/ws/api/pipe/tube;)lcom/sun/xml/ws/api/pipe/tube; (fiber.java:573)   @ com.sun.xml.ws.api.pipe.fiber.runsync(lcom/sun/xml/ws/api/pipe/tube;lcom/sun/xml/ws/api/message/packet;)lcom/sun/xml/ws/api/message/packet; (fiber.java:470)   @ com.sun.xml.ws.server.wsendpointimpl$2.process(lcom/sun/xml/ws/api/message/packet;lcom/sun/xml/ws/api/server/webservicecontextdelegate;lcom/sun/xml/ws/api/server/transportbackchannel;)lcom/sun/xml/ws/api/message/packet; (wsendpointimpl.java:295)   @ com.sun.xml.ws.transport.http.httpadapter$httptoolkit.handle(lcom/sun/xml/ws/transport/http/wshttpconnection;)v (httpadapter.java:515)   @ com.sun.xml.ws.transport.http.httpadapter.handle(lcom/sun/xml/ws/transport/http/wshttpconnection;)v (httpadapter.java:285)   @ com.sun.xml.ws.transport.http.servlet.servletadapter.handle(ljavax/servlet/servletcontext;ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)v (servletadapter.java:143)   @ com.sun.xml.ws.transport.http.servlet.wsservletdelegate.doget(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;ljavax/servlet/servletcontext;)v (wsservletdelegate.java:155)   @ com.sun.xml.ws.transport.http.servlet.wsservletdelegate.dopost(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;ljavax/servlet/servletcontext;)v (wsservletdelegate.java:189)   @ com.sun.xml.ws.transport.http.servlet.wsservlet.dopost(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)v (wsservlet.java:76)   @ javax.servlet.http.httpservlet.service(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)v (httpservlet.java:647)   @ javax.servlet.http.httpservlet.service(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v (httpservlet.java:728)   @ org.apache.catalina.core.applicationfilterchain.internaldofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v (applicationfilterchain.java:305)   @ org.apache.catalina.core.applicationfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v (applicationfilterchain.java:210)   @ org.apache.catalina.core.standardwrappervalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardwrappervalve.java:222)   @ org.apache.catalina.core.standardcontextvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardcontextvalve.java:123)   @ org.apache.catalina.authenticator.authenticatorbase.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (authenticatorbase.java:472)   @ org.apache.catalina.core.standardhostvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardhostvalve.java:171)   @ org.apache.catalina.valves.errorreportvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (errorreportvalve.java:99)   @ org.apache.catalina.valves.accesslogvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (accesslogvalve.java:936)   @ org.apache.catalina.core.standardenginevalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardenginevalve.java:118)   @ org.apache.catalina.connector.coyoteadapter.service(lorg/apache/coyote/request;lorg/apache/coyote/response;)v (coyoteadapter.java:407)   @ org.apache.coyote.http11.abstracthttp11processor.process(lorg/apache/tomcat/util/net/socketwrapper;)lorg/apache/tomcat/util/net/abstractendpoint$handler$socketstate; (abstracthttp11processor.java:1004)   @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(lorg/apache/tomcat/util/net/socketwrapper;lorg/apache/tomcat/util/net/socketstatus;)lorg/apache/tomcat/util/net/abstractendpoint$handler$socketstate; (abstractprotocol.java:589)   @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.run()v (aprendpoint.java:1852)   @ java.util.concurrent.threadpoolexecutor.runworker(ljava/util/concurrent/threadpoolexecutor$worker;)v (unknown source)   @ java.util.concurrent.threadpoolexecutor$worker.run()v (unknown source)   @ java.lang.thread.run()v (unknown source) 

another 1 similar stack trace

http-apr-8082-exec-58   @ java.util.arrays.copyof([bi)[b (unknown source)   @ java.util.zip.zipcoder.getbytes(ljava/lang/string;)[b (unknown source)   @ java.util.zip.zipfile.getentry(ljava/lang/string;)ljava/util/zip/zipentry; (unknown source)   @ java.util.jar.jarfile.getentry(ljava/lang/string;)ljava/util/zip/zipentry; (unknown source)   @ java.util.jar.jarfile.getjarentry(ljava/lang/string;)ljava/util/jar/jarentry; (unknown source)   @ sun.misc.urlclasspath$jarloader.getresource(ljava/lang/string;z)lsun/misc/resource; (unknown source)   @ sun.misc.urlclasspath$jarloader.findresource(ljava/lang/string;z)ljava/net/url; (unknown source)   @ sun.misc.urlclasspath$1.next()z (unknown source)   @ sun.misc.urlclasspath$1.hasmoreelements()z (unknown source)   @ java.net.urlclassloader$3$1.run()ljava/net/url; (unknown source)   @ java.net.urlclassloader$3$1.run()ljava/lang/object; (unknown source)   @ java.security.accesscontroller.doprivileged(ljava/security/privilegedaction;ljava/security/accesscontrolcontext;)ljava/lang/object; (native method)   @ java.net.urlclassloader$3.next()z (unknown source)   @ java.net.urlclassloader$3.hasmoreelements()z (unknown source)   @ sun.misc.compoundenumeration.next()z (unknown source)   @ sun.misc.compoundenumeration.hasmoreelements()z (unknown source)   @ sun.misc.compoundenumeration.next()z (unknown source)   @ sun.misc.compoundenumeration.hasmoreelements()z (unknown source)   @ com.sun.xml.ws.policy.privateutil.servicefinder$lazyiterator.hasnext()z (servicefinder.java:362)   @ com.sun.xml.ws.policy.privateutil.servicefinder.toarray()[ljava/lang/object; (servicefinder.java:228)   @ com.sun.xml.ws.policy.privateutil.policyutils$serviceprovider.load(ljava/lang/class;)[ljava/lang/object; (policyutils.java:451)   @ com.sun.xml.ws.policy.assertionvalidationprocessor.<init>(ljava/util/collection;)v (assertionvalidationprocessor.java:80)   @ com.sun.xml.ws.api.policy.validationprocessor.<init>()v (validationprocessor.java:69)   @ com.sun.xml.ws.api.policy.validationprocessor.getinstance()lcom/sun/xml/ws/api/policy/validationprocessor; (validationprocessor.java:79)   @ com.sun.xml.ws.api.policy.alternativeselector.doselection(lcom/sun/xml/ws/policy/effectivepolicymodifier;)v (alternativeselector.java:50)   @ com.sun.xml.ws.policy.defaultpolicyresolver.doalternativeselection(lcom/sun/xml/ws/policy/policymap;)lcom/sun/xml/ws/policy/policymap; (defaultpolicyresolver.java:110)   @ com.sun.xml.ws.policy.defaultpolicyresolver.resolve(lcom/sun/xml/ws/api/policy/policyresolver$clientcontext;)lcom/sun/xml/ws/policy/policymap; (defaultpolicyresolver.java:66)   @ com.sun.xml.ws.policy.policywsdlparserextension.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (policywsdlparserextension.java:953)   @ com.sun.xml.ws.wsdl.parser.delegatingparserextension.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (delegatingparserextension.java:187)   @ com.sun.xml.ws.wsdl.parser.wsdlparserextensionfacade.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (wsdlparserextensionfacade.java:334)   @ com.sun.xml.ws.wsdl.parser.runtimewsdlparser.parse(lcom/sun/xml/ws/api/wsdl/parser/xmlentityresolver$parser;lcom/sun/xml/ws/api/wsdl/parser/xmlentityresolver;zlcom/sun/xml/ws/api/server/container;lcom/sun/xml/ws/api/policy/policyresolver;[lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextension;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (runtimewsdlparser.java:252)   @ com.sun.xml.ws.api.model.wsdl.wsdlmodel$wsdlparser.parse(lcom/sun/xml/ws/api/wsdl/parser/xmlentityresolver$parser;lcom/sun/xml/ws/api/wsdl/parser/xmlentityresolver;zlcom/sun/xml/ws/api/server/container;lcom/sun/xml/ws/api/policy/policyresolver;[lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextension;)lcom/sun/xml/ws/api/model/wsdl/wsdlmodel; (wsdlmodel.java:183)   @ com.sun.xml.ws.policy.jaxws.policyresourceloader.getwsdlmodel(ljava/net/url;z)lcom/sun/xml/ws/api/model/wsdl/wsdlmodel; (policyresourceloader.java:81)   @ com.sun.xml.ws.policy.jaxws.policyconfigparser.parsemodel(ljava/net/url;z[lcom/sun/xml/ws/policy/policymapmutator;)lcom/sun/xml/ws/api/model/wsdl/wsdlmodel; (policyconfigparser.java:223)   @ com.sun.xml.ws.policy.jaxws.policyconfigparser.parsemodel(ljava/lang/string;lcom/sun/xml/ws/api/server/container;[lcom/sun/xml/ws/policy/policymapmutator;)lcom/sun/xml/ws/api/model/wsdl/wsdlmodel; (policyconfigparser.java:185)   @ com.sun.xml.ws.policy.jaxws.policyconfigparser.parse(ljava/lang/string;lcom/sun/xml/ws/api/server/container;[lcom/sun/xml/ws/policy/policymapmutator;)lcom/sun/xml/ws/policy/policymap; (policyconfigparser.java:103)   @ com.sun.xml.ws.policy.jaxws.wsitpolicyresolver.resolve(lcom/sun/xml/ws/api/policy/policyresolver$clientcontext;)lcom/sun/xml/ws/policy/policymap; (wsitpolicyresolver.java:106)   @ com.sun.xml.ws.policy.policywsdlparserextension.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (policywsdlparserextension.java:953)   @ com.sun.xml.ws.wsdl.parser.delegatingparserextension.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (delegatingparserextension.java:187)   @ com.sun.xml.ws.wsdl.parser.wsdlparserextensionfacade.postfinished(lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextensioncontext;)v (wsdlparserextensionfacade.java:334)   @ com.sun.xml.ws.wsdl.parser.runtimewsdlparser.parse(ljava/net/url;ljavax/xml/transform/source;lorg/xml/sax/entityresolver;zlcom/sun/xml/ws/api/server/container;lcom/sun/xml/ws/api/policy/policyresolver;[lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextension;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (runtimewsdlparser.java:171)   @ com.sun.xml.ws.wsdl.parser.runtimewsdlparser.parse(ljava/net/url;ljavax/xml/transform/source;lorg/xml/sax/entityresolver;zlcom/sun/xml/ws/api/server/container;[lcom/sun/xml/ws/api/wsdl/parser/wsdlparserextension;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (runtimewsdlparser.java:131)   @ com.sun.xml.ws.client.wsservicedelegate.parsewsdl(ljava/net/url;ljavax/xml/transform/source;)lcom/sun/xml/ws/model/wsdl/wsdlmodelimpl; (wsservicedelegate.java:267)   @ com.sun.xml.ws.client.wsservicedelegate.<init>(ljavax/xml/transform/source;ljavax/xml/namespace/qname;ljava/lang/class;)v (wsservicedelegate.java:230)   @ com.sun.xml.ws.client.wsservicedelegate.<init>(ljava/net/url;ljavax/xml/namespace/qname;ljava/lang/class;)v (wsservicedelegate.java:178)   @ com.sun.xml.ws.spi.providerimpl.createservicedelegate(ljava/net/url;ljavax/xml/namespace/qname;ljava/lang/class;)ljavax/xml/ws/spi/servicedelegate; (providerimpl.java:106)   @ javax.xml.ws.service.<init>(ljava/net/url;ljavax/xml/namespace/qname;)v (service.java:92)   @ com.eservglobal.soaptopupsuite.soaptopupsuite.<init>()v (soaptopupsuite.java:42)   @ telenor.vas.voms.prepaidrecharge.anytopup(ltelenor/vas/voms/vomscommon;lcom/eservglobal/soaptopupsuite/session;ljava/lang/string;ljava/lang/string;ljava/lang/string;)[ljava/lang/string; (prepaidrecharge.java:106)   @ telenor.vas.voms.prepaidrecharge.prepaidrecharge(ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;)[ljava/lang/string; (prepaidrecharge.java:35)   @ telenor.vas.topup.topupws.topup(ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;)ltelenor/vas/topup/paymentresponse; (topupws.java:468)   @ sun.reflect.generatedmethodaccessor69.invoke(ljava/lang/object;[ljava/lang/object;)ljava/lang/object; (unknown source)   @ sun.reflect.delegatingmethodaccessorimpl.invoke(ljava/lang/object;[ljava/lang/object;)ljava/lang/object; (unknown source)   @ java.lang.reflect.method.invoke(ljava/lang/object;[ljava/lang/object;)ljava/lang/object; (unknown source)   @ com.sun.xml.ws.api.server.instanceresolver$1.invoke(lcom/sun/xml/ws/api/message/packet;ljava/lang/reflect/method;[ljava/lang/object;)ljava/lang/object; (instanceresolver.java:246)   @ com.sun.xml.ws.server.invokertube$2.invoke(lcom/sun/xml/ws/api/message/packet;ljava/lang/reflect/method;[ljava/lang/object;)ljava/lang/object; (invokertube.java:146)   @ com.sun.xml.ws.server.sei.endpointmethodhandler.invoke(lcom/sun/xml/ws/api/message/packet;)lcom/sun/xml/ws/api/message/packet; (endpointmethodhandler.java:257)   @ com.sun.xml.ws.server.sei.seiinvokertube.processrequest(lcom/sun/xml/ws/api/message/packet;)lcom/sun/xml/ws/api/pipe/nextaction; (seiinvokertube.java:95)   @ com.sun.xml.ws.api.pipe.fiber.__dorun(lcom/sun/xml/ws/api/pipe/tube;)lcom/sun/xml/ws/api/pipe/tube; (fiber.java:629)   @ com.sun.xml.ws.api.pipe.fiber._dorun(lcom/sun/xml/ws/api/pipe/tube;)lcom/sun/xml/ws/api/pipe/tube; (fiber.java:588)   @ com.sun.xml.ws.api.pipe.fiber.dorun(lcom/sun/xml/ws/api/pipe/tube;)lcom/sun/xml/ws/api/pipe/tube; (fiber.java:573)   @ com.sun.xml.ws.api.pipe.fiber.runsync(lcom/sun/xml/ws/api/pipe/tube;lcom/sun/xml/ws/api/message/packet;)lcom/sun/xml/ws/api/message/packet; (fiber.java:470)   @ com.sun.xml.ws.server.wsendpointimpl$2.process(lcom/sun/xml/ws/api/message/packet;lcom/sun/xml/ws/api/server/webservicecontextdelegate;lcom/sun/xml/ws/api/server/transportbackchannel;)lcom/sun/xml/ws/api/message/packet; (wsendpointimpl.java:295)   @ com.sun.xml.ws.transport.http.httpadapter$httptoolkit.handle(lcom/sun/xml/ws/transport/http/wshttpconnection;)v (httpadapter.java:515)   @ com.sun.xml.ws.transport.http.httpadapter.handle(lcom/sun/xml/ws/transport/http/wshttpconnection;)v (httpadapter.java:285)   @ com.sun.xml.ws.transport.http.servlet.servletadapter.handle(ljavax/servlet/servletcontext;ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)v (servletadapter.java:143)   @ com.sun.xml.ws.transport.http.servlet.wsservletdelegate.doget(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;ljavax/servlet/servletcontext;)v (wsservletdelegate.java:155)   @ com.sun.xml.ws.transport.http.servlet.wsservletdelegate.dopost(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;ljavax/servlet/servletcontext;)v (wsservletdelegate.java:189)   @ com.sun.xml.ws.transport.http.servlet.wsservlet.dopost(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)v (wsservlet.java:76)   @ javax.servlet.http.httpservlet.service(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)v (httpservlet.java:647)   @ javax.servlet.http.httpservlet.service(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v (httpservlet.java:728)   @ org.apache.catalina.core.applicationfilterchain.internaldofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v (applicationfilterchain.java:305)   @ org.apache.catalina.core.applicationfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v (applicationfilterchain.java:210)   @ org.apache.catalina.core.standardwrappervalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardwrappervalve.java:222)   @ org.apache.catalina.core.standardcontextvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardcontextvalve.java:123)   @ org.apache.catalina.authenticator.authenticatorbase.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (authenticatorbase.java:472)   @ org.apache.catalina.core.standardhostvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardhostvalve.java:171)   @ org.apache.catalina.valves.errorreportvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (errorreportvalve.java:99)   @ org.apache.catalina.valves.accesslogvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (accesslogvalve.java:936)   @ org.apache.catalina.core.standardenginevalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v (standardenginevalve.java:118)   @ org.apache.catalina.connector.coyoteadapter.service(lorg/apache/coyote/request;lorg/apache/coyote/response;)v (coyoteadapter.java:407)   @ org.apache.coyote.http11.abstracthttp11processor.process(lorg/apache/tomcat/util/net/socketwrapper;)lorg/apache/tomcat/util/net/abstractendpoint$handler$socketstate; (abstracthttp11processor.java:1004)   @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(lorg/apache/tomcat/util/net/socketwrapper;lorg/apache/tomcat/util/net/socketstatus;)lorg/apache/tomcat/util/net/abstractendpoint$handler$socketstate; (abstractprotocol.java:589)   @ org.apache.tomcat.util.net.aprendpoint$socketprocessor.run()v (aprendpoint.java:1852)   @ java.util.concurrent.threadpoolexecutor.runworker(ljava/util/concurrent/threadpoolexecutor$worker;)v (unknown source)   @ java.util.concurrent.threadpoolexecutor$worker.run()v (unknown source)   @ java.lang.thread.run()v (unknown source) 

i suspect problem occurs because i'm calling webservice.

i using following jvm options minimum memory set 500m , maximum 1500m

-xx:maxpermsize=170m -xx:+cmsclassunloadingenabled -xx:+cmspermgensweepingenabled -xx:+heapdumponoutofmemoryerror -xx:heapdumppath=c:\heaplogs\ 

this sounds similar this bug. if same, catalogmanager holding references every instance of catalogentry ever created. link suggest can reuse same service object you'll have reinitialize each call force catalogmanger give references storing.

another post in thread suggested trying below force catalogmanger give references

-dxml.catalog.staticcatalog=false 

personally i've had luck axis2 consuming soap if above not work.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -