2009年8月19日 星期三
tomcat server.xml設定全域的DataSource / mailSession資源
所謂全域就是指同一tomcat中的所有context
1. 在server.xml的<globalnamingresources>中加入新的<resource>元素。
2. 在context.xml的<context>中加入 <resourcelink name="mail/MailSession" global="mail/MailSession" type="javax.sql.DataSource"></resourcelink>
2009年8月4日 星期二
JAVA Cache System
Java Cache System 是Apache Jakarta下的一個子專案,
下為一篇介紹Java Cache System的文章:
Knowing Cache and Java Cache System(英文)
Apache的Mail Server、FTP Server都是純JAVA的
Apache JAMES Mail Server
而要將JAMES使用Windows Services的方式執行:
\bin>wrapper -i ..\conf\wrapper.conf
移除windows service:
\bin>wrapper -r ..\conf\wrapper.conf
Apache FTP Server
要將FTP Server以服務方式執行:
\bin\
service install
移除windows service:
\bin\
service remove
‹
›
首頁
查看網路版