Steven's profile永远的第一天PhotosBlogLists Tools Help
Xanga Counter
Mr.
Steven Wang

Steven Wang

Occupation
Location
Photo 1 of 2
January 06

2007年开年大作

到2007年啦,新的一年新的希望。2006年真的发生了太多太多的事情了,不知道2007年会是如何呢?
 
July 05

request,session属性一览

NO. Attribute Name Scope Object Type Default Value
1 WebKeys.COMPANY_ID CONTEXT String liferay.com
2 WebKeys.ROOT_PATH CONTEXT String /
3 WebKeys.MAIN_PATH CONTEXT String /c
4 WebKeys.CAPTCHA_PATH CONTEXT String /c/captcha
5 WebKeys.FRIENDLY_URL_PATH CONTEXT String /web
6 WebKeys.IMAGE_PATH CONTEXT String /image
7 WebKeys.CTX REQUEST ServletContext the context of current reqeust
8 WebKeys.COMPANY_ID SESSION String liferay.com
9 WebKeys.COMPANY_ID REQUEST String liferay.com
10 WebKeys.ROOT_PATH SESSION String /
11 WebKeys.MAIN_PATH SESSION String /c
12 WebKeys.CAPTCHA_PATH SESSION String /c/captcha
13 WebKeys.FRIENDLY_URL_PATH SESSION String /web
14 WebKeys.IMAGE_PATH SESSION String /image
15 WebKeys.ROOT_PATH REQUEST String /
16 WebKeys.MAIN_PATH REQUEST String /c
17 WebKeys.CAPTCHA_PATH REQUEST String /c/captcha
18 WebKeys.FRIENDLY_URL_PATH REQUEST String /web
19 WebKeys.IMAGE_PATH REQUEST String /image
20 WebKeys.PORTLET_STRUTS_PROCESSOR CONTEXT PortletRequestProcessor  
21 WebKeys.PORTLET_CLASS_LOADER CONTEXT ClassLoader WEB-INF/classes
WEB-INF/lib
22 WebKeys.THEME_DISPLAY REQUEST ThemeDisplay  
23 WebKeys.USER REQUEST User  
24 WebKeys.THEME REQUEST Theme  
25 WebKeys.COLOR_SCHEME REQUEST ColorScheme  
26 WebKeys.LAST_PATH SESSION LastPath  
27 WebKeys.FORWARD_URL REQUEST String  themeDisplay.getPathMain() +"/portal/layout?p_l_id="+ layoutId

内建对象

注:JSP内建对象指在jsp内可以向request,response,application等6个jsp内建对象一样,无须实例化就能使用的对象。
同时,在jsp中创建对象时,也不能使用内建对象名为新建对象的名字。
如:themeDisplay是内建对象,表示当前portlet的主题显示则可以直接使用themeDisplay.getPathImage()
<portlet:defineObjects />
内建对象 类型 作用
portletConfig javax.portlet.PortletConfig  
renderRequest javax.portlet.RenderRequest  
renderResponse javax.portlet.RenderResponse  
<theme:defineObjects />
themeDisplay com.liferay.portal.theme.ThemeDisplay  
company com.liferay.portal.model.Company  
user com.liferay.portal.model.User  
layout com.liferay.portal.model.Layout  
layouts java.util.List  
layoutId java.lang.String  
layoutTypePortlet com.liferay.portal.model.LayoutTypePortlet  
portletGroupId java.lang.String  
locale java.util.Locale  
timeZone java.util.TimeZone  
theme com.liferay.portal.model.Theme  
colorScheme com.liferay.portal.model.ColorScheme  
portletDisplay com.liferay.portal.theme.PortletDisplay  
July 04

登陆界面4

##STEPXX:       End to process request for /portal/layout[DEBUG PortalRequestProcessor]

------------ Success to process Parent Service ------------[DEBUG MainServlet]

#STEP14:        Process SERVLET_SERVICE_EVENTS_POST[DEBUG MainServlet]

##STEP01:       Process requestURI[DEBUG ServicePostAction]

##STEP02:       Get ThemeDisplay from request and clean up it[DEBUG ServicePostAction]

Recycling instance 22705162[DEBUG ThemeDisplay]

Recycling  or initial instance 8510245[DEBUG PortletDisplay]

##STEP03:       Clear all messages and error messages stored in session attribute[DEBUG ServicePostAction]

#STEP15:        Add liferay release info into request header[DEBUG MainServlet]

