Hello,
How is the screen after login set? I can't seem to control it through regular controller.xml method. I also noticed that the URL for login is modified periodically. Can anyone point me to where to look? Regards, Vinay Agarwal Parts of controller.xml: ------------------------------ <!-- Events run from here for the first hit in a visit --> <firstvisit> <event type="java" path="org.ofbiz.securityext.login.LoginEvents" invoke="autoLoginCheck"/> <event type="java" path="org.ofbiz.marketing.tracking.TrackingCodeEvents" invoke="checkTrackingCodeCookies"/> <event type="java" path="org.ofbiz.product.product.ProductEvents" invoke="setDefaultStoreSettings"/> </firstvisit> <request-map uri="checkLogin" edit="false"> <description>Verify a user is logged in.</description> <security https="true" auth="false"/> <event type="java" path="org.ofbiz.securityext.login.LoginEvents" invoke="storeCheckLogin"/> <response name="success" type="request-redirect" value="my"/> <response name="error" type="view" value="login"/> </request-map> <request-map uri="login"> <security https="true" auth="false"/> <event type="java" path="org.ofbiz.securityext.login.LoginEvents" invoke="storeLogin"/> <response name="success" type="request-redirect" value="my"/> <response name="error" type="view" value="login"/> </request-map> <request-map uri="view"> <security https="false" auth="false"/> <response name="success" type="view" value="main"/> <response name="error" type="view" value="error"/> </request-map> <request-map uri="authview"> <security https="true" auth="true"/> <response name="success" type="request-redirect" value="my"/> <response name="error" type="view" value="error"/> </request-map> <view-map name="login" type="screen" page="component://grayzilla/webapp/grayzilla/screens/CommonScreens.xml#login "/> <view-map name="main" type="screen" page="component://grayzilla/webapp/grayzilla/screens/CommonScreens.xml#main" /> <view-map name="my" type="screen" page="component://grayzilla/webapp/grayzilla/screens/CommonScreens.xml#my"/> The log output starting from the login screen ending up at main: ---------------------------------------------------------------------------- -------- 4894453 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:98 :INFO ] The character encoding of the request is: [null]. The character encoding we will use for the request and response is: [UTF-8] 4894453 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:134:DEBUG] [[[login] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]] 4894453 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:183:DEBUG] [[[login] Setup done, doing Event(s) and View(s)- total:0.0,since last([login] Servlet S...):0.0]] 4894500 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.031s: jndi:/0.0.0.0//WEB-INF/controller.xml 4894500 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:552:INFO ] ConfigMap Created: (5) records in 0.0s 4894500 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:622:INFO ] HandlerMap Created: (2) records in 0.0s 4894516 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:302:INFO ] RequestMap Created: (203) records in 0.016s 4894516 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:411:INFO ] ViewMap Created: (94) records in 0.0s 4894516 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:211:INFO ] [Processing Request]: login 4894547 (http-0.0.0.0-8443-Processor3) [ ServiceDispatcher.java:447:DEBUG] [[Sync service finished- total:0.031,since last(Begin):0.031]] - 'grayzilla / userLogin' 4894563 (http-0.0.0.0-8443-Processor3) [ LoginEvents.java:735:INFO ] No webapp configuration found for : default-server / 4894609 (http-0.0.0.0-8443-Processor3) [ ThirdPartyEvents.java:177:INFO ] No distributor in session or already associated with user 10040 4894625 (http-0.0.0.0-8443-Processor3) [ ShoppingListEvents.java:366:INFO ] Finding existing auto-save shopping list with: findMap: [partyId=10040, productStoreId=Grayzilla, shoppingListTypeId=SLT_SPEC_PURP, listName=auto-save] lists: [[GenericEntity:ShoppingList][carrierPartyId,null()][carrierRoleTypeId,null( )][contactMechId,null()][createdStamp,2006-03-02 15:53:44.0(java.sql.Timestamp)][createdTxStamp,2006-03-02 15:53:44.0(java.sql.Timestamp)][currencyUom,null()][description,null()][isAc tive,Y(java.lang.String)][isPublic,N(java.lang.String)][lastAdminModified,nu ll()][lastOrderedDate,null()][lastUpdatedStamp,2006-03-02 15:53:44.0(java.sql.Timestamp)][lastUpdatedTxStamp,2006-03-02 15:53:44.0(java.sql.Timestamp)][listName,auto-save(java.lang.String)][parent ShoppingListId,null()][partyId,10040(java.lang.String)][paymentMethodId,null ()][productStoreId,Grayzilla(java.lang.String)][recurrenceInfoId,null()][shi pmentMethodTypeId,null()][shoppingListId,10000(java.lang.String)][shoppingLi stTypeId,SLT_SPEC_PURP(java.lang.String)][visitorId,null()]] 4894625 (http-0.0.0.0-8443-Processor3) [ LoginEvents.java:611:INFO ] Running autoLogin check. 4894672 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:328:INFO ] [Doing Previous Request]: /checkLogin/main 4894672 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:128:INFO ] [RequestHandler]: Chain in place: requestUri=checkLogin nextView=main 4894672 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:211:INFO ] [Processing Request]: checkLogin 4894672 (http-0.0.0.0-8443-Processor3) [ LoginEvents.java:735:INFO ] No webapp configuration found for : default-server / 4894672 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:402:INFO ] [RequestHandler.doRequest]: Response is a page [main] 4894672 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:546:INFO ] servletName=control, view=main 4894734 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.062s: file:/C:/ofbiz/hot-deploy/grayzilla/webapp/grayzilla/screens/CommonScreens.x ml 4894734 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:127:INFO ] Got 19 screens in 0.062s from: file:/C:/ofbiz/hot-deploy/grayzilla/webapp/grayzilla/screens/CommonScreens.x ml 4894797 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.016s: file:/C:/ofbiz/applications/ecommerce/widget/CartScreens.xml 4894813 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:127:INFO ] Got 7 screens in 0.016s from: file:/C:/ofbiz/applications/ecommerce/widget/CartScreens.xml 4894844 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.031s: file:/C:/ofbiz/hot-deploy/grayzilla/webapp/grayzilla/screens/Menus.xml 4894875 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.031s: file:/C:/ofbiz/applications/ecommerce/widget/CatalogScreens.xml 4894875 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:127:INFO ] Got 25 screens in 0.031s from: file:/C:/ofbiz/applications/ecommerce/widget/CatalogScreens.xml 4895016 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.094s: file:/C:/ofbiz/applications/ecommerce/widget/ContentScreens.xml 4895031 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:127:INFO ] Got 8 screens in 0.109s from: file:/C:/ofbiz/applications/ecommerce/widget/ContentScreens.xml 4895078 (http-0.0.0.0-8443-Processor3) [ UtilXml.java:242:DEBUG] XML Read 0.047s: file:/C:/ofbiz/applications/ecommerce/widget/ForumScreens.xml 4895094 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:127:INFO ] Got 10 screens in 0.063s from: file:/C:/ofbiz/applications/ecommerce/widget/ForumScreens.xml 4895406 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:258:DEBUG] [[[login] Done rendering page, Servlet Finished- total:0.953,since last([login] Setup don...):0.953]] _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users winmail.dat (20K) Download Attachment |
Free forum by Nabble | Edit this page |