[ http://issues.apache.org/jira/browse/OFBIZ-407?page=comments#action_12445109 ] Jacopo Cappellato commented on OFBIZ-407: -----------------------------------------
Ashish, I don't know how to set it in Eclipse, however these are the JVM parameters that you can use to set the memory settings: -Xms256M -Xmx512M What database are you using? > Facility --> Inventory --> Inventory Item link also returs error for more > then 10,000 products > ---------------------------------------------------------------------------------------------- > > Key: OFBIZ-407 > URL: http://issues.apache.org/jira/browse/OFBIZ-407 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Environment: Linux(CentOS) > Reporter: Ashish Vijaywargiya > Assigned To: Jacopo Cappellato > Attachments: Heap_Memory.png, Inventory_Item.png > > > Hi, > Facility --> Inventory --> Inventory Item link also returs error for more > then 10,000 products. > The error is related to Java Heap memory. > The console message is : > 2006-10-26 11:01:36,025 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:85 :INFO ] The character encoding of the request is: > [null]. The character encoding we will use for the request and response is: > [UTF-8] > 2006-10-26 11:01:36,042 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:121:DEBUG] [[[EditFacilityInventoryItems] Servlet > Starting, doing setup- total:0.0,since last(Begin):0.0]] > 2006-10-26 11:01:36,043 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:170:DEBUG] [[[EditFacilityInventoryItems] Setup done, > doing Event(s) and View(s)- total:0.0,since last([EditFacilityInve...):0.0]] > 2006-10-26 11:01:36,191 (http-0.0.0.0-8443-Processor3) [ > UtilXml.java:252:DEBUG] XML Read 0.128s: > jndi:/0.0.0.0/facility/WEB-INF/controller.xml > 2006-10-26 11:01:36,203 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:539:INFO ] ConfigMap Created: (4) records in 0.011s > 2006-10-26 11:01:36,204 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:609:INFO ] HandlerMap Created: (2) records in 0.0s > 2006-10-26 11:01:36,232 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:289:INFO ] RequestMap Created: (156) records in 0.027s > 2006-10-26 11:01:36,236 (http-0.0.0.0-8443-Processor3) [ > ConfigXMLReader.java:398:INFO ] ViewMap Created: (55) records in 0.0030s > 2006-10-26 11:01:36,237 (http-0.0.0.0-8443-Processor3) [ > RequestHandler.java:197:INFO ] [Processing Request]: > EditFacilityInventoryItems > 2006-10-26 11:01:36,250 (http-0.0.0.0-8443-Processor3) [ > RequestManager.java:110:INFO ] [RequestManager.getRequestAttribute] Value for > attribute "null" of uri "EditFacilityInventoryItems" not found > 2006-10-26 11:01:36,251 (http-0.0.0.0-8443-Processor3) [ > RequestHandler.java:385:INFO ] [RequestHandler.doRequest]: Response is a view. > 2006-10-26 11:01:36,266 (http-0.0.0.0-8443-Processor3) [ > RequestHandler.java:537:INFO ] servletName=control, > view=EditFacilityInventoryItems > 2006-10-26 11:01:36,423 (http-0.0.0.0-8443-Processor3) [ > UtilXml.java:252:DEBUG] XML Read 0.143s: > file:/ashish/ExpressOrder_Ofbiz/fleet_workspace/ofbiz/applications/product/widget/facility/FacilityScreens.xml > 2006-10-26 11:01:36,442 (http-0.0.0.0-8443-Processor3) [ > ScreenFactory.java:115:INFO ] Got 30 screens in 0.175s from: > file:/ashish/ExpressOrder_Ofbiz/fleet_workspace/ofbiz/applications/product/widget/facility/FacilityScreens.xml > 2006-10-26 11:01:36,746 (http-0.0.0.0-8443-Processor3) [ > GenericDAO.java:769:DEBUG] Ran query in 271 milli-seconds: SELECT > INVENTORY_ITEM_ID, INVENTORY_ITEM_TYPE_ID, PRODUCT_ID, PARTY_ID, > OWNER_PARTY_ID, STATUS_ID, DATETIME_RECEIVED, EXPIRE_DATE, FACILITY_ID, > CONTAINER_ID, LOT_ID, UOM_ID, BIN_NUMBER, LOCATION_SEQ_ID, COMMENTS, > QUANTITY_ON_HAND_TOTAL, AVAILABLE_TO_PROMISE_TOTAL, QUANTITY_ON_HAND, > AVAILABLE_TO_PROMISE, SERIAL_NUMBER, UNIT_COST, CURRENCY_UOM_ID, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP > FROM INVENTORY_ITEM WHERE (FACILITY_ID = ?) ORDER BY STATUS_ID ASC, > QUANTITY_ON_HAND_TOTAL ASC, SERIAL_NUMBER ASC > java.lang.OutOfMemoryError: Java heap space > 2006-10-26 11:01:43,000 (Finalizer) [ EntityListIterator.java:486:ERROR] > ==================================================================== > EntityListIterator Not Closed for Entity [InventoryItem], caught in Finalize > ==================================================================== > 2006-10-26 11:01:43,001 (http-0.0.0.0-8443-Processor3) [ > BshUtil.java:171:WARN ] > ---- exception report > ---------------------------------------------------------- > WARNING: no cause (from getCause) found for BSH EvalError: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > Exception: bsh.TargetError > Message: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd > ---- stack trace > --------------------------------------------------------------- > Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:77) > bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69) > bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:85) > bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:64) > bsh.Interpreter.evalParsedScript(Interpreter.java:1104) > org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:155) > org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:383) > org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:113) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:235) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- > 2006-10-26 11:01:43,008 (http-0.0.0.0-8443-Processor3) [ > ModelScreen.java:145:ERROR] Error rendering screen > [component://product/widget/facility/FacilityScreens.xml#EditFacilityInventoryItems]: > org.ofbiz.base.util.GeneralException: Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) (Error > running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd)). > Rolling back transaction. > 2006-10-26 11:01:43,009 (http-0.0.0.0-8443-Processor3) [ > TransactionUtil.java:238:ERROR] > ---- exception report > ---------------------------------------------------------- > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack Trace > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception: Stack Trace > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:237) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:219) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:148) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- > 2006-10-26 11:01:43,011 (http-0.0.0.0-8443-Processor3) [ > TransactionUtil.java:248:INFO ] [TransactionUtil.rollback] transaction rolled > back > 2006-10-26 11:01:43,011 (http-0.0.0.0-8443-Processor3) [ > TransactionUtil.java:186:INFO ] [TransactionUtil.commit] Not committing > transaction, status is STATUS_NO_TRANSACTION > 2006-10-26 11:01:43,017 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:181:ERROR] > ---- exception report > ---------------------------------------------------------- > Error in request handler: > Exception: org.ofbiz.base.util.GeneralException > Message: Error rendering screen > [component://product/widget/facility/FacilityScreens.xml#EditFacilityInventoryItems]: > org.ofbiz.base.util.GeneralException: Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) (Error > running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd)) > (Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) (Error > running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd))) > ---- stack trace > --------------------------------------------------------------- > org.ofbiz.base.util.GeneralException: Error rendering screen > [component://product/widget/facility/FacilityScreens.xml#EditFacilityInventoryItems]: > org.ofbiz.base.util.GeneralException: Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) (Error > running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd)) > (Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) (Error > running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd))) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:156) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > org.ofbiz.base.util.GeneralException: Error running BSH script at location > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) (Error > running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd)) > org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:387) > org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:113) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:235) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > org.ofbiz.base.util.GeneralException: Error running BSH script at > [component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh], > line [39]: Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > (Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd) > org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:179) > org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:383) > org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:113) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:235) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > Sourced file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : Typed variable declaration : Method Invocation delegator.findByAnd : at > Line: 39 : in file: > component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityInventoryItems.bsh > : delegator .findByAnd ( "InventoryItem" , findParams , UtilMisc .toList ( > "statusId" , "quantityOnHandTotal" , "serialNumber" ) ) > Target exception: java.lang.OutOfMemoryError: Java heap space > bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:77) > bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69) > bsh.BSHVariableDeclarator.eval(BSHVariableDeclarator.java:85) > bsh.BSHTypedVariableDeclaration.eval(BSHTypedVariableDeclaration.java:64) > bsh.Interpreter.evalParsedScript(Interpreter.java:1104) > org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:155) > org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:383) > org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:113) > org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:235) > org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) > org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > javax.servlet.http.HttpServlet.service(HttpServlet.java:595) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) > -------------------------------------------------------------------------------- > 2006-10-26 11:01:43,019 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:195:ERROR] An error occurred, going to the errorPage: > /error/error.jsp > 2006-10-26 11:01:43,020 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:202:ERROR] Including errorPage: /error/error.jsp > 2006-10-26 11:01:43,131 (http-0.0.0.0-8443-Processor3) [ > ControlServlet.java:245:DEBUG] [[[EditFacilityInventoryItems] Done rendering > page, Servlet Finished- total:7.088,since last([EditFacilityInve...):7.088]] > Can anybody of you please take a look at this ?? > Regards > Ashish Vijaywargiya -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