#STEP16:        Clear the principal associated with this thread[DEBUG MainServlet]

Set Name null[DEBUG PrincipalThreadLocal]

#STEPXX:        MainServlet     End to process request '/c/portal/layout'[DEBUG MainServlet]

.........       FriendlyURLServlet End to process request       .........

Stripping http://localhost/web/guest/home[DEBUG StripFilter]

Stripping content of type text/html; charset=UTF-8[DEBUG StripFilter]

Stripped the contecnt from 24367 bytes to 21492 bytes[DEBUG StripFilter]

>>>             End StripFilter         <<<

>>>             End SecureFilter        <<<

>>>             End CompressionFilter   <<<

登陆界面3

PortalUtil.getLayoutViewPage(Home)[portal\layout.jsp]

liferay:include page='/html/portal/layout/view/portlet.jsp'[portal\layout.jsp]

*******************************[Begin to process 'layout\view\portlet.jsp']***************************

Totla has 1 columns; 0 narrow1 portlets; 0 narrow2 portlets; 1 wide1 portlets[layout\view\portlet.jsp]

Render portlet '57_INSTANCE_GuSK' at [w1,0]

 

Begin to render portlet 57_INSTANCE_GuSK[DEBUG PortalUtil]

Set portlet,curColumnOrder,curColumnCount in request all will be used in render_portlet.jsp[DEBUG PortalUtil]

Set request dispatcher /html/portal/render_portlet.jsp[DEBUG PortalUtil]

pageContext is not null , wrapper response to StringServletResponse[DEBUG PortalUtil]

Create CachePortlet for portlet 57_INSTANCE_GuSK[portal\render_portlet.jsp]

Create CachePortlet {PortletId 57_INSTANCE_GuSK; PortletType com.liferay.portal.model.Portlet}[DEBUG PortletInstanceFactory]

No portlet instances cache for '57' create one and put it into cache[DEBUG PortletInstanceFactory]

No portlet instance cache for '57_INSTANCE_GuSK' create one and put it into cache[DEBUG PortletInstanceFactory]

Create PortletContext and PortletConfigImpl for '57_INSTANCE_GuSK'[DEBUG PortletConfigFactory]

Create new PortletContextImpl by ctx 'org.apache.catalina.core.ApplicationContextFacade@d9b7c1'[DEBUG PortletContextFactory]

Initial portlet by portlet config[DEBUG PortletInstanceFactory]

Real portlet initial PortletConfig[DEBUG CachePortlet]

Initial struts portlet[DEBUG StrutsPortlet]

Try to get PortletPreferences by 57_INSTANCE_GuSK[portal\render_portlet.jsp]

Get PortletConfig and PortletContext[portal\render_portlet.jsp]

Get PortletConfig for '57_INSTANCE_GuSK' from portletConfigs pool[DEBUG PortletConfigFactory]

Create Render Request Implement [portal\render_portlet.jsp]

Get one RenderRequestImpl from pool and inital it[DEBUG RenderRequestFactory]

Creating new instance 15565667[DEBUG RenderRequestImpl]

Init RenderRequestImpl 15565667[DEBUG RenderRequestImpl]

Wrap the request as DynamicServletRequest[DEBUG RenderRequestImpl]

Create new PortletSessionImpl[DEBUG RenderRequestImpl]

Initialize PortletSession 12355216[DEBUG PortletSessionImpl]

Create Render Response Implement [portal\render_portlet.jsp]

Get one RenderResponseImpl from pool and inital it[DEBUG RenderResponseFactory]

Creating new instance 33379524[DEBUG RenderRequestImpl]

Init RenderResponseImpl 33379524[DEBUG RenderRequestImpl]

Set portletConfig and renderResponseImpl into request attribute[portal\render_portlet.jsp]

Unauthenticated users cannot modify the layout[portal\render_portlet.jsp]

Portlets cannot be moved because they didn't belong to any layouts[portal\render_portlet.jsp]

Reset portletDisplay and put all parameter into portletDisplay[portal\render_portlet.jsp]

Recycling  or initial instance 8510245[DEBUG PortletDisplay]

CachePortlet begin to render[portal\render_portlet.jsp]

Real portlet begin to render[DEBUG CachePortlet]

Get PortletRequestProcessor to process request and response[DEBUG StrutsPortlet]

Get PortletRequestProcessor from PortletContext '21259641'[DEBUG StrutsPortlet]

