are you saying that the response view is not being called?
Chirag Manocha sent the following on 8/22/2008 8:22 AM:
> Hello all,
> I am calling a request from my browser with unsecured port and the request
> is having both https="false" and auth="false"
> But it is calling (ReuestHandler.doRequest) two times just same like
> https="true" and getting null uri after it getting executed once.
> I might missed to add something in web.xml. I am confused thats why asking
> the question.
> Please help.
>
> The request in controller is :
> <request-map uri="main">
> <security https="false" auth="false"/>
> <response name="success" type="view" value="main"/>
> </request-map>
>
>
> Following is the stack trace for reference
> 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]]
>