Jive Setup Tips

zhaozj2021-02-16  42

(1) setup databasemysqladmin -u root -p create jive2cat Jive_Mysql.sql | mysql -u root -p jive2 (2) copy files (3) modify web.xml to enable the setCharacterEncoding filtervi $ JIVE_APP_DIR / WEB-INF / web.xmldisable the servlet2.2 dtd tag and enable the 2.3 one (4) replace the Lucene package with chinese tokenizer and analysis classes (5) replace the DbSearchManager.class, DbSearchManager $ Index.class with using chineseTokenizer and (6) replace the StringUtils.class For Hilite the Query Words in Query Result Pages. (7) Startup Your App Server and Open The Admin Page of Jive In IE, NORMALLY, It's Http: // localhost: 8080 / jive / admin / (8) do setup accounting to the the . setup wizard (9) after all setup done, shutdown the appserver (10) modify the $ JIVE_HOME / jive_config.xmlfind the JDBC 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 ITNATIVE2ASCII -ENCODING GB2312 M Y_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 EN_CN

转载请注明原文地址:https://www.9cbs.com/read-27859.html

New Post(0)