Can not find struts action in request parameter , try to get it from attribute[DEBUG PortletRequestProcessor]

Process path return /journal_content/view[DEBUG PortletRequestProcessor]

Process roles[DEBUG PortletRequestProcessor]

Get article HOME-INDEX, using language en_US, showPortletBorders false[DEBUG ViewAction]

Get jounal article {articleId=HOME-INDEX, version=1.0}[DEBUG JournalArticleServiceImpl]

Get journal template(XML and XSL) by HOME-INDEX[DEBUG JournalArticleServiceImpl]

Transforming HOME-INDEX 1.0 en_US[DEBUG JournalArticleServiceImpl]

Get PortletRequestDispatcherImpl from portlet context and use include method[DEBUG PortletRequestProcessor]

getName null[DEBUG PrincipalThreadLocal]

getName null[DEBUG PrincipalThreadLocal]

getName null[DEBUG PrincipalThreadLocal]

getName null[DEBUG PrincipalThreadLocal]

Begin to process runtime portlet [journal_content\view.jsp]

Creating new instance 25417229[DEBUG PortletDisplay]

 

Begin to render portlet 58[DEBUG PortalUtil]

Set portlet,curColumnOrder,curColumnCount in request all will be used in render_portlet.jsp[DEBUG PortalUtil]

Set request dispatcher /html/portal/render_portlet.jsp[DEBUG PortalUtil]

pageContext is not null , wrapper response to StringServletResponse[DEBUG PortalUtil]

Create CachePortlet for portlet 58[portal\render_portlet.jsp]

Create CachePortlet {PortletId 58; PortletType com.liferay.portal.model.Portlet}[DEBUG PortletInstanceFactory]

No portlet instances cache for '58' create one and put it into cache[DEBUG PortletInstanceFactory]

No portlet instance cache for '58' create one and put it into cache[DEBUG PortletInstanceFactory]

Create PortletContext and PortletConfigImpl for '58'[DEBUG PortletConfigFactory]

Create new PortletContextImpl by ctx 'org.apache.catalina.core.ApplicationContextFacade@d9b7c1'[DEBUG PortletContextFactory]

Initial portlet by portlet config[DEBUG PortletInstanceFactory]

Real portlet initial PortletConfig[DEBUG CachePortlet]

Initial struts portlet[DEBUG StrutsPortlet]

Try to get PortletPreferences by 58[portal\render_portlet.jsp]

Get PortletConfig and PortletContext[portal\render_portlet.jsp]

Get PortletConfig for '58' from portletConfigs pool[DEBUG PortletConfigFactory]

Create Render Request Implement [portal\render_portlet.jsp]

Get one RenderRequestImpl from pool and inital it[DEBUG RenderRequestFactory]

Creating new instance 14510823[DEBUG RenderRequestImpl]

Init RenderRequestImpl 14510823[DEBUG RenderRequestImpl]

Wrap the request as DynamicServletRequest[DEBUG RenderRequestImpl]

Create new PortletSessionImpl[DEBUG RenderRequestImpl]

Initialize PortletSession 9793387[DEBUG PortletSessionImpl]

Create Render Response Implement [portal\render_portlet.jsp]

Get one RenderResponseImpl from pool and inital it[DEBUG RenderResponseFactory]

Creating new instance 12970890[DEBUG RenderRequestImpl]

Init RenderResponseImpl 12970890[DEBUG RenderRequestImpl]

Set portletConfig and renderResponseImpl into request attribute[portal\render_portlet.jsp]

Unauthenticated users cannot modify the layout[portal\render_portlet.jsp]

Portlets cannot be moved because they didn't belong to any layouts[portal\render_portlet.jsp]

Reset portletDisplay and put all parameter into portletDisplay[portal\render_portlet.jsp]

Recycling  or initial instance 8510245[DEBUG PortletDisplay]

CachePortlet begin to render[portal\render_portlet.jsp]

Real portlet begin to render[DEBUG CachePortlet]

Get PortletRequestProcessor to process request and response[DEBUG StrutsPortlet]

Get PortletRequestProcessor from PortletContext '21259641'[DEBUG StrutsPortlet]

Can not find struts action in request parameter , try to get it from attribute[DEBUG PortletRequestProcessor]

Process path return /login/view[DEBUG PortletRequestProcessor]

Process roles[DEBUG PortletRequestProcessor]

Find Forward to "portlet.login.view"[DEBUG ViewAction]

