Create context.xml as below content and package into the WAR.
2. NullPointerException caz by the log4j
Put log4j.jar to tomcat/server/lib
3. SVN Client Installation
這邊介紹Eclipse的SVN Plugin,叫做Subclipse,官方網站在:http://subclipse.tigris.org/ 他也有提供update site http://subclipse.tigris.org/update。在Eclipse選單中選 Help->Software Updates->Find and Install-> Search for new features to install ->New Remote Site。URL 就輸入剛剛的http://subclipse.tigris.org/update。安裝起來就好了。
安裝後會有許多新的View以 及多一個SVN Repository Exploring的Perspective。在SVN Repository中按右鍵New -> Repository Location。以剛剛的例子來說,url 為 svn://localhost/svnhome,帳號為jared,密碼為passwd。如下圖:
使用SVN可以在Project按右鍵Team -> Share Project -> SVN ->剛剛建立的Repository 其餘的使用方法和CVS都很類似。
Language Problem:
C:\> SET LANG=en_US
or SET LC_MESSAGE=en_US
http://www.duduwolf.com/post/setting_up_subversion.asp
http://rextang.net/blogs/work/archive/2006/05/03/3693.aspx
4. Mysql gbk encoding
set names 'gbk';
<context antiresourcelocking="true" reloadable="true">
</context>
707

被折叠的 条评论
为什么被折叠?



