simple Terracotta session 同步
部署前提: 配置好java環境和已有tomcat例項.
地址1:http://vdisk.weibo.com/s/dzUJr1vLcAWHl
地址2:http://code.taobao.org/p/myweb_project/src/trunk/MyWeb/WebContent/WEB-INF/lib/terracotta-toolkit-1.6-runtime-5.5.0_3.jar
地址3:https://pan.baidu.com/s/1o8B3Hyy#list/path=%2F%E6%88%91%E7%9A%84%E8%B5%84%E6%BA%90%2Fresource_aminglinux&parentPath=%2F%E6%88%91%E7%9A%84%E8%B5%84%E6%BA%90
tar -xf terracotta-3.7.7.tar.gz
mv terracotta-3.7.7 /usr/local/terracotta
cd /usr/local/terracotta/config-samples
cp tc-config-express-reference.xml tc-config.xml
vim tc-config.xml ------terracotta配置檔案,修改以下內容;
/usr/local/terracotta
./bin/start-tc-server.sh ----terraacotta單例項啟動;
如上圖,單臺terracotta,啟動成功.
增加tomcat配置:
# cp /usr/local/terracotta/common/terracotta-toolkit-1.6-runtime-5.7.0.jar $TOMCAT_HOME/lib/
# cp /usr/local/terracotta/sessions/terracotta-session-1.3.7.jar $TOMCAT_HOME/lib
或者直接cp這兩個到/usr/local/tomcat/lib下
cd /usr/local/tomcat/conf
vim context.xml
在行末增加以下;
tomcat+terrcaotta單例項配置完成.
相關文章
- 快取: Memcached和terracotta快取
- memcache同步session的方法Session
- 用Spring Web Flow和Terracotta搭建Web應用SpringWeb
- Oracle simple streamOracle
- Shrio(Simple,Java,Security)Java
- django-simple-captchaDjangoAPT
- SAP Simple FinanceNaN
- Oracle simple resource planOracle
- Simple definition of SAP productions
- Paxos Made Simple
- Simple Neural Network
- Simple state transition 3
- Project Three: Simple WorldProject
- Win10系統下怎麼禁止同步主機sessionWin10Session
- [譯]A Simple CSS Animation TutorialCSS
- Simple python reverse shellPython
- a simple example for spring AOPSpring
- A Simple Sample for Expression Tree (轉)Express
- vits-simple-api搭建API
- Simple FSM 3(asynchronous reset)
- Simple FSM 3(synchronous reset)
- 支付寶PC端單筆支付同步回撥session失效問題Session
- Laravel 5 的 Simple Captcha 包LaravelAPT
- Git基礎及Simple GitflowGit
- NC17383 A Simple Problem with Integers
- TheBrain匯出→Simple HTMLAIHTML
- 模糊測試工具Simple Fuzzer
- 【poj3468】A Simple Problem with Integers
- Simple Web API Server in Golang (1)WebAPIServerGolang
- Write a simple HTTP server in PythonHTTPServerPython
- SOAP(Simple Object Access Protocol) (轉)ObjectProtocol
- Homework record-Simple sorting
- Simple FSM1(asynchronous reset)
- Simple FSM1(synchronous reset)
- Simple FSM2(asynchronous reset)
- Simple FSM2(synchronous reset)
- oracle??邏輯DG同步卡住,session等待row cache lock的處理過程OracleSession
- Transformation之simple view merge 【三】ORMView