Get PortletRequestDispatcherImpl from portlet context and use include method[DEBUG PortletRequestProcessor]

ThemeDisplay is not signed in.[login\view.jsp]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /home[DEBUG PortalUtil]

Real portlet end to render[DEBUG CachePortlet]

CachePortlet end to render[portal\render_portlet.jsp]

Not use default template [portal\render_portlet.jsp]

Recycle renderRequestImpl and renderResponseImpl[portal\render_portlet.jsp]

Recycling:      0       2[DEBUG RenderRequestFactory]

Recycling instance 14510823[DEBUG RenderRequestImpl]

Recycling:      0       2[DEBUG RenderResponseFactory]

Recycling instance 12970890[DEBUG RenderRequestImpl]

End to render portlet 58[DEBUG PortalUtil]

Recycling  or initial instance 25417229[DEBUG PortletDisplay]

End to process runtime portlet [journal_content\view.jsp]

Real portlet end to render[DEBUG CachePortlet]

CachePortlet end to render[portal\render_portlet.jsp]

Not use default template [portal\render_portlet.jsp]

Recycle renderRequestImpl and renderResponseImpl[portal\render_portlet.jsp]

Recycling:      1       1[DEBUG RenderRequestFactory]

Recycling instance 15565667[DEBUG RenderRequestImpl]

Recycling:      1       1[DEBUG RenderResponseFactory]

Recycling instance 33379524[DEBUG RenderRequestImpl]

End to render portlet 57_INSTANCE_GuSK[DEBUG PortalUtil]

*******************************[ End to process 'layout\view\portlet.jsp' ]*******************************

登陆界面2

>>>             Begin CompressionFilter <<<

Compression is enabled[DEBUG CompressionFilter]

Compressing http://localhost/web/guest/home[DEBUG CompressionFilter]

>>>             Begin SecureFilter      <<<

Access allowed for 127.0.0.1[DEBUG SecureFilter]

https is not required[DEBUG SecureFilter]

Not securing http://localhost/web/guest/home[DEBUG SecureFilter]

>>>             Begin StripFilter       <<<

Strip is enabled[DEBUG StripFilter]

.........       FriendlyURLServlet Begin to process request     .........

>>>             End StripFilter         <<<

Get groupFriendlyUrl is /guest[DEBUG FriendlyURLServlet]

Get group by group friendly url[DEBUG FriendlyURLServlet]

>>>             End SecureFilter        <<<

>>>             End CompressionFilter   <<<

 

Get layoutFriendlyURL is /home[DEBUG FriendlyURLServlet]

Get layout by groupId and layoutFriendlyURL[DEBUG FriendlyURLServlet]

Get redirect path by layout and mainPath[DEBUG FriendlyURLServlet]

Replace layout and mainPath at ${liferay:mainPath}/portal/layout?p_l_id=${liferay:layoutId} to generate actual url[DEBUGFriendlyURLServlet]

Request path info : /guest/home; redirect : /c/portal/layout?p_l_id=1.1; lastPath : /guest/home[DEBUG FriendlyURLServlet]

Save lastPath in request[DEBUG FriendlyURLServlet]

#STEP00:        MainServlet Begin to process request '/c/portal/layout'[DEBUG MainServlet]

#STEP01:        Check whether the instances is larger than the parameter defined in portal.propertites[DEBUG MainServlet

]

#STEP02:        Check whether the application is logicly shut down[DEBUG MainServlet]

#STEP03:        Get portalCtx from context and set it into request[DEBUG MainServlet]

Get portalCtx [org.apache.catalina.core.ApplicationContextFacade@d9b7c1] from ctx[DEBUG MainServlet]

#STEP04:        Get companyId from context and set into into portalCtx,session and request[DEBUG MainServlet]

#STEP05:        Get path variable from context and set them into into portalCtx,session and request[DEBUG MainServlet]

#STEP05:        Get chatServer from context and set into into portalCtx,session[DEBUG MainServlet]

#STEP06:        Get PortletRequestProcessor from portalCtx[DEBUG MainServlet]

#STEP07:        Process other attributes in portal if is null get them from ctx[DEBUG MainServlet]

Get FACES_CLASS_LOADER from ctx and set into portalCtx[DEBUG MainServlet]

Get ASSOCIATE_KEY from ctx and set into portalCtx[DEBUG MainServlet]

#STEP08:        Set request character encoding using 'UTF-8'[DEBUG MainServlet]

