jive setup tips (轉)
jive setup tips (轉)[@more@](1) setup database
myadmin -u -p create jive2
cat Jive_.sql |mysql -u root -p jive2
(2) copy files
(3) modify . to enable the setCharacterEncoding filter
vi $JIVE_APP_DIR/WEB-INF/web.xml
disable the 2.2 dtd tag and enable the 2.3 one
(4) replace the Lucene package with chinese tokenizer and analysis classes
(5) replace the SearchManager.class,DbSearchManager$Index.class with using chineseTokenizer and
(6) replace the StringUtils.class for hilite the query s in query result pages.
(7) Startup your app server and open the admin page of jive in IE,
normally,it's
(8) do setup according to the setup wizard.
(9) after all setup done,shutdown the appserver
(10) modify the $JIVE_HOME/jive_config.xml
find the url string and append some shit.
now ,your jdbc connection string may looks like this:
jdbc:mysql://localhost:3306/jive2?useUnicode=TRUE&characterEncoding=gb2312
(11) modify your locale file and compile it
native2ascii -encoding gb2312 my_translation.properties jive_i18n_YY.properties
(12) restart ur app server and open the admin page again
(13) in the locale setting page,set ur encoding to gb2312 and locale to zh_CN
myadmin -u -p create jive2
cat Jive_.sql |mysql -u root -p jive2
(2) copy files
(3) modify . to enable the setCharacterEncoding filter
vi $JIVE_APP_DIR/WEB-INF/web.xml
disable the 2.2 dtd tag and enable the 2.3 one
(4) replace the Lucene package with chinese tokenizer and analysis classes
(5) replace the SearchManager.class,DbSearchManager$Index.class with using chineseTokenizer and
(6) replace the StringUtils.class for hilite the query s in query result pages.
(7) Startup your app server and open the admin page of jive in IE,
normally,it's
(8) do setup according to the setup wizard.
(9) after all setup done,shutdown the appserver
(10) modify the $JIVE_HOME/jive_config.xml
find the url string and append some shit.
now ,your jdbc connection string may looks like this:
jdbc:mysql://localhost:3306/jive2?useUnicode=TRUE&characterEncoding=gb2312
(11) modify your locale file and compile it
native2ascii -encoding gb2312 my_translation.properties jive_i18n_YY.properties
(12) restart ur app server and open the admin page again
(13) in the locale setting page,set ur encoding to gb2312 and locale to zh_CN
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752019/viewspace-958250/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Matrixone PLM白皮書及Setup Tips
- SetUp a Secure Ubuntu Server[轉]UbuntuServer
- Jive筆記7 -- Jive的硬傷 (轉)筆記
- 我安裝JIVE,在setup時,按繼續候,出現錯誤。
- Setup Standby Database on One PC(轉)Database
- 版主求救---安裝執行時出錯:HTTP Status 404 - /jive/admin/setupHTTP
- jive安裝指南 (轉)
- [轉]Setup Session Timeout In Oracle BIEESessionOracle
- Jive筆記3----Jive2.1.1 License保護原理分析 (轉)筆記
- Inno Setup 打包工具總結(轉)
- 關於jive論壇setup時,管理員賬號設定 不成功的問題
- Jive 中的設計模式 (轉)設計模式
- Aix下的幾個tips(轉)AI
- Jive中的分頁處理 (轉)
- setup types & setup standard operation(BOM>Rountings)
- Jive筆記2----關於Jive2中的中文搜尋 (轉)筆記
- (轉)Inno Setup入門(十二)——Pascal指令碼(1)指令碼
- MuseMail SetupAI
- Linux的一些Tips(轉)Linux
- Oracle Audit setupOracle
- SETUP(安裝)
- oracle dataguard setupOracle
- Vue 3 setupVue
- Swift-Tips之整數轉陣列Swift陣列
- Jive筆記8--查詢的Bug (轉)筆記
- 在硬碟建置Linux系統之setup啟動(轉)硬碟Linux
- Tips
- [轉帖]10 Tips for using the Eclipse Memory AnalyzerEclipse
- setup and test samba serverSambaServer
- Lubuntu Setup for ProgrammingUbuntu
- TOMCAT+JIVE的安裝配置(支援中文) (轉)Tomcat
- Jive筆記6 --Database Package下面的暗黑世界 (轉)筆記DatabasePackage
- Jive筆記1--關於Jive1中的驗證和相關類的呼叫 (轉)筆記
- NPM TipsNPM
- AutoLayout Tips
- Tips HTMLHTML
- 前端 - tips前端
- Swift TipsSwift