Changes between Version 6 and Version 7 of oid/WorkLog/09-01-21


Ignore:
Timestamp:
Jan 21, 2009, 4:41:35 PM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • oid/WorkLog/09-01-21

    v6 v7  
    2626 * 把 WAR 檔放到 /var/lib/tomcat5.5/webapps 底下,如果遇到 "Reload this Page  FAIL - Application at context path /${NAME} could not be started"的錯誤訊息,代表要設定 JAVA_HOME 或 JRE_HOME 環境變數。
    2727   * [http://www.dmdeveloper.com/forum/showthread.php?threadid=7844 參考解答]
     28   * 修改 /etc/default/tomcat5.5
     29{{{
     30#!diff
     31--- /etc/default/tomcat5.5.bak  2009-01-21 16:46:48.000000000 +0800
     32+++ /etc/default/tomcat5.5      2009-01-21 16:44:57.000000000 +0800
     33@@ -6,7 +6,7 @@
     34 # JDK version 1.4. If JAVA_HOME is not set, some common directories for
     35 # the Sun JDK, various J2SE 1.4 versions, and the free runtimes
     36 # java-gcj-compat-dev and kaffe are tried.
     37-#JAVA_HOME=/usr/lib/jvm/java-6-sun
     38+JAVA_HOME=/usr/lib/jvm/java-6-sun
     39
     40 # Directory for per-instance configuration files and webapps. It contain the
     41 # directories conf, logs, webapps, work and temp. See RUNNING.txt for details.
     42}}}