#STEP09:        Process content type 'null'[DEBUG MainServlet]

#STEP10:        Process current url 'http://localhost/web/guest/home?p_l_id=1.1'[DEBUG MainServlet]

Now completeURL is /web/guest/home?p_l_id=1.1 and set it into request[DEBUG MainServlet]

#STEP11:        Process LoginUserId 'null'; Remote User 'null'[DEBUG MainServlet]

#STEP12:        Process SERVLET_SERVICE_EVENTS_PRE[DEBUG MainServlet]

##STEP01:       Get company liferay.com from request[DEBUG ServicePreAction]

##STEP02:       Get context path []by companyid liferay.com[DEBUG ServicePreAction]

User is null ,so get company default user liferay.com.default[DEBUG ServicePreAction]

##STEP03:       Processing locale en_US[DEBUG ServicePreAction]

Layout id is 1.1[DEBUG ServicePreAction]

Get 1 layouts which groupId='1' and parentLayoutId='-1'[DEBUG GroupLocalServiceImpl]

Get layout from session[DEBUG LayoutClonePool]

##STEP04:       Processed Layout Home[DEBUG ServicePreAction]

Get theme and colorScheme by group 1[DEBUG ServicePreAction]

##STEP05:       Processed Theme and Color Scheme {Theme Brochure; Color Scheme Default} and set them into request attrib

ute[DEBUG ServicePreAction]

##STEP06:       Processed Resolution [DEBUG ServicePreAction]

##STEP07:       Create new ThemeDisplay, put all parameters into ThemeDisplay and put it into request[DEBUG ServicePreAc

tion]

#STEP13:        Call parent service[DEBUG MainServlet]

------------  Begin to process Parent Service  ------------[DEBUG MainServlet]

##STEP00:       Begin to process request for '/portal/layout'[DEBUG PortalRequestProcessor]

##STEP01:       Process action mapping[DEBUG PortalRequestProcessor]

##STEP02:       Find ActionMapping for /portal/layout, super begin to process[DEBUG PortalRequestProcessor]

###STEP00:      Begin to process path /portal/layout[DEBUG PortalRequestProcessor]

###STEP01:      Process userTracker [DEBUG PortalRequestProcessor]

###STEP02:      Process save last path[DEBUG PortalRequestProcessor]

Get last path from request[DEBUG PortalRequestProcessor]

Save last path /guest/home in session[DEBUG PortalRequestProcessor]

###STEP03:      Process auto login[DEBUG PortalRequestProcessor]

Begin to process auto login[INFO  PortalRequestProcessor]

Using com.liferay.portal.auth.BasicAutoLogin as AutoLogin class[DEBUG PortalRequestProcessor]

Cannot get autoUserId from cookie[DEBUG BasicAutoLogin]

###STEP04:      Process return path by userId and user[DEBUG PortalRequestProcessor]

###STEPXX:      Return path /portal/layout[DEBUG PortalRequestProcessor]

------------    Begin   ------------[DEBUG LayoutAction]

LayoutId : [1.1]; Action : [][DEBUG LayoutAction]

------------    END     ------------[DEBUG LayoutAction]

Using portal.jsp as portal root templete [common\themes\portal.jsp]

theme:include page=portal_normal.jsp [common\themes\portal.jsp]

Theme telplates path /html/themes/brochure/templates/portal_normal.jsp[DEBUG ThemeUtil]

Loading file:D:/liferay/appserver/Tomcat-5.0.28/common/classes/content/Language.properties[INFO  MultiMessageResources]

Loading file:D:/liferay/appserver/Tomcat-5.0.28/common/classes/content/Language-ext.properties[INFO  MultiMessageResources]

Begin to process top.jsp[themes\brochure\portal_normal.jsp]

End to process top.jsp[themes\brochure\portal_normal.jsp]

Begin to process navigation.jsp[themes\brochure\portal_normal.jsp]

