国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
Liferay在Tomcat上的布署

1.      Download Tomcat 5.5.17 from http://tomcat.apache.org/download-55.cgi. You can download the zip or executable file.

2.      Setup the executable file or release the zip file in the folder %TOMCAT_HOME%.

3.      Create and edit %TOMCAT_HOME%/conf/Catalina/localhost/ROOT.xml to set up the portal web application.
<Context path="%JAVA_WORKSPACE%">
</Context>

4.      Download portlet.jar and portal-kernel.jar from http://www.liferay.com/web/guest/downloads.
Create a %TOMCAT_HOME%/common/lib/ext directory and copy these two files there.

5.      Edit $TOMCAT_HOME/conf/catalina.properties.
common.loader=${catalina.home}/common/classes,\
...\${catalina.home}/common/lib/ext/*.jar

6.      Download mysql-connector-java-{$version}-bin.jar from http://www.mysql.com/products/connector/j/, and copy it to %TOMCAT_HOME%/common/lib/ext.

7.      Edit catalina.bat, add the following content into it:
rem ----- Execute The Requested Command ---------------------------------------
set JAVA_OPTS=-Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config

8.   Copy the file named xercesImpl.jar into %TOMCAT_HOME%/common/endorsed, this file can be found in the liferay source folder ROOT\WEB-INF\lib.

9.      Edit $TOMCAT_HOME/conf/Catalina/localhost/ROOT.xml.

<Context...>

<Resource

name="jdbc/LiferayPool"

auth="Container"

type="javax.sql.DataSource"

driverClassName="com.mysql.jdbc.Driver"

url="jdbc:mysql://%mysql server% /lportal?useUnicode=true&characterEncoding=UTF-8"

username=""

password=""

maxActive="100"

maxIdle="30"

maxWait="10000"

/>

</Context>

10.   Create a mail session bound to mail/MailSession.

If you have a mail server already, modify ROOT.xml to point your mail server. Or else, you must setup a mail server first, see 4.4. Replace the mail note with the following contents:

<Resource

        name="mail/MailSession"

        auth="Container"

        type="javax.mail.Session"

        mail.transport.protocol="smtp"

        mail.smtp.host="Your mail server name"

        mail.smtp.auth="true"

        mail.smtp.user="Your mail address"

        mail.smtp.password="Your password"

/>

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
【原創(chuàng)】Liferay Portal學(xué)習(xí)筆記(一):安裝
JavaMail 開(kāi)發(fā)筆記
檢測(cè)證書(shū)過(guò)期腳本
JNDI+Tomcat配置數(shù)據(jù)源的兩種方式
nginx下目錄瀏覽及其驗(yàn)證功能、版本隱藏等配置記錄
POSTFIX郵箱【四】安裝Cyrus-SASL使Postfix支持SMTP認(rèn)證
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服