国产产在线精品亚洲AAVV,亚洲小说图片视频,国产成人综合亚洲亚洲国产第一页http://www.tkk7.com/fine/category/26174.htmlzh-cnThu, 27 Sep 2007 17:11:52 GMTThu, 27 Sep 2007 17:11:52 GMT60在myeclipse上開發liferayhttp://www.tkk7.com/fine/archive/2007/09/26/148409.htmlPeter PanPeter PanWed, 26 Sep 2007 10:22:00 GMThttp://www.tkk7.com/fine/archive/2007/09/26/148409.htmlhttp://www.tkk7.com/fine/comments/148409.htmlhttp://www.tkk7.com/fine/archive/2007/09/26/148409.html#Feedback0http://www.tkk7.com/fine/comments/commentRss/148409.htmlhttp://www.tkk7.com/fine/services/trackbacks/148409.html一直想研究一下Liferay,最近終于有時間開始行動了,在myeclipse上搭建開發環境及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中新建一個Web Project? (root),將liferay-portal-src-4.1.3\portal-web中的文件導入到root/web中,設置liferay-portal-src-4.1.3為required project(或者把liferay-portal-src-4.1.3的輸出直接設到web project的輸出上),并且加入liferay-portal-src-4.1.3的lib.
?????????修改Web Context-root為 / ,加入index.html,修改Web.xml,在src中添加portal-ext.properties(覆蓋portal.properties中的值,liferay中可以用ext來擴充配置),liferay-portal-src-4.1.3\definitions中的內容copy到src/com.liferay.portal.definitions中
添加com.liferay.portal.deploy.dependencies及其中的文件(變態的用到了util-*.jar三個,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這個目錄copy進需要添加的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

現在應該可以用于開發了,只是liferay編譯一下下要多等會了,哪個不是一般的慢呀(機子也實在太爛).

順便說下,debug了一下,個人感覺liferay的性能應該不會太理想,Spring用的也蠻古怪的,Factory中也用了事務。對liferay中spring的用法感覺也不是太好(也有點)。——個人觀點(水平有限,有錯的地方多多指教)



Peter Pan 2007-09-26 18:22 發表評論
]]>
(轉)liferay登陸頁面http://www.tkk7.com/fine/archive/2007/09/21/147181.htmlPeter PanPeter PanFri, 21 Sep 2007 10:15:00 GMThttp://www.tkk7.com/fine/archive/2007/09/21/147181.htmlhttp://www.tkk7.com/fine/comments/147181.htmlhttp://www.tkk7.com/fine/archive/2007/09/21/147181.html#Feedback1http://www.tkk7.com/fine/comments/commentRss/147181.htmlhttp://www.tkk7.com/fine/services/trackbacks/147181.html

登陸頁面

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



Peter Pan 2007-09-21 18:15 發表評論
]]>
主站蜘蛛池模板: 国产免费人人看大香伊| 青青在线久青草免费观看| 午夜亚洲福利在线老司机| 国产精品亚洲av色欲三区| 在线免费观看a级片| 伊人久久亚洲综合影院首页| **一级毛片免费完整视| 亚洲综合网美国十次| 精品无码人妻一区二区免费蜜桃 | 亚洲 欧洲 日韩 综合在线| 国产一区二区免费| 久久精品国产亚洲| 国产电影午夜成年免费视频| 亚洲校园春色另类激情| 性色av免费观看| 一级毛片正片免费视频手机看| 青柠影视在线观看免费| 亚洲综合亚洲综合网成人| 巨胸狂喷奶水视频www网站免费| 7723日本高清完整版免费| 亚洲精品视频免费看| 四虎永久在线精品免费观看视频| 亚洲人成无码久久电影网站| 午夜肉伦伦影院久久精品免费看国产一区二区三区 | 免费少妇a级毛片| 羞羞视频网站免费入口| 亚洲男人av香蕉爽爽爽爽| 99re8这里有精品热视频免费 | 日韩免费观看一级毛片看看| 色欲aⅴ亚洲情无码AV| 亚洲国产一区明星换脸| 日韩免费视频一区二区| 亚洲中文字幕无码亚洲成A人片| EEUSS影院WWW在线观看免费| 亚洲AV无一区二区三区久久| 一个人免费观看在线视频www| 精品亚洲永久免费精品| 8888四色奇米在线观看免费看| 精品久久久久久亚洲| aⅴ免费在线观看| 国产午夜亚洲精品不卡|