Get 7 layouts which groupId='1' and parentLayoutId='1.1'[DEBUG GroupLocalServiceImpl]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /company[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /products[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /services[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /documentation[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /news[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /downloads[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /contest[DEBUG PortalUtil]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /home[DEBUG PortalUtil]

End to process navigation.jsp[themes\brochure\portal_normal.jsp]

登陆页面1

登陆页面

>>>             Begin CompressionFilter <<<

Compression is enabled[DEBUG CompressionFilter]

Compressing http://localhost/[DEBUG CompressionFilter]

>>>             Begin StripFilter       <<<

Strip is enabled[DEBUG StripFilter]

Create session B363B60BAF561ECC6041C9E73D60CF6A and Put it into PortalSessionContext[DEBUG PortalSessionListener]

location replace '/c'[index.jsp]

Stripping http://localhost/[DEBUG StripFilter]

Stripping content of type text/html[DEBUG StripFilter]

Stripped the contecnt from 160 bytes to 151 bytes[DEBUG StripFilter]

>>>             End StripFilter         <<<

>>>             End CompressionFilter   <<<

 

 

>>>             Begin CompressionFilter <<<

Compression is enabled[DEBUG CompressionFilter]

Compressing http://localhost/c[DEBUG CompressionFilter]

>>>             Begin SecureFilter      <<<

Access allowed for 127.0.0.1[DEBUG SecureFilter]

https is not required[DEBUG SecureFilter]

Not securing http://localhost/c[DEBUG SecureFilter]

>>>             Begin StripFilter       <<<

Strip is enabled[DEBUG StripFilter]

 

#STEP00:        MainServlet Begin to process request '/c'[DEBUG MainServlet]

#STEP01:    Check whether the instances is larger than the parameter defined in portal.propertites[DEBUG MainServlet

]

#STEP02:        Check whether the application is logicly shut down[DEBUG MainServlet]

#STEP03:        Get portalCtx from context and set it into request[DEBUG MainServlet]

Loading file:D:/liferay/appserver/Tomcat-5.0.28/common/classes/portal.properties for liferay.com

Loading file:D:/liferay/appserver/Tomcat-5.0.28/common/classes/portal-ext.properties for liferay.com

Get portalCtx [org.apache.catalina.core.ApplicationContextFacade@d9b7c1] from ctx[DEBUG MainServlet]

#STEP04:        Get companyId from context and set into into portalCtx,session and request[DEBUG MainServlet]

#STEP05:        Get path variable from context and set them into into portalCtx,session and request[DEBUG MainServlet]

#STEP05:        Get chatServer from context and set into into portalCtx,session[DEBUG MainServlet]

#STEP06:        Get PortletRequestProcessor from portalCtx[DEBUG MainServlet]

PortletRequestProcessor is not in portalCtx so initial PortletRequestProcessor '21259641' and set it into portalCtx[DEBU

G MainServlet]

#STEP07:        Process other attributes in portal if is null get them from ctx[DEBUG MainServlet]

Get FACES_CLASS_LOADER from ctx and set into portalCtx[DEBUG MainServlet]

Get ASSOCIATE_KEY from ctx and set into portalCtx[DEBUG MainServlet]

#STEP08:        Set request character encoding using 'UTF-8'[DEBUG MainServlet]

#STEP09:        Process content type 'null'[DEBUG MainServlet]

#STEP10:        Process current url 'http://localhost/c'[DEBUG MainServlet]

Now completeURL is /c and set it into request[DEBUG MainServlet]

#STEP11:        Process LoginUserId 'null'; Remote User 'null'[DEBUG MainServlet]

#STEP12:        Process SERVLET_SERVICE_EVENTS_PRE[DEBUG MainServlet]

##STEP01:       Get company liferay.com from request[DEBUG ServicePreAction]

##STEP02:       Get context path []by companyid liferay.com[DEBUG ServicePreAction]

User is null ,so get company default user liferay.com.default[DEBUG ServicePreAction]

##STEP03:       Processing locale null[DEBUG ServicePreAction]

Cannot get local from current session, so set en_US in session[DEBUG ServicePreAction]

Layout id is null[DEBUG ServicePreAction]

Get layouts use general GENERAL_GUEST and DEFAULT_PARENT_LAYOUT_ID[DEBUG ServicePreAction]

Get 1 layouts which groupId='1' and parentLayoutId='-1'[DEBUG GroupLocalServiceImpl]

Set layout into session[DEBUG LayoutClonePool]

##STEP04:       Processed Layout Home[DEBUG ServicePreAction]

Get theme and colorScheme by group 1[DEBUG ServicePreAction]

##STEP05:       Processed Theme and Color Scheme {Theme Brochure; Color Scheme Default} and set them into request attrib

ute[DEBUG ServicePreAction]

##STEP06:       Processed Resolution [DEBUG ServicePreAction]

##STEP07:       Create new ThemeDisplay, put all parameters into ThemeDisplay and put it into request[DEBUG ServicePreAction]

Creating new instance 8510245[DEBUG PortletDisplay]

Creating new instance 22705162[DEBUG ThemeDisplay]

#STEP13:        Call parent service[DEBUG MainServlet]

------------  Begin to process Parent Service  ------------[DEBUG MainServlet]

##STEP00:       Begin to process request for '/c'[DEBUG PortalRequestProcessor]

##STEP01:       Process action mapping[DEBUG PortalRequestProcessor]

AUTH_FORWARD_BY_LAST_PATH is set false ,so return http://localhost/c/portal/layout[DEBUG PortalRequestProcessor]

Can not find ActionMapping for path /c so change path to http://localhost/c/portal/layout[DEBUG PortalRequestProcessor]

Send redirect to http://localhost/c/portal/layout[DEBUG PortalRequestProcessor]

------------ Success to process Parent Service ------------[DEBUG MainServlet]

#STEP14:        Process SERVLET_SERVICE_EVENTS_POST[DEBUG MainServlet]

##STEP01:       Process requestURI[DEBUG ServicePostAction]

##STEP02:       Get ThemeDisplay from request and clean up it[DEBUG ServicePostAction]

Recycling instance 22705162[DEBUG ThemeDisplay]

Recycling  or initial instance 8510245[DEBUG PortletDisplay]

##STEP03:       Clear all messages and error messages stored in session attribute[DEBUG ServicePostAction]

#STEP15:        Add liferay release info into request header[DEBUG MainServlet]

#STEP16:        Clear the principal associated with this thread[DEBUG MainServlet]

Set Name null[DEBUG PrincipalThreadLocal]

#STEPXX:        MainServlet     End to process request '/c'[DEBUG MainServlet]

Response has no content to strip[DEBUG StripFilter]

>>>             End StripFilter         <<<

>>>             End SecureFilter        <<<

>>>             End CompressionFilter   <<<

 

 

>>>             Begin CompressionFilter <<<

Compression is enabled[DEBUG CompressionFilter]

Compressing http://localhost/c/portal/layout[DEBUG CompressionFilter]

>>>             Begin SecureFilter      <<<

Access allowed for 127.0.0.1[DEBUG SecureFilter]

https is not required[DEBUG SecureFilter]

Not securing http://localhost/c/portal/layout[DEBUG SecureFilter]

>>>             Begin StripFilter       <<<

Strip is enabled[DEBUG StripFilter]

#STEP00:        MainServlet Begin to process request '/c/portal/layout'[DEBUG MainServlet]

#STEP01:        Check whether the instances is larger than the parameter defined in portal.propertites[DEBUG MainServlet

]

#STEP02:        Check whether the application is logicly shut down[DEBUG MainServlet]

#STEP03:        Get portalCtx from context and set it into request[DEBUG MainServlet]

Get portalCtx [org.apache.catalina.core.ApplicationContextFacade@d9b7c1] from ctx[DEBUG MainServlet]

#STEP04:        Get companyId from context and set into into portalCtx,session and request[DEBUG MainServlet]

#STEP05:        Get path variable from context and set them into into portalCtx,session and request[DEBUG MainServlet]

#STEP05:        Get chatServer from context and set into into portalCtx,session[DEBUG MainServlet]

#STEP06:        Get PortletRequestProcessor from portalCtx[DEBUG MainServlet]

#STEP07:        Process other attributes in portal if is null get them from ctx[DEBUG MainServlet]

Get FACES_CLASS_LOADER from ctx and set into portalCtx[DEBUG MainServlet]

Get ASSOCIATE_KEY from ctx and set into portalCtx[DEBUG MainServlet]

#STEP08:        Set request character encoding using 'UTF-8'[DEBUG MainServlet]

#STEP09:        Process content type 'null'[DEBUG MainServlet]

#STEP10:        Process current url 'http://localhost/c/portal/layout'[DEBUG MainServlet]

Now completeURL is /c/portal/layout and set it into request[DEBUG MainServlet]

#STEP11:        Process LoginUserId 'null'; Remote User 'null'[DEBUG MainServlet]

#STEP12:        Process SERVLET_SERVICE_EVENTS_PRE[DEBUG MainServlet]

##STEP01:       Get company liferay.com from request[DEBUG ServicePreAction]

##STEP02:       Get context path []by companyid liferay.com[DEBUG ServicePreAction]

User is null ,so get company default user liferay.com.default[DEBUG ServicePreAction]

##STEP03:       Processing locale en_US[DEBUG ServicePreAction]

Layout id is null[DEBUG ServicePreAction]

Get layouts use general GENERAL_GUEST and DEFAULT_PARENT_LAYOUT_ID[DEBUG ServicePreAction]

Get 1 layouts which groupId='1' and parentLayoutId='-1'[DEBUG GroupLocalServiceImpl]

Get layout from session[DEBUG LayoutClonePool]

##STEP04:       Processed Layout Home[DEBUG ServicePreAction]

Get theme and colorScheme by group 1[DEBUG ServicePreAction]

##STEP05:       Processed Theme and Color Scheme {Theme Brochure; Color Scheme Default} and set them into request attrib

ute[DEBUG ServicePreAction]

##STEP06:       Processed Resolution [DEBUG ServicePreAction]

##STEP07:       Create new ThemeDisplay, put all parameters into ThemeDisplay and put it into request[DEBUG ServicePreAc

tion]

#STEP13:        Call parent service[DEBUG MainServlet]

------------  Begin to process Parent Service  ------------[DEBUG MainServlet]

##STEP00:       Begin to process request for '/portal/layout'[DEBUG PortalRequestProcessor]

##STEP01:       Process action mapping[DEBUG PortalRequestProcessor]

##STEP02:       Find ActionMapping for /portal/layout, super begin to process[DEBUG PortalRequestProcessor]

###STEP00:      Begin to process path /portal/layout[DEBUG PortalRequestProcessor]

###STEP01:      Process userTracker [DEBUG PortalRequestProcessor]

###STEP02:      Process save last path[DEBUG PortalRequestProcessor]

Create new LastPath for '/portal/layout'[DEBUG PortalRequestProcessor]

Save last path /portal/layout in session[DEBUG PortalRequestProcessor]

###STEP03:      Process auto login[DEBUG PortalRequestProcessor]

Begin to process auto login[INFO  PortalRequestProcessor]

Using com.liferay.portal.auth.BasicAutoLogin as AutoLogin class[DEBUG PortalRequestProcessor]

Cannot get autoUserId from cookie[DEBUG BasicAutoLogin]

###STEP04:      Process return path by userId and user[DEBUG PortalRequestProcessor]

###STEPXX:      Return path /portal/layout[DEBUG PortalRequestProcessor]

------------    Begin   ------------[DEBUG LayoutAction]

LayoutId : []; Action : [][DEBUG LayoutAction]

Can not fine p_l_id parameter in request so process forward layout by request[DEBUG LayoutAction]

ThemeDisplayPathFriendlyURL : /web; GroupFriendlyURL : /guest; LayoutFriendlyURL : /home[DEBUG PortalUtil]

Get layout friendly url by PortalUtil : /web/guest/home[DEBUG LayoutAction]

Forward to /common/forward_js.jsp[DEBUG LayoutAction]

------------    END     ------------[DEBUG LayoutAction]

forwardParam : null; forwardRequest : /web/guest/home; forwardSession : null [forward_common.jsp]

forwardURL : /web/guest/home [forward_common.jsp]

self.location = /web/guest/home [common\forward_js.jsp]

##STEPXX:       End to process request for /portal/layout[DEBUG PortalRequestProcessor]

------------ Success to process Parent Service ------------[DEBUG MainServlet]

#STEP14:        Process SERVLET_SERVICE_EVENTS_POST[DEBUG MainServlet]

##STEP01:       Process requestURI[DEBUG ServicePostAction]

##STEP02:       Get ThemeDisplay from request and clean up it[DEBUG ServicePostAction]

Recycling instance 22705162[DEBUG ThemeDisplay]

Recycling  or initial instance 8510245[DEBUG PortletDisplay]

##STEP03:       Clear all messages and error messages stored in session attribute[DEBUG ServicePostAction]

#STEP15:        Add liferay release info into request header[DEBUG MainServlet]

#STEP16:        Clear the principal associated with this thread[DEBUG MainServlet]

Set Name null[DEBUG PrincipalThreadLocal]

#STEPXX:        MainServlet     End to process request '/c/portal/layout'[DEBUG MainServlet]

Stripping http://localhost/c/portal/layout[DEBUG StripFilter]

Stripping content of type text/html; charset=UTF-8[DEBUG StripFilter]

Stripped the contecnt from 97 bytes to 75 bytes[DEBUG StripFilter]