久久国产精品亚洲综合,亚洲第一视频网站,亚洲AV无码乱码在线观看裸奔http://m.tkk7.com/fine/category/26174.htmlzh-cnThu, 27 Sep 2007 17:11:52 GMTThu, 27 Sep 2007 17:11:52 GMT60在myeclipse上開(kāi)發(fā)liferayhttp://m.tkk7.com/fine/archive/2007/09/26/148409.htmlPeter PanPeter PanWed, 26 Sep 2007 10:22:00 GMThttp://m.tkk7.com/fine/archive/2007/09/26/148409.htmlhttp://m.tkk7.com/fine/comments/148409.htmlhttp://m.tkk7.com/fine/archive/2007/09/26/148409.html#Feedback0http://m.tkk7.com/fine/comments/commentRss/148409.htmlhttp://m.tkk7.com/fine/services/trackbacks/148409.html一直想研究一下Liferay,最近終于有時(shí)間開(kāi)始行動(dòng)了,在myeclipse上搭建開(kāi)發(fā)環(huán)境及Debug折騰了兩天,終于搞定了。
tomcat-5.5.17
liferay-portal-src-4.1.3

一、在Eclipse中Import liferay-portal-src-4.1.3
????????????修改.classpath 添加
?<classpathentry excluding="com/" kind="src" path="counter-ejb/classes"/>
?<classpathentry excluding="com/" kind="src" path="documentlibrary-ejb/classes"/>
?<classpathentry excluding="com/" kind="src" path="mail-ejb/classes"/>
?<classpathentry excluding="com/" kind="src" path="lock-ejb/classes"/>
?<classpathentry excluding="com/" kind="src" path="portal-ejb/classes"/>
?<classpathentry excluding="com/" kind="src" path="portal-kernel/classes"/>
?<classpathentry excluding="com/" kind="src" path="util-bridges/classes"/>
?<classpathentry excluding="com/" kind="src" path="util-java/classes"/>
?<classpathentry excluding="com/" kind="src" path="util-taglib/classes"/>
?<classpathentry excluding="com/" kind="src" path="util-wsrp/classes"/>

二、在Eclipse中新建一個(gè)Web Project? (root),將liferay-portal-src-4.1.3\portal-web中的文件導(dǎo)入到root/web中,設(shè)置liferay-portal-src-4.1.3為required project(或者把liferay-portal-src-4.1.3的輸出直接設(shè)到web project的輸出上),并且加入liferay-portal-src-4.1.3的lib.
?????????修改Web Context-root為 / ,加入index.html,修改Web.xml,在src中添加portal-ext.properties(覆蓋portal.properties中的值,liferay中可以用ext來(lái)擴(kuò)充配置),liferay-portal-src-4.1.3\definitions中的內(nèi)容copy到src/com.liferay.portal.definitions中
添加com.liferay.portal.deploy.dependencies及其中的文件(變態(tài)的用到了util-*.jar三個(gè),hotdeploy有用到,目前還不知道清楚有什么用)。
三、Eclipse配置tomcat?
???????????optional java vm arguments中需要添加-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=%TOMCAT_HOME%conf/jaas.config
四、tomcat的修改
????????添加?%tomcat_home%/conf/jaas.config,添加%tomcat_home%/conf/Catalina/localhost/ROOT.xml
????????修改%tomcat_home%/conf/catalina.properties——common.loader中添加${catalina.home}/common/lib/ext/*.jar(還要添加ext這個(gè)目錄copy進(jìn)需要添加的jar)
?????????修改?%tomcat_home%/bin/catalina.bat 加入set JAVA_OPTS=-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config

現(xiàn)在應(yīng)該可以用于開(kāi)發(fā)了,只是liferay編譯一下下要多等會(huì)了,哪個(gè)不是一般的慢呀(機(jī)子也實(shí)在太爛).

順便說(shuō)下,debug了一下,個(gè)人感覺(jué)liferay的性能應(yīng)該不會(huì)太理想,Spring用的也蠻古怪的,F(xiàn)actory中也用了事務(wù)。對(duì)liferay中spring的用法感覺(jué)也不是太好(也有點(diǎn))。——個(gè)人觀點(diǎn)(水平有限,有錯(cuò)的地方多多指教)



]]>
(轉(zhuǎn))liferay登陸頁(yè)面http://m.tkk7.com/fine/archive/2007/09/21/147181.htmlPeter PanPeter PanFri, 21 Sep 2007 10:15:00 GMThttp://m.tkk7.com/fine/archive/2007/09/21/147181.htmlhttp://m.tkk7.com/fine/comments/147181.htmlhttp://m.tkk7.com/fine/archive/2007/09/21/147181.html#Feedback1http://m.tkk7.com/fine/comments/commentRss/147181.htmlhttp://m.tkk7.com/fine/services/trackbacks/147181.html

登陸頁(yè)面

>>>???????????? 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]



]]>
主站蜘蛛池模板: 亚洲精品欧洲精品| 免费人成视频在线| 中文字幕日韩亚洲| 午夜肉伦伦影院久久精品免费看国产一区二区三区 | 国产精品免费_区二区三区观看| 亚洲码在线中文在线观看| 8x8x华人永久免费视频| 亚洲无砖砖区免费| 亚欧色视频在线观看免费| 91亚洲自偷在线观看国产馆| 在线看片免费不卡人成视频| 亚洲成人网在线观看| 一二三四免费观看在线电影 | 亚洲男同帅GAY片在线观看| 中国国产高清免费av片| 亚洲AV无码一区东京热久久| 99视频免费播放| 亚洲高清有码中文字| 伊在人亚洲香蕉精品区麻豆| 免费无毒a网站在线观看| 超清首页国产亚洲丝袜| 91香蕉国产线在线观看免费| 亚洲无mate20pro麻豆| 国产公开免费人成视频| 中文精品人人永久免费| 亚洲综合久久久久久中文字幕| 成人免费午夜视频| 一级毛片a免费播放王色| 久久久久亚洲精品无码蜜桃| 日韩精品成人无码专区免费| 免费人成视频在线观看免费| 亚洲一区二区影院| 日本免费一二区在线电影| 国产美女视频免费观看的网站| 91在线亚洲精品专区| 国产美女精品久久久久久久免费| 国产精品小视频免费无限app| 亚洲第一区视频在线观看| 亚洲国产成人久久综合野外| 91精品国产免费久久国语蜜臀| 国产AV无码专区亚洲AV麻豆丫|