Hello All,
I am calling a request on the browser which is like this in my controller : <request-map uri="main"> <security https="false" auth="false"/> <response name="success" type="view" value="main"/> </request-map> not transferring this to the secured port but still its being called two times i.e. the doRequest method of RequestHandler.java is being called two times and giving me error for "track visit" because second times its having request uri as [null - field] which is causing the problem. I am tracing the code. Any early help would be highly appreciated. -- Thanks & Regards Chirag Manocha |
use the
framework\example\webapp\example\WEB-INF controller as an example. Chirag Manocha sent the following on 8/22/2008 3:50 AM: > Hello All, > I am calling a request on the browser which is like this in my controller : > > <request-map uri="main"> > <security https="false" auth="false"/> > <response name="success" type="view" value="main"/> > </request-map> > > not transferring this to the secured port but still its being called two > times i.e. the doRequest method of RequestHandler.java is being called two > times and giving me error for "track visit" because second times its having > request uri as [null - field] which is causing the problem. > > I am tracing the code. Any early help would be highly appreciated. > |
also
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Documentation+Index the first two would help you a lot BJ Freeman sent the following on 8/22/2008 4:23 AM: > use the > framework\example\webapp\example\WEB-INF > controller as an example. > > Chirag Manocha sent the following on 8/22/2008 3:50 AM: >> Hello All, >> I am calling a request on the browser which is like this in my controller : >> >> <request-map uri="main"> >> <security https="false" auth="false"/> >> <response name="success" type="view" value="main"/> >> </request-map> >> >> not transferring this to the secured port but still its being called two >> times i.e. the doRequest method of RequestHandler.java is being called two >> times and giving me error for "track visit" because second times its having >> request uri as [null - field] which is causing the problem. >> >> I am tracing the code. Any early help would be highly appreciated. >> > > > > |
In reply to this post by BJ Freeman
Thanks BJ for your quick reply.
But my problem is that when we call the request for ecommerce application, so the request is handled properly, but in my case for my custom ecommerce application, when i am accessing this request from ecommerce controller only, its giving me this error and executing the request two times. Following is the stack trace for refernce 2008-08-22 17:08:34,360 (http-0.0.0.0-8443-1) [ ControlServlet.java:93 :INFO ] The character encoding of the request is: [null]. The character encoding we will use for the request and response is: [UTF-8] 2008-08-22 17:08:34,361 (http-0.0.0.0-8443-1) [ ControlServlet.java:131:INFO ] [[[main] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]] 2008-08-22 17:08:34,368 (http-0.0.0.0-8443-1) [ ControlServlet.java:190:INFO ] [[[main] Setup done, doing Event(s) and View(s)- total:0.0060,since last([main] Servlet St...):0.0060]] ==========doRequest Called================ 2008-08-22 17:08:34,575 (http-0.0.0.0-8443-1) [ RequestHandler.java:239:INFO ] [Processing Request]: main sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 2008-08-22 17:08:34,584 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.0080s: jndi:/ 0.0.0.0/myEcom/WEB-INF/controller.xml 2008-08-22 17:08:34,618 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.033s: file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml 2008-08-22 17:08:34,622 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:640:INFO ] ConfigMap Created: (5) records in 0.037s 2008-08-22 17:08:34,622 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:640:INFO ] ConfigMap Created: (5) records in 0.037s 2008-08-22 17:08:34,653 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.03s: file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml 2008-08-22 17:08:34,656 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:783:INFO ] HandlerMap Created: (5) view handlers and (10) request/event handlers in 0.033s 2008-08-22 17:08:34,656 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:783:INFO ] HandlerMap Created: (6) view handlers and (10) request/event handlers in 0.033s 2008-08-22 17:08:34,700 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.043s: file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml 2008-08-22 17:08:34,713 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:396:INFO ] RequestMap Created: (267) records in 0.055s 2008-08-22 17:08:34,714 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:396:INFO ] RequestMap Created: (277) records in 0.057s 2008-08-22 17:08:34,742 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.028s: file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml 2008-08-22 17:08:34,745 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:484:INFO ] ViewMap Created: (92) records in 0.031s 2008-08-22 17:08:34,745 (http-0.0.0.0-8443-1) [ ConfigXMLReader.java:484:INFO ] ViewMap Created: (97) records in 0.031s 2008-08-22 17:08:34,772 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.026s: file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml 2008-08-22 17:08:34,774 (http-0.0.0.0-8443-1) [ RequestHandler.java:424:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 2008-08-22 17:08:34,775 (http-0.0.0.0-8443-1) [ RequestHandler.java:574:INFO ] servletName=control, view=main sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 2008-08-22 17:08:34,783 (http-0.0.0.0-8443-1) [ UtilJ2eeCompat.java:69 :INFO ] serverInfo: apache tomcat/6.0.16 2008-08-22 17:08:34,796 (http-0.0.0.0-8443-1) [ UtilJ2eeCompat.java:78 :INFO ] Apache Tomcat detected, using response.getWriter to write text out instead of response.getOutputStream 2008-08-22 17:08:34,896 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.02s: file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CommonScreens.xml 2008-08-22 17:08:34,936 (http-0.0.0.0-8443-1) [ ScreenFactory.java:128:INFO ] Got 8 screens in 0.06s from: file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CommonScreens.xml 2008-08-22 17:08:36,546 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.079s: XML Properties file 2008-08-22 17:08:36,604 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.033s: XML Properties file 2008-08-22 17:08:36,648 (http-0.0.0.0-8443-1) [ UtilProperties.java:549:INFO ] Loaded 567 properties for: CommonUiLabels (en) 2008-08-22 17:08:36,689 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.031s: XML Properties file 2008-08-22 17:08:36,718 (http-0.0.0.0-8443-1) [ UtilProperties.java:866:INFO ] ResourceBundle CommonUiLabels (en_US) created in 264.0 mS 2008-08-22 17:08:36,774 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.042s: XML Properties file 2008-08-22 17:08:36,868 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.068s: XML Properties file 2008-08-22 17:08:36,877 (http-0.0.0.0-8443-1) [ UtilProperties.java:549:INFO ] Loaded 747 properties for: PartyUiLabels (en) 2008-08-22 17:08:36,939 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.049s: XML Properties file 2008-08-22 17:08:36,957 (http-0.0.0.0-8443-1) [ UtilProperties.java:866:INFO ] ResourceBundle PartyUiLabels (en_US) created in 233.0 mS 2008-08-22 17:08:37,069 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.103s: XML Properties file 2008-08-22 17:08:37,288 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.141s: XML Properties file 2008-08-22 17:08:37,307 (http-0.0.0.0-8443-1) [ UtilProperties.java:549:INFO ] Loaded 2064 properties for: ProductUiLabels (en) 2008-08-22 17:08:37,476 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.109s: XML Properties file 2008-08-22 17:08:37,561 (http-0.0.0.0-8443-1) [ UtilProperties.java:866:INFO ] ResourceBundle ProductUiLabels (en_US) created in 601.0 mS 2008-08-22 17:08:37,703 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.132s: XML Properties file 2008-08-22 17:08:38,197 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.468s: XML Properties file 2008-08-22 17:08:38,207 (http-0.0.0.0-8443-1) [ UtilProperties.java:549:INFO ] Loaded 943 properties for: OrderUiLabels (en) 2008-08-22 17:08:38,283 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.066s: XML Properties file 2008-08-22 17:08:38,305 (http-0.0.0.0-8443-1) [ UtilProperties.java:866:INFO ] ResourceBundle OrderUiLabels (en_US) created in 741.0 mS 2008-08-22 17:08:38,407 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.065s: XML Properties file 2008-08-22 17:08:38,476 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.045s: XML Properties file 2008-08-22 17:08:38,488 (http-0.0.0.0-8443-1) [ UtilProperties.java:549:INFO ] Loaded 648 properties for: EcommerceUiLabels (en) 2008-08-22 17:08:38,552 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.051s: XML Properties file 2008-08-22 17:08:38,576 (http-0.0.0.0-8443-1) [ UtilProperties.java:866:INFO ] ResourceBundle EcommerceUiLabels (en_US) created in 269.0 mS 2008-08-22 17:08:38,586 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.0020s: XML Properties file 2008-08-22 17:08:38,596 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.0010s: XML Properties file 2008-08-22 17:08:38,597 (http-0.0.0.0-8443-1) [ UtilProperties.java:549:INFO ] Loaded 3 properties for: myEcomUiLabels (en) 2008-08-22 17:08:38,625 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.0020s: XML Properties file 2008-08-22 17:08:38,625 (http-0.0.0.0-8443-1) [ UtilProperties.java:866:INFO ] ResourceBundle myEcomUiLabels (en_US) created in 47.0 mS 2008-08-22 17:08:38,974 (http-0.0.0.0-8443-1) [ ModelScreenWidget.java:523:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [main-decorator] 2008-08-22 17:08:39,008 (http-0.0.0.0-8443-1) [ UtilXml.java:241:INFO ] XML Read 0.024s: file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CatalogScreens.xml 2008-08-22 17:08:39,034 (http-0.0.0.0-8443-1) [ ScreenFactory.java:128:INFO ] Got 11 screens in 0.051s from: file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CatalogScreens.xml 2008-08-22 17:08:39,975 (http-0.0.0.0-8443-1) [ ControlServlet.java:299:INFO ] [[[main] Done rendering page, Servlet Finished- total:5.613,since last([main] Setup done...):5.607]] 2008-08-22 17:08:40,622 (http-0.0.0.0-8443-3) [ ControlServlet.java:93 :INFO ] The character encoding of the request is: [null]. The character encoding we will use for the request and response is: [UTF-8] 2008-08-22 17:08:40,622 (http-0.0.0.0-8443-3) [ ControlServlet.java:131:INFO ] [[[[null-field]] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]] 2008-08-22 17:08:40,623 (http-0.0.0.0-8443-3) [ ControlServlet.java:190:INFO ] [[[[null-field]] Setup done, doing Event(s) and View(s)- total:0.0,since last([[null-field]] Se...):0.0]] ==========doRequest Called================ 2008-08-22 17:08:40,624 (http-0.0.0.0-8443-3) [ RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value for attribute "track-visit" of uri "[null-field]" not found 2008-08-22 17:08:40,625 (http-0.0.0.0-8443-3) [ RequestHandler.java:239:INFO ] [Processing Request]: cms sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 2008-08-22 17:08:40,630 (http-0.0.0.0-8443-3) [ CmsEvents.java:130:INFO ] Path INFO for Alias: [null-field] 2008-08-22 17:08:40,772 (http-0.0.0.0-8443-3) [ RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value for attribute "track-serverhit" of uri "[null-field]" not found 2008-08-22 17:08:40,777 (http-0.0.0.0-8443-3) [ RequestHandler.java:424:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 2008-08-22 17:08:40,778 (http-0.0.0.0-8443-3) [ RequestHandler.java:574:INFO ] servletName=control, view=error sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 2008-08-22 17:08:40,899 (http-0.0.0.0-8443-3) [ RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value for attribute "track-serverhit" of uri "[null-field]" not found 2008-08-22 17:08:40,900 (http-0.0.0.0-8443-3) [ RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value for attribute "track-serverhit" of uri "[null-field]" not found 2008-08-22 17:08:40,914 (http-0.0.0.0-8443-3) [ ControlServlet.java:299:INFO ] [[[[null-field]] Done rendering page, Servlet Finished- total:0.291,since last([[null-field]] Se...):0.291]] -- Thanks & Regards Chirag Manocha |
well I gave you an answer that would solve you problems
hope you find it. Chirag Manocha sent the following on 8/22/2008 4:52 AM: > Thanks BJ for your quick reply. > > But my problem is that when we call the request for ecommerce application, > so the request is handled properly, > but in my case for my custom ecommerce application, when i am accessing this > request from ecommerce controller only, its giving me this error and > executing the request two times. > > Following is the stack trace for refernce > 2008-08-22 17:08:34,360 (http-0.0.0.0-8443-1) [ ControlServlet.java:93 > :INFO ] The character encoding of the request is: [null]. The character > encoding we will use for the request and response is: [UTF-8] > 2008-08-22 17:08:34,361 (http-0.0.0.0-8443-1) [ > ControlServlet.java:131:INFO ] [[[main] Servlet Starting, doing setup- > total:0.0,since last(Begin):0.0]] > 2008-08-22 17:08:34,368 (http-0.0.0.0-8443-1) [ > ControlServlet.java:190:INFO ] [[[main] Setup done, doing Event(s) and > View(s)- total:0.0060,since last([main] Servlet St...):0.0060]] > ==========doRequest Called================ > 2008-08-22 17:08:34,575 (http-0.0.0.0-8443-1) [ > RequestHandler.java:239:INFO ] [Processing Request]: main > sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 > 2008-08-22 17:08:34,584 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.0080s: jndi:/ > 0.0.0.0/myEcom/WEB-INF/controller.xml > 2008-08-22 17:08:34,618 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.033s: > file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml > 2008-08-22 17:08:34,622 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:640:INFO ] ConfigMap Created: (5) records in 0.037s > 2008-08-22 17:08:34,622 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:640:INFO ] ConfigMap Created: (5) records in 0.037s > 2008-08-22 17:08:34,653 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.03s: > file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml > 2008-08-22 17:08:34,656 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:783:INFO ] HandlerMap Created: (5) view handlers and > (10) request/event handlers in 0.033s > 2008-08-22 17:08:34,656 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:783:INFO ] HandlerMap Created: (6) view handlers and > (10) request/event handlers in 0.033s > 2008-08-22 17:08:34,700 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.043s: > file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml > 2008-08-22 17:08:34,713 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:396:INFO ] RequestMap Created: (267) records in 0.055s > 2008-08-22 17:08:34,714 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:396:INFO ] RequestMap Created: (277) records in 0.057s > 2008-08-22 17:08:34,742 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.028s: > file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml > 2008-08-22 17:08:34,745 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:484:INFO ] ViewMap Created: (92) records in 0.031s > 2008-08-22 17:08:34,745 (http-0.0.0.0-8443-1) [ > ConfigXMLReader.java:484:INFO ] ViewMap Created: (97) records in 0.031s > 2008-08-22 17:08:34,772 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.026s: > file:/home/chirag/ofbiz_dev/myEcom/applications/ecommerce/webapp/ecommerce/WEB-INF/controller.xml > 2008-08-22 17:08:34,774 (http-0.0.0.0-8443-1) [ > RequestHandler.java:424:INFO ] [RequestHandler.doRequest]: Response is a > view. sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 > 2008-08-22 17:08:34,775 (http-0.0.0.0-8443-1) [ > RequestHandler.java:574:INFO ] servletName=control, view=main > sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 > 2008-08-22 17:08:34,783 (http-0.0.0.0-8443-1) [ UtilJ2eeCompat.java:69 > :INFO ] serverInfo: apache tomcat/6.0.16 > 2008-08-22 17:08:34,796 (http-0.0.0.0-8443-1) [ UtilJ2eeCompat.java:78 > :INFO ] Apache Tomcat detected, using response.getWriter to write text out > instead of response.getOutputStream > 2008-08-22 17:08:34,896 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.02s: > file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CommonScreens.xml > 2008-08-22 17:08:34,936 (http-0.0.0.0-8443-1) [ > ScreenFactory.java:128:INFO ] Got 8 screens in 0.06s from: > file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CommonScreens.xml > 2008-08-22 17:08:36,546 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.079s: XML Properties file > 2008-08-22 17:08:36,604 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.033s: XML Properties file > 2008-08-22 17:08:36,648 (http-0.0.0.0-8443-1) [ > UtilProperties.java:549:INFO ] Loaded 567 properties for: CommonUiLabels > (en) > 2008-08-22 17:08:36,689 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.031s: XML Properties file > 2008-08-22 17:08:36,718 (http-0.0.0.0-8443-1) [ > UtilProperties.java:866:INFO ] ResourceBundle CommonUiLabels (en_US) created > in 264.0 mS > 2008-08-22 17:08:36,774 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.042s: XML Properties file > 2008-08-22 17:08:36,868 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.068s: XML Properties file > 2008-08-22 17:08:36,877 (http-0.0.0.0-8443-1) [ > UtilProperties.java:549:INFO ] Loaded 747 properties for: PartyUiLabels (en) > 2008-08-22 17:08:36,939 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.049s: XML Properties file > 2008-08-22 17:08:36,957 (http-0.0.0.0-8443-1) [ > UtilProperties.java:866:INFO ] ResourceBundle PartyUiLabels (en_US) created > in 233.0 mS > 2008-08-22 17:08:37,069 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.103s: XML Properties file > 2008-08-22 17:08:37,288 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.141s: XML Properties file > 2008-08-22 17:08:37,307 (http-0.0.0.0-8443-1) [ > UtilProperties.java:549:INFO ] Loaded 2064 properties for: ProductUiLabels > (en) > 2008-08-22 17:08:37,476 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.109s: XML Properties file > 2008-08-22 17:08:37,561 (http-0.0.0.0-8443-1) [ > UtilProperties.java:866:INFO ] ResourceBundle ProductUiLabels (en_US) > created in 601.0 mS > 2008-08-22 17:08:37,703 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.132s: XML Properties file > 2008-08-22 17:08:38,197 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.468s: XML Properties file > 2008-08-22 17:08:38,207 (http-0.0.0.0-8443-1) [ > UtilProperties.java:549:INFO ] Loaded 943 properties for: OrderUiLabels (en) > 2008-08-22 17:08:38,283 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.066s: XML Properties file > 2008-08-22 17:08:38,305 (http-0.0.0.0-8443-1) [ > UtilProperties.java:866:INFO ] ResourceBundle OrderUiLabels (en_US) created > in 741.0 mS > 2008-08-22 17:08:38,407 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.065s: XML Properties file > 2008-08-22 17:08:38,476 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.045s: XML Properties file > 2008-08-22 17:08:38,488 (http-0.0.0.0-8443-1) [ > UtilProperties.java:549:INFO ] Loaded 648 properties for: EcommerceUiLabels > (en) > 2008-08-22 17:08:38,552 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.051s: XML Properties file > 2008-08-22 17:08:38,576 (http-0.0.0.0-8443-1) [ > UtilProperties.java:866:INFO ] ResourceBundle EcommerceUiLabels (en_US) > created in 269.0 mS > 2008-08-22 17:08:38,586 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.0020s: XML Properties file > 2008-08-22 17:08:38,596 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.0010s: XML Properties file > 2008-08-22 17:08:38,597 (http-0.0.0.0-8443-1) [ > UtilProperties.java:549:INFO ] Loaded 3 properties for: myEcomUiLabels (en) > 2008-08-22 17:08:38,625 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.0020s: XML Properties file > 2008-08-22 17:08:38,625 (http-0.0.0.0-8443-1) [ > UtilProperties.java:866:INFO ] ResourceBundle myEcomUiLabels (en_US) created > in 47.0 mS > 2008-08-22 17:08:38,974 (http-0.0.0.0-8443-1) [ > ModelScreenWidget.java:523:INFO ] In the include-screen tag the screen name > was empty, ignoring include; in screen [main-decorator] > 2008-08-22 17:08:39,008 (http-0.0.0.0-8443-1) [ > UtilXml.java:241:INFO ] XML Read 0.024s: > file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CatalogScreens.xml > 2008-08-22 17:08:39,034 (http-0.0.0.0-8443-1) [ > ScreenFactory.java:128:INFO ] Got 11 screens in 0.051s from: > file:/home/chirag/ofbiz_dev/myEcom/hot-deploy/myEcom/widget/CatalogScreens.xml > 2008-08-22 17:08:39,975 (http-0.0.0.0-8443-1) [ > ControlServlet.java:299:INFO ] [[[main] Done rendering page, Servlet > Finished- total:5.613,since last([main] Setup done...):5.607]] > 2008-08-22 17:08:40,622 (http-0.0.0.0-8443-3) [ ControlServlet.java:93 > :INFO ] The character encoding of the request is: [null]. The character > encoding we will use for the request and response is: [UTF-8] > 2008-08-22 17:08:40,622 (http-0.0.0.0-8443-3) [ > ControlServlet.java:131:INFO ] [[[[null-field]] Servlet Starting, doing > setup- total:0.0,since last(Begin):0.0]] > 2008-08-22 17:08:40,623 (http-0.0.0.0-8443-3) [ > ControlServlet.java:190:INFO ] [[[[null-field]] Setup done, doing Event(s) > and View(s)- total:0.0,since last([[null-field]] Se...):0.0]] > ==========doRequest Called================ > 2008-08-22 17:08:40,624 (http-0.0.0.0-8443-3) [ > RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value > for attribute "track-visit" of uri "[null-field]" not found > 2008-08-22 17:08:40,625 (http-0.0.0.0-8443-3) [ > RequestHandler.java:239:INFO ] [Processing Request]: cms > sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 > 2008-08-22 17:08:40,630 (http-0.0.0.0-8443-3) [ > CmsEvents.java:130:INFO ] Path INFO for Alias: [null-field] > 2008-08-22 17:08:40,772 (http-0.0.0.0-8443-3) [ > RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value > for attribute "track-serverhit" of uri "[null-field]" not found > 2008-08-22 17:08:40,777 (http-0.0.0.0-8443-3) [ > RequestHandler.java:424:INFO ] [RequestHandler.doRequest]: Response is a > view. sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 > 2008-08-22 17:08:40,778 (http-0.0.0.0-8443-3) [ > RequestHandler.java:574:INFO ] servletName=control, view=error > sessionId=FF13A9DA3976C79FAF25E3D3BC1D4CBC.jvm1 > 2008-08-22 17:08:40,899 (http-0.0.0.0-8443-3) [ > RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value > for attribute "track-serverhit" of uri "[null-field]" not found > 2008-08-22 17:08:40,900 (http-0.0.0.0-8443-3) [ > RequestManager.java:126:INFO ] [RequestManager.getRequestAttribute] Value > for attribute "track-serverhit" of uri "[null-field]" not found > 2008-08-22 17:08:40,914 (http-0.0.0.0-8443-3) [ > ControlServlet.java:299:INFO ] [[[[null-field]] Done rendering page, Servlet > Finished- total:0.291,since last([[null-field]] Se...):0.291]] > > |
BJ, Thanks for your reply and it would be great if you will spend some time
in reading the contents now and onwards and then will put your comments would be helpful -- Thanks & Regards Chirag Manocha |
I read the contents and compared them to the subject
i see that based on that you don't have a grasp on how ofbiz works. so I directed you to examples and documentation that will help you understand ofbiz so you can find these errors. Chirag Manocha sent the following on 8/22/2008 5:37 AM: > BJ, Thanks for your reply and it would be great if you will spend some time > in reading the contents now and onwards and then will put your comments > would be helpful > |
Thanks BJ you are so quick on list but IMO this should not be the way to
answer user queries. But I think its a valuable question. Thats correct when a request is having https="true" then RequestHandler.doRequest is called 2 times and the problem looks like when chirag is calling a request which is having https="false", He is getting null uri after it got executed once. BJ, Instead of making each thread dirty we should try to do clean JOB. We shouldn't forget one thing that the user list is meant for user queries and one more thing is there after reading all those big documents there may be small things which could be missed during development. We should try to help users. -- Alex On Fri, Aug 22, 2008 at 6:21 PM, BJ Freeman <[hidden email]> wrote: > I read the contents and compared them to the subject > i see that based on that you don't have a grasp on how ofbiz works. > so I directed you to examples and documentation that will help you > understand ofbiz so you can find these errors. > > > Chirag Manocha sent the following on 8/22/2008 5:37 AM: > > BJ, Thanks for your reply and it would be great if you will spend some > time > > in reading the contents now and onwards and then will put your comments > > would be helpful > > > > -- Regards Alex D. Fleming |
Guess it time for me to back out.
Alex D. Fleming sent the following on 8/22/2008 6:30 AM: > Thanks BJ you are so quick on list but IMO this should not be the way to > answer user queries. > But I think its a valuable question. Thats correct when a request is having > https="true" then RequestHandler.doRequest is called 2 times and the problem > looks like when chirag is calling a request which is having https="false", > He is getting null uri after it got executed once. > > BJ, Instead of making each thread dirty we should try to do clean JOB. > We shouldn't forget one thing that the user list is meant for user queries > and one more thing is there after reading all those big documents there may > be small things which could be missed during development. > We should try to help users. > > -- > Alex > > On Fri, Aug 22, 2008 at 6:21 PM, BJ Freeman <[hidden email]> wrote: > >> I read the contents and compared them to the subject >> i see that based on that you don't have a grasp on how ofbiz works. >> so I directed you to examples and documentation that will help you >> understand ofbiz so you can find these errors. >> >> >> Chirag Manocha sent the following on 8/22/2008 5:37 AM: >>> BJ, Thanks for your reply and it would be great if you will spend some >> time >>> in reading the contents now and onwards and then will put your comments >>> would be helpful >>> >> > > |
Free forum by Nabble | Edit this page |