ibm - Out of memory exception on WAS 6.1 and EJB 2.1 -


my application going out of memory , getting internal server error time , after automatically recovered , application running fine.

my application hosted on 6.1 , using struts 1.1 , ejb 2.1. here application server logs error. please me on issue please.

[7/14/15 12:58:06:238 bst] 00000038 httpconnectio e   unable read , handle request: null [7/14/15 12:58:19:793 bst] 00000464 discoveryserv w   dcsv1115w: dcs stack defaultcoregroup @ member gal72050cell\gal72050\fleetmanagement_1: member gal72050cell\gal72050\cid_1 connection  closed. member  removed view. dcs connection status discovery|ptp, transmitter closed. [7/14/15 12:58:19:808 bst] 00000468 ltpaserverobj w   secj0371w: validation of ltpa token failed because token expired following info: token expiration date: tue jul 14 10:53:38 bst 2015, current date: tue jul 14 12:58:19 bst 2015. [7/14/15 12:58:19:816 bst] 00000467 ltpaserverobj w   secj0371w: validation of ltpa token failed because token expired following info: token expiration date: tue jul 14 12:25:18 bst 2015, current date: tue jul 14 12:58:19 bst 2015. [7/14/15 12:58:12:539 bst] 0000043c exceptionutil e   cntr0020e: ejb threw unexpected (non-declared) exception during invocation of method "getworkshop" on bean "beanid(fleetmanagement_fms#vutejb.jar#workshopservice, null)". exception data: <malformed parameter> [7/14/15 12:58:19:780 bst] 00000014 applicationmo w   dcsv0004w: dcs stack defaultcoregroup @ member gal72050cell\gal72050\fleetmanagement_1: did not receive adequate cpu time slice. last known cpu usage time @ 12:53:52:795 bst. inactivity duration 175 seconds.  [7/14/15 12:58:19:189 bst] 00000448 exceptionutil e   cntr0020e: ejb threw unexpected (non-declared) exception during invocation of method "dosearch" on bean "beanid(fleetmanagement_fms#vutejb.jar#atoservice, null)". exception data: <malformed parameter> [7/14/15 12:58:19:189 bst] 0000043b exceptionutil e   cntr0020e: ejb threw unexpected (non-declared) exception during invocation of method "issuesearch" on bean "beanid(fleetmanagement_fms#vutejb.jar#issuemanagementservice, null)". exception data: java.lang.outofmemoryerror     @ com.ford.jlr.pd.im.model.jdbc.oracleissuedao.createissuedto(oracleissuedao.java:718)     @ com.ford.jlr.pd.im.model.jdbc.oracleissuedao.createissuesearchresultdto(oracleissuedao.java:768)     @ com.ford.jlr.pd.im.model.jdbc.oracleissuedao.issuesearch(oracleissuedao.java:506)     @ com.ford.jlr.pd.vut.service.issuemanagementservicebean.issuesearch(issuemanagementservicebean.java:533)     @ com.ford.jlr.pd.vut.service.ejslocalstatelessissuemanagementservice_0f9a1a53.issuesearch(unknown source)     @ com.ford.jlr.pd.im.actions.issuesearchaction.execute(issuesearchaction.java:40)     @ org.apache.struts.action.requestprocessor.processactionperform(requestprocessor.java:484)     @ org.apache.struts.action.requestprocessor.process(requestprocessor.java:274)     @ org.apache.struts.action.actionservlet.process(actionservlet.java:1482)     @ org.apache.struts.action.actionservlet.doget(actionservlet.java:507)     @ javax.servlet.http.httpservlet.service(httpservlet.java:743)     @ javax.servlet.http.httpservlet.service(httpservlet.java:856)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:989)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:930)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:145)     @ com.ford.jlr.tag.crumb.crumbfilter.dofilter(crumbfilter.java:65)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:190)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:130)     @ com.ford.jlr.tag.table.exportfilter.dofilter(exportfilter.java:63)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:190)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:130)     @ com.ford.jlr.tag.table.customizeviewfilter.dofilter(customizeviewfilter.java:73)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:190)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:130)     @ com.ibm.ws.webcontainer.filter.webappfilterchain._dofilter(webappfilterchain.java:87)     @ com.ibm.ws.webcontainer.filter.webappfiltermanager.dofilter(webappfiltermanager.java:766)     @ com.ibm.ws.webcontainer.filter.webappfiltermanager.dofilter(webappfiltermanager.java:674)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.handlerequest(servletwrapper.java:498)     @ com.ibm.ws.wswebcontainer.servlet.servletwrapper.handlerequest(servletwrapper.java:464)     @ com.ibm.ws.webcontainer.servlet.cacheservletwrapper.handlerequest(cacheservletwrapper.java:90)     @ com.ibm.ws.webcontainer.webcontainer.handlerequest(webcontainer.java:744)     @ com.ibm.ws.wswebcontainer.webcontainer.handlerequest(webcontainer.java:1455)     @ com.ibm.ws.webcontainer.channel.wcchannellink.ready(wcchannellink.java:113)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlediscrimination(httpinboundlink.java:454)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlenewinformation(httpinboundlink.java:383)     @ com.ibm.ws.http.channel.inbound.impl.httpiclreadcallback.complete(httpiclreadcallback.java:102)     @ com.ibm.ws.tcp.channel.impl.aioreadcompletionlistener.futurecompleted(aioreadcompletionlistener.java:165)     @ com.ibm.io.async.abstractasyncfuture.invokecallback(abstractasyncfuture.java:217)     @ com.ibm.io.async.asyncchannelfuture.firecompletionactions(asyncchannelfuture.java:161)     @ com.ibm.io.async.asyncfuture.completed(asyncfuture.java:136)     @ com.ibm.io.async.resulthandler.complete(resulthandler.java:195)     @ com.ibm.io.async.resulthandler.runeventprocessingloop(resulthandler.java:743)     @ com.ibm.io.async.resulthandler$2.run(resulthandler.java:873)     @ com.ibm.ws.util.threadpool$worker.run(threadpool.java:1469)  [7/14/15 12:58:10:251 bst] 0000044a exceptionutil e   cntr0020e: ejb threw unexpected (non-declared) exception during invocation of method "getcategoriescollection" on bean "beanid(fleetmanagement_fms#vutejb.jar#vehiclesearchservice, null)". exception data: java.lang.outofmemoryerror     @ java.net.inetaddress.getlocalhost(inetaddress.java:1461)     @ oracle.jdbc.driver.t4cttioauthenticate.setsessionfields(t4cttioauthenticate.java:890)     @ oracle.jdbc.driver.t4cttioauthenticate.<init>(t4cttioauthenticate.java:185)     @ oracle.jdbc.driver.t4cconnection.logon(t4cconnection.java:352)     @ oracle.jdbc.driver.physicalconnection.<init>(physicalconnection.java:439)     @ oracle.jdbc.driver.t4cconnection.<init>(t4cconnection.java:165)     @ oracle.jdbc.driver.t4cdriverextension.getconnection(t4cdriverextension.java:35)     @ oracle.jdbc.driver.oracledriver.connect(oracledriver.java:801)     @ oracle.jdbc.pool.oracledatasource.getphysicalconnection(oracledatasource.java:297)     @ oracle.jdbc.pool.oracledatasource.getconnection(oracledatasource.java:221)     @ oracle.jdbc.pool.oracleconnectionpooldatasource.getphysicalconnection(oracleconnectionpooldatasource.java:157)     @ oracle.jdbc.pool.oracleconnectionpooldatasource.getpooledconnection(oracleconnectionpooldatasource.java:94)     @ com.ibm.ws.rsadapter.spi.internalgenericdatastorehelper$1.run(internalgenericdatastorehelper.java:868)     @ java.security.accesscontroller.doprivileged(accesscontroller.java:246)     @ com.ibm.ws.security.util.accesscontroller.doprivileged(accesscontroller.java:125)     @ com.ibm.ws.rsadapter.spi.internalgenericdatastorehelper.getpooledconnection(internalgenericdatastorehelper.java:863)     @ com.ibm.ws.rsadapter.spi.wsrdbdatasource.getpooledconnection(wsrdbdatasource.java:1185)     @ com.ibm.ws.rsadapter.spi.wsmanagedconnectionfactoryimpl.createmanagedconnection(wsmanagedconnectionfactoryimpl.java:1055)     @ com.ibm.ejs.j2c.freepool.createmanagedconnectionwithmcwrapper(freepool.java:1811)     @ com.ibm.ejs.j2c.freepool.createorwaitforconnection(freepool.java:1543)     @ com.ibm.ejs.j2c.poolmanager.reserve(poolmanager.java:2215)     @ com.ibm.ejs.j2c.connectionmanager.allocatemcwrapper(connectionmanager.java:896)     @ com.ibm.ejs.j2c.connectionmanager.allocateconnection(connectionmanager.java:596)     @ com.ibm.ws.rsadapter.jdbc.wsjdbcdatasource.getconnection(wsjdbcdatasource.java:431)     @ com.ibm.ws.rsadapter.jdbc.wsjdbcdatasource.getconnection(wsjdbcdatasource.java:400)     @ com.ford.jlr.pd.vut.model.jdbchelper.getconnection(jdbchelper.java:83)     @ com.ford.jlr.pd.vut.model.jdbchelper.doselect(jdbchelper.java:304)     @ com.ford.jlr.pd.vut.model.jdbc.oraclevehiclesearchdao.getcategoriescollection(oraclevehiclesearchdao.java:295)     @ com.ford.jlr.pd.vut.service.vehiclesearchservicebean.getcategoriescollection(vehiclesearchservicebean.java:547)     @ com.ford.jlr.pd.vut.service.ejslocalstatelessvehiclesearchservice_0b6828ec.getcategoriescollection(unknown source)     @ com.ford.jlr.pd.fms.data.search.searchdatamanager.getcategories(searchdatamanager.java:51)     @ com.ford.jlr.pd.vut.forms.vehiclesearchform.getallcategories(vehiclesearchform.java:439)     @ com.ford.jlr.pd.vut.actions.search.fleetsearchajaxaction.getcategorieslist(fleetsearchajaxaction.java:148)     @ com.ford.jlr.pd.vut.actions.search.fleetsearchajaxaction.attachchoices(fleetsearchajaxaction.java:72)     @ com.ford.jlr.struts.ajaxdependentlistaction.execute(ajaxdependentlistaction.java:67)     @ org.apache.struts.action.requestprocessor.processactionperform(requestprocessor.java:484)     @ org.apache.struts.action.requestprocessor.process(requestprocessor.java:274)     @ org.apache.struts.action.actionservlet.process(actionservlet.java:1482)     @ org.apache.struts.action.actionservlet.doget(actionservlet.java:507)     @ javax.servlet.http.httpservlet.service(httpservlet.java:743)     @ javax.servlet.http.httpservlet.service(httpservlet.java:856)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:989)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.service(servletwrapper.java:930)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:145)     @ com.ford.jlr.tag.crumb.crumbfilter.dofilter(crumbfilter.java:65)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:190)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:130)     @ com.ford.jlr.tag.table.exportfilter.dofilter(exportfilter.java:63)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:190)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:130)     @ com.ford.jlr.tag.table.customizeviewfilter.dofilter(customizeviewfilter.java:73)     @ com.ibm.ws.webcontainer.filter.filterinstancewrapper.dofilter(filterinstancewrapper.java:190)     @ com.ibm.ws.webcontainer.filter.webappfilterchain.dofilter(webappfilterchain.java:130)     @ com.ibm.ws.webcontainer.filter.webappfilterchain._dofilter(webappfilterchain.java:87)     @ com.ibm.ws.webcontainer.filter.webappfiltermanager.dofilter(webappfiltermanager.java:766)     @ com.ibm.ws.webcontainer.filter.webappfiltermanager.dofilter(webappfiltermanager.java:674)     @ com.ibm.ws.webcontainer.servlet.servletwrapper.handlerequest(servletwrapper.java:498)     @ com.ibm.ws.wswebcontainer.servlet.servletwrapper.handlerequest(servletwrapper.java:464)     @ com.ibm.ws.webcontainer.servlet.cacheservletwrapper.handlerequest(cacheservletwrapper.java:90)     @ com.ibm.ws.webcontainer.webcontainer.handlerequest(webcontainer.java:744)     @ com.ibm.ws.wswebcontainer.webcontainer.handlerequest(webcontainer.java:1455)     @ com.ibm.ws.webcontainer.channel.wcchannellink.ready(wcchannellink.java:113)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlediscrimination(httpinboundlink.java:454)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.handlenewinformation(httpinboundlink.java:383)     @ com.ibm.ws.http.channel.inbound.impl.httpinboundlink.ready(httpinboundlink.java:263)     @ com.ibm.ws.tcp.channel.impl.newconnectioninitialreadcallback.sendtodiscriminators(newconnectioninitialreadcallback.java:214)     @ com.ibm.ws.tcp.channel.impl.newconnectioninitialreadcallback.complete(newconnectioninitialreadcallback.java:113)     @ com.ibm.ws.tcp.channel.impl.aioreadcompletionlistener.futurecompleted(aioreadcompletionlistener.java:165)     @ com.ibm.io.async.abstractasyncfuture.invokecallback(abstractasyncfuture.java:217)     @ com.ibm.io.async.asyncchannelfuture$1.run(asyncchannelfuture.java:205)     @ com.ibm.ws.util.threadpool$worker.run(threadpool.java:1469) 

java.lang.outofmemoryerror suggests run out of memory in application server. quick workaround can increase max heap size in application server, in general should enable verbose gc , generate heap dumps. analyze dump looking memory leaks , learning taking space in heap.

you can use tools ibm support assistant (available free) :

  • garbage collection , memory visualizer
  • ibm heapanalyzer

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -