svn commit: r1626688 [26/46] - in /ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23: ./ applications/accounting/config/ applications/accounting/data/ applications/accounting/src/org/ofbiz/accounting/invoice/ applications/accounting/src/org/ofbi...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1626688 [26/46] - in /ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23: ./ applications/accounting/config/ applications/accounting/data/ applications/accounting/src/org/ofbiz/accounting/invoice/ applications/accounting/src/org/ofbi...

jleroux@apache.org
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/build.xml?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/build.xml (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/build.xml Mon Sep 22 08:09:27 2014
@@ -212,21 +212,19 @@ under the License.
     <target name="svninfo"
         description="Update the Release-revision info in the footer. Note that you need a valid Internet connection and Subversion connected to the OFBiz repository for that ">
         <echo message="Creating svninfo..."/>
-        <exec executable="svn" dir="." output="runtime/svninfo_tmp.xml" failonerror="true" resultproperty="hasSvnRepo">
+        <exec executable="svn" dir="." output="runtime/svninfo_tmp.xml">
             <arg value="info"/>
             <arg value="--xml"/>
         </exec>
-        <if>
-            <isset property="hasSvnRepo"/>
-            <then>                          
-                <xmlproperty file="runtime/svninfo_tmp.xml"/>
-                <basename property="releasePath" file="${info.entry.url}"/>
-                <echo message="Found Release-revision: ${releasePath}-r${info.entry.commit(revision)}"/>
-                <echo message=" - Release-revision : ${releasePath}-r${info.entry.commit(revision)}" file="runtime/svninfo.ftl"/>
-                <delete file="runtime/svninfo_tmp.xml"/>
-                <echo message="Done!"/>
-            </then>                                  
-        </if>                      
+        <xmlproperty file="runtime/svninfo_tmp.xml"/>
+        <echo message="Rev:${info.entry.commit(revision)}"/>
+        <basename property="releasePath" file="${info.entry.url}"/>
+        <tstamp>
+            <format property="dateTime" pattern="yyyy-MM-dd HH:mm:ss"/>
+        </tstamp>        
+        <echo message=" - Release-revision : ${releasePath}-r${info.entry.commit(revision)},  ${uiLabelMap.CommonBuiltOn} ${dateTime}" file="runtime/svninfo.ftl"/>
+        <delete file="runtime/svninfo_tmp.xml"/>
+        <echo message="Done!"/>
     </target>
 
     <target name="clean-svninfo">
@@ -243,18 +241,16 @@ under the License.
             <arg value="--abbrev-ref"/>
             <arg value="HEAD"/>
         </exec>
-        <exec executable="git" outputproperty="revision" failonerror="true" resultproperty="hasGitRepo">
+        <exec executable="git" outputproperty="revision">
             <arg value="rev-parse"/>
             <arg value="HEAD"/>
         </exec>
-        <if>
-            <isset property="hasGitRepo"/>
-            <then>                          
-                <echo message="Found Branch-revision: ${branch}-${revision}"/>
-                <echo message=" - Branch-revision: ${branch}-${revision}" file="runtime/gitinfo.ftl"/>
-                <echo message="Done!"/>
-            </then>                                  
-        </if>                
+        <tstamp>
+            <format property="dateTime" pattern="yyyy-MM-dd HH:mm:ss"/>
+        </tstamp>        
+        <echo message="Found Branch-revision: ${branch}-${revision}"/>
+        <echo message=" - Branch-revision: ${branch}-${revision}, ${uiLabelMap.CommonBuiltOn} ${dateTime}" file="runtime/gitinfo.ftl"/>
+        <echo message="Done!"/>
     </target>
 
     <target name="clean-gitinfo">
@@ -262,46 +258,34 @@ under the License.
         <echo message=" " file="runtime/gitinfo.ftl"/>
         <echo message="Done!"/>
     </target>
-    
-    <target name="deployed-date-time"
-        description="Set the date and time of last deployment info in the footer.">
-        <tstamp>
-            <format property="dateTime" pattern="yyyy/MM/dd HH:mm:ss"/>
-        </tstamp>
-        <echo message="${dateTime}" file="runtime/deployedThe.ftl"/>
-        <echo message="Done!"/>
-    </target>
 
-    <target name="clean-deployed-date-time">
-        <echo message="Resetting deployed-date-time..."/>
-        <echo message=" " file="runtime/deployedThe.ftl"/>
-        <echo message="Done!"/>
-    </target>    
-    
     <!-- ================================================================== -->
     <!-- Apply patches where needed                                         -->
     <!-- ================================================================== -->
+  
+  
 
     <target name="build-dev"
-        description="Patch and build all sources in a dev environment. This includes patching OFBiz using patches in runtime/patches. On Windows you need to have patch.exe in the path and patch files must all be in dos format (CR+LF)">
-        <!-- patch task can't handle a fileset => create a global patch -->
-        <concat destfile="${basedir}/runtime/patches/dev.patch" encoding="UTF-8" outputencoding="UTF-8">            
-            <fileset dir="${basedir}/runtime/patches" casesensitive="no">
-                <exclude name="dev.patch"/> <!-- exclude the patch itself in case it's still there -->
-                <include name="*.patch"/>
-            </fileset>
-        </concat>
-        <if>
-            <resourceexists>
-                <file file="${basedir}/runtime/patches/dev.patch"/>
-            </resourceexists>            
-            <then>                          
-                <patch strip="0" patchfile="${basedir}/runtime/patches/dev.patch" dir="${basedir}"/>
-                <delete>
-                    <fileset dir="${basedir}/runtime/patches" includes="dev.patch"/>
-                </delete>
-            </then>                                  
-        </if>        
+      description="Patch sources in a dev environment if patch files are present in runtime/patches.">
+      <!-- patch task can't handle a fileset => create a global patch -->
+      <concat destfile="${basedir}/runtime/patches/dev.patch" encoding="UTF-8" outputencoding="UTF-8">
+        <fileset dir="${basedir}/runtime/patches" casesensitive="no">
+          <exclude name="dev.patch"/> <!-- exclude the patch itself in case it's still there -->
+          <include name="*.patch"/>
+        </fileset>
+      </concat>
+      <if>
+        <available file="${basedir}/runtime/patches/dev.patch"/>
+        <then>
+          <exec executable="svn" dir="${basedir}">
+            <arg value="patch"/>
+            <arg value="${basedir}/runtime/patches/dev.patch"/>
+          </exec>
+          <delete>
+            <fileset dir="${basedir}/runtime/patches" includes="dev.patch"/>
+          </delete>
+        </then>
+      </if>
     </target>
     
     <target name="build-test"
@@ -343,6 +327,7 @@ under the License.
     
     <target name="build" depends="ofbiz-init">
         <echo message="[build] ========== Start Building (Compile) =========="/>
+        <antcall target="build-dev"/>
 
         <antcall target="build-framework"/>
         <antcall target="build-applications"/>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/DateTimeLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/DateTimeLabels.xml?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/DateTimeLabels.xml (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/DateTimeLabels.xml Mon Sep 22 08:09:27 2014
@@ -17,7 +17,8 @@
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
---><resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+-->
+<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <property key="hour.plural">
         <value xml:lang="de">Stunden</value>
         <value xml:lang="en">hours</value>
@@ -133,7 +134,7 @@
         <value xml:lang="ru">недели</value>
         <value xml:lang="th">สัปดาห์</value>
         <value xml:lang="zh">周</value>
-        <value xml:lang="zh_TW">周</value>
+        <value xml:lang="zh_TW">週</value>
     </property>
     <property key="week.singular">
         <value xml:lang="de">Woche</value>
@@ -146,6 +147,6 @@
         <value xml:lang="ru">неделя</value>
         <value xml:lang="th">สัปดาห์</value>
         <value xml:lang="zh">周</value>
-        <value xml:lang="zh_TW">周</value>
+        <value xml:lang="zh_TW">週</value>
     </property>
 </resource>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/log4j2.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/log4j2.xml?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/log4j2.xml (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/config/log4j2.xml Mon Sep 22 08:09:27 2014
@@ -32,10 +32,10 @@
         <logger name="org.apache" level="warn" additivity="false">
             <appender-ref ref="external"/>
         </logger>
-        <logger name="org.apache.tomcat" level="info" additivity="true">
+        <logger name="org.apache.tomcat" level="info" additivity="false">
             <appender-ref ref="external"/>
         </logger>
-        <logger name="org.apache.catalina" level="info" additivity="true">
+        <logger name="org.apache.catalina" level="info" additivity="false">
             <appender-ref ref="external"/>
         </logger>
         <logger name="freemarker" level="warn" additivity="false">

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/FileUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/FileUtil.java?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/FileUtil.java (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/FileUtil.java Mon Sep 22 08:09:27 2014
@@ -38,9 +38,8 @@ import java.util.Set;
 import javolution.util.FastList;
 import javolution.util.FastSet;
 
-import org.ofbiz.base.location.ComponentLocationResolver;
-
 import org.apache.commons.io.FileUtils;
+import org.ofbiz.base.location.ComponentLocationResolver;
 
 /**
  * File Utilities
@@ -294,6 +293,7 @@ public class FileUtil {
             }
         }
 
+        @Override
         public boolean accept(File dir, String name) {
             File file = new File(dir, name);
             if (file.getName().startsWith(".")) {
@@ -395,4 +395,20 @@ public class FileUtil {
            return false;
        }
    }
+  
+   /**
+   *
+   *
+   * Check if the specified <code>fileName</code> exists and is a file (not a directory)
+   * If the specified file doesn't exist or is a directory <code>FALSE</code> returns.
+   *
+   * @param fileName A full path to a file in which the String will be searched.
+   * @return <code>TRUE</code> if the <code>fileName</code> exists and is a file (not a directory)
+   *         <code>FALSE</code> otherwise.
+   */
+   public static boolean isFile(String fileName) {
+       File f = new File(fileName);
+       return f.isFile();
+   }
+  
 }

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/UtilValidate.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/UtilValidate.java?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/UtilValidate.java (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/base/src/org/ofbiz/base/util/UtilValidate.java Mon Sep 22 08:09:27 2014
@@ -1241,16 +1241,16 @@ public class UtilValidate {
 
         if (!isCreditCard(cc)) return "Unknown";
 
-        if (isMasterCard(cc)) return "MasterCard";
-        if (isVisa(cc)) return "Visa";
-        if (isAmericanExpress(cc)) return "AmericanExpress";
-        if (isDinersClub(cc)) return "DinersClub";
-        if (isDiscover(cc)) return "Discover";
-        if (isEnRoute(cc)) return "EnRoute";
-        if (isJCB(cc)) return "JCB";
-        if (isSolo(cc)) return "Solo";
-        if (isswitch (cc)) return "Switch";
-        if (isVisaElectron(cc)) return "VisaElectron";
+        if (isMasterCard(cc)) return "CCT_MASTERCARD";
+        if (isVisa(cc)) return "CCT_VISA";
+        if (isAmericanExpress(cc)) return "CCT_AMERICANEXPRESS";
+        if (isDinersClub(cc)) return "CCT_DINERSCLUB";
+        if (isDiscover(cc)) return "CCT_DISCOVER";
+        if (isEnRoute(cc)) return "CCT_ENROUTE";
+        if (isJCB(cc)) return "CCT_JCB";
+        if (isSolo(cc)) return "CCT_SOLO";
+        if (isswitch (cc)) return "CCT_SWITCH";
+        if (isVisaElectron(cc)) return "CCT_VISAELECTRON";
         return "Unknown";
     }
 
@@ -1264,17 +1264,17 @@ public class UtilValidate {
         if (isEmpty(cardNumberPassed)) return defaultEmptyOK;
         String cardNumber = stripCharsInBag(cardNumberPassed, creditCardDelimiters);
 
-        if ((cardType.equalsIgnoreCase("VISA")) && (isVisa(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("MASTERCARD")) && (isMasterCard(cardNumber))) return true;
-        if (((cardType.equalsIgnoreCase("AMERICANEXPRESS")) || (cardType.equalsIgnoreCase("AMEX"))) && (isAmericanExpress(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("DISCOVER")) && (isDiscover(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("JCB")) && (isJCB(cardNumber))) return true;
-        if (((cardType.equalsIgnoreCase("DINERSCLUB")) || (cardType.equalsIgnoreCase("DINERS"))) && (isDinersClub(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("CARTEBLANCHE")) && (isCarteBlanche(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("ENROUTE")) && (isEnRoute(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("SOLO")) && (isSolo(cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("SWITCH")) && (isswitch (cardNumber))) return true;
-        if ((cardType.equalsIgnoreCase("VISAELECTRON")) && (isVisaElectron(cardNumber))) return true;
+        if (("CCT_VISA".equalsIgnoreCase(cardType)) && (isVisa(cardNumber))) return true;
+        if (("CCT_MASTERCARD".equalsIgnoreCase(cardType)) && (isMasterCard(cardNumber))) return true;
+        if ((("CCT_AMERICANEXPRESS".equalsIgnoreCase(cardType)) || ("CCT_AMEX".equalsIgnoreCase(cardType))) && (isAmericanExpress(cardNumber))) return true;
+        if (("CCT_DISCOVER".equalsIgnoreCase(cardType)) && (isDiscover(cardNumber))) return true;
+        if (("CCT_JCB".equalsIgnoreCase(cardType)) && (isJCB(cardNumber))) return true;
+        if ((("CCT_DINERSCLUB".equalsIgnoreCase(cardType)) || ("CCT_DINERS".equalsIgnoreCase(cardType))) && (isDinersClub(cardNumber))) return true;
+        if (("CCT_CARTEBLANCHE".equalsIgnoreCase(cardType)) && (isCarteBlanche(cardNumber))) return true;
+        if (("CCT_ENROUTE".equalsIgnoreCase(cardType)) && (isEnRoute(cardNumber))) return true;
+        if (("CCT_SOLO".equalsIgnoreCase(cardType)) && (isSolo(cardNumber))) return true;
+        if (("CCT_SWITCH".equalsIgnoreCase(cardType)) && (isswitch (cardNumber))) return true;
+        if (("CCT_VISAELECTRON".equalsIgnoreCase(cardType)) && (isVisaElectron(cardNumber))) return true;
         return false;
     }
 

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/bi/config/BiUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/bi/config/BiUiLabels.xml?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/bi/config/BiUiLabels.xml (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/bi/config/BiUiLabels.xml Mon Sep 22 08:09:27 2014
@@ -35,7 +35,7 @@
         <value xml:lang="ja">OFBiz: ビジネスインテリジェンス</value>
         <value xml:lang="th">OFBiz:การเรียนรู้ทางธุรกิจ</value>
         <value xml:lang="zh">OFBiz:商业智能</value>
-        <value xml:lang="zh_TW">OFBiz:商業智慧</value>
+        <value xml:lang="zh_TW">OFBiz:商業智慧</value>
     </property>
     <property key="BusinessIntelligenceCompanySubtitle">
         <value xml:lang="ar">جزء من عائلة أوفبيز للتطبيقات الحرة للتسيير</value>
@@ -105,7 +105,7 @@
         <value xml:lang="it">La chiave naturale: ${naturalKeyFields} è vuota nel valore: ${dimensionValue}</value>
         <value xml:lang="ja">自然キー: ${naturalKeyFields} が値: ${dimensionValue} で空です</value>
         <value xml:lang="zh">值:${dimensionValue} 中的自然键:${naturalKeyFields} 是空的</value>
-        <value xml:lang="zh_TW">值:${dimensionValue} 中的自然鍵:${naturalKeyFields} 是空的</value>
+        <value xml:lang="zh_TW">值:${dimensionValue} 中的自然鍵:${naturalKeyFields} 是空的</value>
     </property>
     <property key="BusinessIntelligenceNote10">
         <value xml:lang="en">The best practices for datawarehouses are mainly taken from the great book "The Data Warehouse Toolkit - Second Edition" by Ralph Kimball.</value>
@@ -114,7 +114,7 @@
         <value xml:lang="ja">データウェアハウスのベストプラックティスは偉大な書籍 "The Data Warehouse Toolkit - Second Edition" by Ralph Kimball の中で詳しく述べられています。</value>
         <value xml:lang="th">วิธีปฏิบัติที่ดีที่สุดสำหรับข้อมูลคลังสินค้าส่วนใหญ่มาจากหนังสือดี ๆ ชื่อ "The Data Warehouse Toolkit - Second Edition" โดย Ralph Kimball</value>
         <value xml:lang="zh">数据仓库的最佳实践来自Ralph Kimball撰写的伟大的书《数据仓库工具箱:维度建模的完全指南(第二版)》。</value>
-        <value xml:lang="zh_TW">資料倉儲的最佳實務來自Ralph Kimball撰寫的偉大的書《資料倉儲工具箱:維度建模的完全指南(第二版)》。</value>
+        <value xml:lang="zh_TW">資料倉儲的最佳慣例來自Ralph Kimball撰寫的偉大的書《資料倉儲工具箱:維度建模的完全指南(第二版)》.</value>
     </property>
     <property key="BusinessIntelligenceNote11">
         <value xml:lang="en">The data for dimensions and facts are maintained and kept up to date using standard OFBiz services</value>
@@ -132,7 +132,7 @@
         <value xml:lang="ja">(大部分はミニ言語で記述されていて、カスタマイズが容易) および ECAルール (容易にカスタマイズ可能) が使われています。</value>
         <value xml:lang="th">(สิ่งที่เขียนทั้งมหดใน minilang ถึง facilitate customizations) และเข้าแทนที่สถานะ (อย่างสะดวก)</value>
         <value xml:lang="zh">(它们中的绝大多数使用minilang来实现定制)以及eca规则(容易定制)实现。</value>
-        <value xml:lang="zh_TW">(它们中的絶大多數使用minilang來實作客製化)以及ECA規則(容易客製化)。</value>
+        <value xml:lang="zh_TW">(它們中的絶大多數使用minilang來實作客製化)以及ECA規則(容易客製化).</value>
     </property>
     <property key="BusinessIntelligenceNote13">
         <value xml:lang="en">The main low level services to post data to the datawarehouse,</value>
@@ -141,7 +141,7 @@
         <value xml:lang="ja">主に下位(子)のサービスでデータウェアハウスにデータが送信されます、</value>
         <value xml:lang="th">หลักการบริการระดับล่างในการบันทึกข้อมูลลงในคลังข้อมูลสินค้า</value>
         <value xml:lang="zh">主要的底层服务实现把数据提交到数据仓库,</value>
-        <value xml:lang="zh_TW">主要的底層服務實現把資料提交到資料倉儲,</value>
+        <value xml:lang="zh_TW">主要的底層服務實現把資料提交到資料倉儲,</value>
     </property>
     <property key="BusinessIntelligenceNote14">
         <value xml:lang="en">to map the operational keys with the datawarehouse ones, and to manage</value>
@@ -150,7 +150,7 @@
         <value xml:lang="ja">操作キーとデータウェアハウスをマップし、</value>
         <value xml:lang="th">แผนที่สำคัญที่สามารถใช้งานได้ด้วยข้อมูลคลังสินค้าและการจัดการ</value>
         <value xml:lang="zh">把操作键与数据仓库的建立映射,并管理</value>
-        <value xml:lang="zh_TW">把操作關鍵和資料倉儲的部份建立映對,並管理</value>
+        <value xml:lang="zh_TW">把操作關鍵和資料倉儲的部份建立映對,並管理</value>
     </property>
     <property key="BusinessIntelligenceNote15">
         <value xml:lang="en">history of data changes are already implemented; they will be improved as the datawarehouse will grow (e.g. performance enhancements).</value>
@@ -159,7 +159,7 @@
         <value xml:lang="ja">履歴データの変更の管理を行うことがすでに実装されています: データウェアハウスの成長に合わせてそれらも見直されます (たとえばパフォーマンスの改善)</value>
         <value xml:lang="th">ความเป็นมาของข้อมูลได้เปลี่ยนแปลงเรียบร้อยแล้ว; ได้มีการปรับปรุงข้อมูลคลังสินค้าให้ดีขึ้น (ตัวอย่างเช่น การทำให้ดีขึ้น)</value>
         <value xml:lang="zh">已经实现数据的历史记录;它们会随数据仓库的增长而改进(如性能提升)。</value>
-        <value xml:lang="zh_TW">已經實作資料的歷史記錄;它們會随資料倉儲的增長而改進(如性能提升)。</value>
+        <value xml:lang="zh_TW">已經實作資料的歷史記錄;它們會隨資料倉儲的增長而改進(如性能提升).</value>
     </property>
     <property key="BusinessIntelligenceNote16">
         <value xml:lang="en">The following dimensions (and data services) are defined: CurrencyDimension, DateDimension, ProductDimension;</value>
@@ -168,7 +168,7 @@
         <value xml:lang="ja">次のディメンジョン (およびデータサービス) が定義されています: 通貨ディメンジョン、日付ディメンジョン、製品ディメンジョン、</value>
         <value xml:lang="th">การวัดขนาดตามที่กำหนด (และข้อมูลการบริการ) ระบุ : CurrencyDimension, DateDimension, ProductDimension;</value>
         <value xml:lang="zh">已经定义了下列维度(以及数据服务):货币维度、日期维度、产品维度;</value>
-        <value xml:lang="zh_TW">已經定義了下列維度(以及資料服務):貨幣維度、日期維度、產品維度;</value>
+        <value xml:lang="zh_TW">已經定義了下列維度(以及資料服務):貨幣維度、日期維度、產品維度;</value>
     </property>
     <property key="BusinessIntelligenceNote17">
         <value xml:lang="en">we will have to complete them and design the other ones (the total number of dimension will be probably around 20).</value>
@@ -177,7 +177,7 @@
         <value xml:lang="ja">私たちはそれを完了させ、別のものを設計する必要があります (ディメンジョンの合計は約20になります)。</value>
         <value xml:lang="th">เรากำลังทำสิ่งเหล่านั้นสำเร็จแล้วและวางแผนสิ่งต่อไป (จำนวนทั้งหมดประมาณ 20)</value>
         <value xml:lang="zh">我们将完成它们,并设计其它的(全部维度数量大约将在20个左右)。</value>
-        <value xml:lang="zh_TW">我們將完成它們,並設計其它的(全部維度數量大约將在20個左右)。</value>
+        <value xml:lang="zh_TW">我們將完成它們,並設計其它的(全部維度數量大約將在20個左右).</value>
     </property>
     <property key="BusinessIntelligenceNote18">
         <value xml:lang="en">Just one fact and one star schema are defined: SalesInvoiceItemFact and SalesInvoiceItemStarSchema.</value>
@@ -186,7 +186,7 @@
         <value xml:lang="ja">ファクトが1つとスタースキーマが1つ定義されています: 販売請求書明細ファクト および 販売請求書明細スタースキーマ。</value>
         <value xml:lang="th">จะต้องระบุ 1 ข้อเท็จจริงและ 1 โครงการ: SalesInvoiceItemFact and SalesInvoiceItemStarSchema</value>
         <value xml:lang="zh">只定义了一个事实和一个星型模型:SalesInvoiceItemFact和SalesInvoiceItemStarSchema。</value>
-        <value xml:lang="zh_TW">只定義了一個事實和一個星型模型:SalesInvoiceItemFact和SalesInvoiceItemStarSchema。</value>
+        <value xml:lang="zh_TW">只定義了一個事實和一個星型模型:SalesInvoiceItemFact和SalesInvoiceItemStarSchema.</value>
     </property>
     <property key="BusinessIntelligenceNote19">
         <value xml:lang="en">You can quickly initialize the datawarehouse by clicking on the link below:</value>
@@ -195,7 +195,7 @@
         <value xml:lang="ja">次のリンクをクリックすると、データウェアハウスを簡単に初期化することができます:</value>
         <value xml:lang="th">คุณสามารถเริ่มต้นเข้าสู่ข้อมูลคลังสินค้าได้อย่างรวดเร็วโดยการคลิกบนลิงค์ด้านล่างนี้</value>
         <value xml:lang="zh">你能通过点击下面的链接来快速初始化数据仓库:</value>
-        <value xml:lang="zh_TW">你能透過點選下面的連結來快速初始化資料倉儲:</value>
+        <value xml:lang="zh_TW">你能透過點選下面的連結來快速初始化資料倉儲:</value>
     </property>
     <property key="BusinessIntelligenceNote1">
         <value xml:lang="en">This is a proof of concept for an OFBiz integrated framework for business intelligence analysis.</value>
@@ -204,7 +204,7 @@
         <value xml:lang="ja">OFBiz統合フレームワークにおけるビジネスインテリジェンス分析のコンセプト。</value>
         <value xml:lang="th">การทดสอบความเข้าใจสำหรับ OFBiz framework เพื่อการวิเคราะห์ระบบการเรียนรู้ทางธุรกิจ</value>
         <value xml:lang="zh">这是一个验证OFBiz集成框架能够用于商业智能的实现。</value>
-        <value xml:lang="zh_TW">這是一個驗證OFBiz整合成框架能够用於商業智慧的實作。</value>
+        <value xml:lang="zh_TW">這是一個驗證OFBiz整複合框架能夠用於商業智慧的實作.</value>
     </property>
     <property key="BusinessIntelligenceNote20">
         <value xml:lang="en">The CurrencyDimension, DateDimension, ProductDimension and the SalesInvoiceItemFact entities will be automatically populated.</value>
@@ -213,7 +213,7 @@
         <value xml:lang="ja">通貨ディメンジョン、日付ディメンジョン、製品ディメンジョン、および販売請求書明細ファクトのエンティティは自動的に生成されます。</value>
         <value xml:lang="th">CurrencyDimension, DateDimension, ProductDimension และ SalesInvoiceItemFact จะคงอยู่โดยอัตโนมัติ</value>
         <value xml:lang="zh">会自动把CurrencyDimension、DateDimension、ProductDimension以及SalesInvoiceItemFact实体填入。</value>
-        <value xml:lang="zh_TW">會自動把CurrencyDimension、DateDimension、ProductDimension以及SalesInvoiceItemFact個體輸入。</value>
+        <value xml:lang="zh_TW">會自動把CurrencyDimension、DateDimension、ProductDimension以及SalesInvoiceItemFact資料實體增加資料.</value>
     </property>
     <property key="BusinessIntelligenceNote21">
         <value xml:lang="en">Then you can run the analysis using the report builder menu.</value>
@@ -222,7 +222,7 @@
         <value xml:lang="ja">そしてレポートビルダメニューから分析を実行することができます。</value>
         <value xml:lang="th">หลังจากที่คุณทำการวิเคราะห์แล้วสามารถใช้เมนูการสร้างรายงานได้</value>
         <value xml:lang="zh">然后你能使用报告生成程序菜单运行分析。</value>
-        <value xml:lang="zh_TW">然後你能使用報表產生程式選單執行分析。</value>
+        <value xml:lang="zh_TW">然後你能使用報表產生程式選單執行分析.</value>
     </property>
     <property key="BusinessIntelligenceNote22">
         <value xml:lang="en">The report builder is a very simple tool that allows you to run</value>
@@ -231,7 +231,7 @@
         <value xml:lang="ja">レポートビルダは、分析を実行するための、非常にシンプルなツールです。</value>
         <value xml:lang="th">การสร้างรายงานเป็นเครื่องมือง่าย ๆ ที่ให้คุณใช้งานได้</value>
         <value xml:lang="zh">报告生成程序是一个很简单的工具,允许你运行</value>
-        <value xml:lang="zh_TW">報表產生程式是一个很簡單的工具,允许你執行</value>
+        <value xml:lang="zh_TW">報表產生程式是一個很簡單的工具,允許你執行</value>
     </property>
     <property key="BusinessIntelligenceNote23">
         <value xml:lang="en">the analysis on all the star schemas defined in the system.</value>
@@ -240,7 +240,7 @@
         <value xml:lang="ja">すべてのスタースキーマ上での分析がシステムで定義されています。</value>
         <value xml:lang="th">การวิเคราะห์บนแผนผังทั้งหมดที่ระบุในระบบ</value>
         <value xml:lang="zh">系统中定义的所有星型模型的分析。</value>
-        <value xml:lang="zh_TW">系统中定义的所有星型模型的分析。</value>
+        <value xml:lang="zh_TW">系統中定義的所有星型模型的分析.</value>
     </property>
     <property key="BusinessIntelligenceNote24">
         <value xml:lang="en">However, right now there is just one star schema defined:</value>
@@ -249,7 +249,7 @@
         <value xml:lang="ja">しかし、今現在1つのスタースキーマだけが定義されています:</value>
         <value xml:lang="th">อย่างไรก็ตาม, ขณะนี้มีแผนผังที่กำหนด:</value>
         <value xml:lang="zh">然而,目前只定义了一个星型模型:</value>
-        <value xml:lang="zh_TW">然而,目前只定義了一個星型模型:</value>
+        <value xml:lang="zh_TW">然而,目前只定義了一個星型模型:</value>
     </property>
     <property key="BusinessIntelligenceNote25">
         <value xml:lang="en">SalesInvoiceItemStarSchema that is a simple "profit and loss" (P&amp;L) analysis.</value>
@@ -258,7 +258,7 @@
         <value xml:lang="ja">販売請求明細スタースキーマ は単純な "損益" (P&amp;L) 分析です。</value>
         <value xml:lang="th">SalesInvoiceItemStarSchema เป็นการวิเคราะห์ขั้นพื้นฐานของ "กำไรและขาดทุน" (P&amp;L) </value>
         <value xml:lang="zh">销售发票明细星型模型(SalesInvoiceItemStarSchema)是一个简单的盈亏分析。</value>
-        <value xml:lang="zh_TW">銷售發票明细星型模型(SalesInvoiceItemStarSchema)是一個简單的盈虧分析。</value>
+        <value xml:lang="zh_TW">銷售發票細項星型模型(SalesInvoiceItemStarSchema)是一個簡單的盈虧分析.</value>
     </property>
     <property key="BusinessIntelligenceNote26">
         <value xml:lang="en">Just select using the checkboxes the fields (columns) you want to see in the report</value>
@@ -267,7 +267,7 @@
         <value xml:lang="ja">チェックボックスの項目を選択するだけでレポートを参照することができます。</value>
         <value xml:lang="th">จะต้องเลือกใช้เช็คบ็อก (คอลัมภ์) ตามที่คุณต้องการให้มีในรายงาน</value>
         <value xml:lang="zh">使用选择框选择你想在报告中看到的那些数据项(列),</value>
-        <value xml:lang="zh_TW">使用選擇框選擇你想在報表中看到的那些欄位,</value>
+        <value xml:lang="zh_TW">使用選擇框選擇你想在報表中看到的那些欄位,</value>
     </property>
     <property key="BusinessIntelligenceNote27">
         <value xml:lang="en">and a simple report will be shown: according to the columns selected the data will be aggregated (drill up/down);</value>
@@ -276,7 +276,7 @@
         <value xml:lang="ja">そして、選択した項目のデータに従って簡単なレポートが集計され表示されます (ドリルアップ/ダウン)</value>
         <value xml:lang="th">และพื้นฐานของรายงานจะต้องแสดง: ตามคอลัมภ์ที่เลือกข้อมูลจะต้องรวมกัน (drill up/down);</value>
         <value xml:lang="zh">然后会显示一个简单的报告:按照选择的列,数据会被聚合(汇总分析/细化分析);</value>
-        <value xml:lang="zh_TW">然後會顯示一個簡單的報表:按照選擇的欄位,資料會被聚合(匯總分析/細化分析);</value>
+        <value xml:lang="zh_TW">然後會顯示一個簡單的報表:按照選擇的欄位,資料會被聚合(匯總分析/細化分析);</value>
     </property>
     <property key="BusinessIntelligenceNote28">
         <value xml:lang="en">all the descriptions you see in the report screens are pulled from the entity definitions.</value>
@@ -285,7 +285,7 @@
         <value xml:lang="ja">レポート画面のすべての定義がエンティティの定義から抽出されます。</value>
         <value xml:lang="th">รายละเอียดทั้งหมดที่คุณเห็นในหน้ารายงานดึงมาจากสิ่งที่กำหด</value>
         <value xml:lang="zh">你在报告屏幕中看到的全部描述都是从实体定义中抽取出来的。</value>
-        <value xml:lang="zh_TW">你在報表畫面中看到的全部描述都是從個體定義中抽取出來的。</value>
+        <value xml:lang="zh_TW">你在報表畫面中看到的全部描述都是從資料實體定義中抽取出來的.</value>
     </property>
     <property key="BusinessIntelligenceNote29">
         <value xml:lang="en">The initialization is needed only once, because the product data and sales invoice data</value>
@@ -294,7 +294,7 @@
         <value xml:lang="ja">製品データおよび販売請求データのために、初期化は1回だけ必要です。</value>
         <value xml:lang="th">การเริ่มต้นเป็นความต้องการอย่างแรกเพราะเป็นข้อมูลสินค้าและข้อมูลใบแจ้งการขาย</value>
         <value xml:lang="zh">初始化只需要做一次,因为产品数据和销售发票数据</value>
-        <value xml:lang="zh_TW">初始化只需要做一次,因為產品資料和銷售發票資料</value>
+        <value xml:lang="zh_TW">初始化只需要做一次,因為產品資料和銷售發票資料</value>
     </property>
     <property key="BusinessIntelligenceNote2">
         <value xml:lang="en">The idea is to define a set entities for business intelligence analysis in a separate (olap) database,</value>
@@ -303,7 +303,7 @@
         <value xml:lang="ja">ビジネスインテリジェンス分析のために別の(OLAP)データベースにエンティティ一式を定義するという考えは、</value>
         <value xml:lang="th">แผนการในการตั้งค่าสิ่งที่มีอยู่เพื่อวิเคราะห์การเรียนรู้ทางธุรกิจในการแยก (olap) ฐานข้อมูล</value>
         <value xml:lang="zh">思路是在一个独立的(OLAP)数据库中为商业智能分析定义一组实体,</value>
-        <value xml:lang="zh_TW">點子是在一個分離的(OLAP)資料庫為商業智慧分析定義一组個體,</value>
+        <value xml:lang="zh_TW">點子是在一個分離的(OLAP)資料庫為商業智慧分析定義一組資料實體,</value>
     </property>
     <property key="BusinessIntelligenceNote30">
         <value xml:lang="en">are kept updated by ecas: if you create/update a product or create a new invoice,</value>
@@ -312,7 +312,7 @@
         <value xml:lang="ja">製品の作成/更新または新規請求の作成時のECAS更新で保たれます。</value>
         <value xml:lang="th">เป็นการเปลี่ยนแปลงโดยการแทนที่: ถ้าคุณสร้าง/เปลี่ยนแปลงสินค้าหรือสร้างใบส่งของใหม่</value>
         <value xml:lang="zh">是由ECAS来保持和更新的:如果你创建/更新一个产品或新建一个发票,</value>
-        <value xml:lang="zh_TW">是由ECAS來保持和更新的:如果你新建/更新一個產品或新建一個發票,</value>
+        <value xml:lang="zh_TW">是由ECAS來保持和更新的:如果你新建/更新一個產品或新建一個發票,</value>
     </property>
     <property key="BusinessIntelligenceNote31">
         <value xml:lang="en">the new information will be immediately included in the datawarehouse analysis.</value>
@@ -321,7 +321,7 @@
         <value xml:lang="ja">新しい情報はデータウェアハウス分析の中に直接取り込まれます。</value>
         <value xml:lang="th">ข้อมูลใหม่จะต้องรวมทันทีในการวิเคราะห์ข้อมูลคลังสินค้า</value>
         <value xml:lang="zh">新信息会立即包含在数据仓库的分析中。</value>
-        <value xml:lang="zh_TW">新訊息會立即包含在資料倉儲的分析中。</value>
+        <value xml:lang="zh_TW">新訊息會立即包含在資料倉儲的分析中.</value>
     </property>
     <property key="BusinessIntelligenceNote3">
         <value xml:lang="en">accessible, in the same way as the main one (OLTP), via the delegator.</value>
@@ -330,7 +330,7 @@
         <value xml:lang="ja">理解しやすく、主流(OLAP)と同じ方法で、デリゲータによって実現します。</value>
         <value xml:lang="th">สามารถเข้าถึงได้ในทางเดียวกันกับทางแรก (OLTP)</value>
         <value xml:lang="zh">可访问,与主要的数据库同构,通过delegator实现。</value>
-        <value xml:lang="zh_TW">可存取的,和主要的(OLTP)資料庫相同結構,透過delegator。</value>
+        <value xml:lang="zh_TW">可存取的,和主要的(OLTP)資料庫相同結構,透過delegator.</value>
     </property>
     <property key="BusinessIntelligenceNote4">
         <value xml:lang="en">The new olap database, will contain all the entities necessary to datawarehouse analysis:</value>
@@ -339,7 +339,7 @@
         <value xml:lang="ja">新しいOLAPデータベースはデータウェアハウス分析に必要なエンティティを全て含んでいます。</value>
         <value xml:lang="th">ฐานข้อมูล olap ใหม่จะประกอบด้วยสิ่งที่มีอยู่ซึ่งจำเป็นในการวิเคราะห์ข้อมูลคลังสินค้า:</value>
         <value xml:lang="zh">新的OLAP数据库,将包含全部数据仓库分析所需的实体:</value>
-        <value xml:lang="zh_TW">新的OLAP資料庫,將包含全部資料倉儲分析所需的個體:</value>
+        <value xml:lang="zh_TW">新的OLAP資料庫,將包含全部資料倉儲分析所需的資料實體:</value>
     </property>
     <property key="BusinessIntelligenceNote5">
         <value xml:lang="en">dimensions, facts and star schemas (that are view-entities).</value>
@@ -348,7 +348,7 @@
         <value xml:lang="ja">ディメンジョン、ファクト、そしてスタースキーマ (ビュー) です。</value>
         <value xml:lang="th">ขอบเขต,ข้อเท็จจริงและแผนผัง (เป็นการแสดงสิ่งที่มีอยู่)</value>
         <value xml:lang="zh">维度、事实和星型模型(浏览实体)。</value>
-        <value xml:lang="zh_TW">維度、事實和星型模型(檢視個體)。</value>
+        <value xml:lang="zh_TW">維度、事實和星型模型(檢視資料實體).</value>
     </property>
     <property key="BusinessIntelligenceNote6">
         <value xml:lang="en">The dimensions, facts and star schemas are defined according to best practices for datawarehouses</value>
@@ -357,7 +357,7 @@
         <value xml:lang="ja">ディメンジョン、ファクト、そしてスタースキーマはデータウェアハウスのベストプラックティス、</value>
         <value xml:lang="th">ขอบเขต,ข้อเท็จจริงและแผนผังตามที่ระบุเป็นวิธีปฏิบัติที่ดีที่สุดสำหรับข้อมูลคลังสินค้า</value>
         <value xml:lang="zh">维度、事实和星型模型定义参考了数据仓库最佳实践</value>
-        <value xml:lang="zh_TW">維度、事實和星型模型定義参考了資料倉儲最佳實務</value>
+        <value xml:lang="zh_TW">維度、事實和星型模型定義參考了資料倉儲最佳慣例</value>
     </property>
     <property key="BusinessIntelligenceNote7">
         <value xml:lang="en">and best practices for OFBiz: they are defined as standard entities using the xml entity defs;</value>
@@ -366,7 +366,7 @@
         <value xml:lang="ja">およびOFBizのベストプラックティスに従って定義されています: それらはxmlエンティティ定義を使用して標準エンティティとして定義されています。</value>
         <value xml:lang="th">และวิธีปฏิบัติที่ดีที่สุดสำหรับ OFBiz คือ: ต้องกำหนดมาตรฐานสิ่งที่มีอยู่ให้เหมือนกับที่ใช้ใน xml </value>
         <value xml:lang="zh">以及OFBiz最佳实践:把它们用XML实体定义定义为标准实体;</value>
-        <value xml:lang="zh_TW">以及OFBiz最佳實作:把它们用XML個體定義定義为標準個體;</value>
+        <value xml:lang="zh_TW">以及OFBiz最佳慣例:把它們用XML資料實體定義定義為標準資料實體;</value>
     </property>
     <property key="BusinessIntelligenceNote8">
         <value xml:lang="en">clear and consistent naming conventions are used and they are documented</value>
@@ -375,7 +375,7 @@
         <value xml:lang="ja">明瞭で一貫した命名規則が使用され、またそれらを文書化するため、</value>
         <value xml:lang="th">ยกเลิกและใช้ชื่อข้อตกลงที่สอดคล้องกันและเป็นไปตามเอกสาร</value>
         <value xml:lang="zh">使用简明一致的命名规范,</value>
-        <value xml:lang="zh_TW">使用简明一致的命名規範,</value>
+        <value xml:lang="zh_TW">使用簡明一致的命名規範,</value>
     </property>
     <property key="BusinessIntelligenceNote9">
         <value xml:lang="en">by meta data descriptions (in the entity def).</value>
@@ -384,7 +384,7 @@
         <value xml:lang="ja">メタデータ定義が使用されます (エンティティ定義の中で)。</value>
         <value xml:lang="th">โดยรายละเอียดที่มาของข้อมูล(อยู่ในที่กำหนด)</value>
         <value xml:lang="zh">(在实体定义中)通过元数据描述进行文档化。</value>
-        <value xml:lang="zh_TW">(在個體定義中)透過 Meta data 描述進行文件化。</value>
+        <value xml:lang="zh_TW">(在資料實體定義中)透過 Meta data 描述進行檔化.</value>
     </property>
     <property key="BusinessIntelligenceQuickInitDataWarehouse">
         <value xml:lang="en">Quick Init DataWarehouse</value>
@@ -411,7 +411,7 @@
         <value xml:lang="ja">レポートを作成</value>
         <value xml:lang="th">เสนอรายงาน</value>
         <value xml:lang="zh">修饰报告</value>
-        <value xml:lang="zh_TW">修飾报告</value>
+        <value xml:lang="zh_TW">修飾報告</value>
     </property>
     <property key="BusinessIntelligenceReportBuilder">
         <value xml:lang="en">Report Builder</value>
@@ -420,7 +420,7 @@
         <value xml:lang="ja">レポートビルダ</value>
         <value xml:lang="th">สร้างรายงาน</value>
         <value xml:lang="zh">报告生成程序</value>
-        <value xml:lang="zh_TW">報告產生程序</value>
+        <value xml:lang="zh_TW">報告產生程式</value>
     </property>
     <property key="BusinessIntelligenceReportBuilderRenderStarSchemaReport">
         <value xml:lang="en">Render Star Schema Report</value>
@@ -463,6 +463,6 @@
         <value xml:lang="it">Il metodo di aggiornamento: ${updateMode} non è ancora supportato.</value>
         <value xml:lang="ja">更新モード: ${updateMode} はまだサポートされていません。</value>
         <value xml:lang="zh">还不支持更新状态:${updateMode}。</value>
-        <value xml:lang="zh_TW">還不支援更新狀態:${updateMode}。</value>
+        <value xml:lang="zh_TW">還不支援更新狀態:${updateMode}.</value>
     </property>
 </resource>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/catalina/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/catalina/ofbiz-component.xml?rev=1626688&r1=1626687&r2=1626688&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/catalina/ofbiz-component.xml (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/catalina/ofbiz-component.xml Mon Sep 22 08:09:27 2014
@@ -27,14 +27,14 @@ under the License.
     <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
 
     <container name="catalina-container" loaders="main" class="org.ofbiz.catalina.container.CatalinaContainer">
-        <!-- static configuration for tomcat -->
+        <!-- configuration for the Tomcat server -->
         <property name="use-naming" value="false"/>
         <property name="debug" value="0"/>
         <property name="catalina-runtime-home" value="runtime/catalina"/>
         <property name="apps-context-reloadable" value="false"/>
         <property name="apps-cross-context" value="false"/>
         <property name="apps-distributable" value="false"/><!-- you must also set all the webapps you want distributable, by adding <distributable/> in their web.xml file -->
-        <!-- one or more tomcat engines (servers); map to this + host -->
+        <!-- configuration of the Tomcat service that hosts OFBiz applications: the service has one engine and one or more connectors -->
         <property name="default-server" value="engine">
             <property name="default-host" value="0.0.0.0"/>
             <property name="jvm-route" value="jvm1"/>
@@ -66,119 +66,87 @@ under the License.
             <!-- <property name="ssl-accelerator-port" value="8443"/> -->
             <property name="enable-cross-subdomain-sessions" value="false"/>
         </property>
-        <!-- all connectors support type, host, port, enable-lookups -->
         <property name="ajp-connector" value="connector">
-            <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/ajp.html for reference -->
-            <property name="allowTrace" value="false"/>
-            <property name="emptySessionPath" value="false"/>
-            <property name="enableLookups" value="true"/>
-            <property name="maxPostSize" value="2097152"/>
+            <!-- see http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html for reference -->
+            <property name="port" value="8009"/>
             <property name="protocol" value="AJP/1.3"/>
-            <property name="proxyName" value=""/>
-            <property name="proxyPort" value=""/>
-            <property name="redirectPort" value=""/>
             <property name="scheme" value="http"/>
             <property name="secure" value="false"/>
             <property name="URIEncoding" value="UTF-8"/>
-            <property name="useBodyEncodingForURI" value="false"/>
             <property name="xpoweredBy" value="true"/>
+            <property name="enableLookups" value="true"/> <!-- set to false to improve performance (false is the default value in Tomcat) -->
             <!-- AJP/13 connector attributes -->
-            <property name="address" value="0.0.0.0"/>
-            <property name="backlog" value="10"/>
-            <property name="maxSpareThreads" value="50"/>
+            <!-- commented out because the values match the Tomcat defaults:
+            <property name="tomcatAuthentication" value="true"/>
+            <property name="allowTrace" value="false"/>
+            <property name="maxPostSize" value="2097152"/>
+            <property name="noCompressionUserAgents" value=""/>
+            <property name="connectionLinger" value="-1"/>
+            <property name="connectionTimeout" value="60000"/>
+            <property name="maxHttpHeaderSize" value="8192"/>
+            <property name="maxKeepAliveRequests" value="100"/>
             <property name="maxThreads" value="200"/>
-            <property name="minSpareThreads" value="4"/>
-            <property name="port" value="8009"/>
+            <property name="minSpareThreads" value="10"/>
+            <property name="acceptCount" value="100"/>
+            <property name="restrictedUserAgents" value=""/>
+            <property name="socketBuffer" value="9000"/>
             <property name="tcpNoDelay" value="true"/>
-            <property name="soTimeout" value="60000"/>
-            <property name="tomcatAuthentication" value="true"/>
+            <property name="threadPriority" value="5"/>
+            -->
         </property>
         <property name="http-connector" value="connector">
-            <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for reference -->
-            <property name="allowTrace" value="false"/>
-            <property name="emptySessionPath" value="false"/>
-            <property name="enableLookups" value="true"/>
-            <property name="maxPostSize" value="2097152"/>
+            <!-- see http://tomcat.apache.org/tomcat-7.0-doc/config/http.html for reference -->
+            <property name="port" value="8080"/>
             <property name="protocol" value="HTTP/1.1"/>
-            <property name="proxyName" value=""/>
-            <property name="proxyPort" value=""/>
-            <property name="redirectPort" value=""/>
             <property name="scheme" value="http"/>
             <property name="secure" value="false"/>
             <property name="URIEncoding" value="UTF-8"/>
-            <property name="useBodyEncodingForURI" value="false"/>
             <property name="xpoweredBy" value="true"/>
-            <!-- HTTP connector attributes -->
-            <property name="acceptCount" value="10"/>
-            <property name="address" value="0.0.0.0"/>
-            <property name="bufferSize" value="2048"/>
+            <property name="enableLookups" value="true"/> <!-- set to false to improve performance (false is the default value in Tomcat) -->
             <property name="compression" value="on"/>
             <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/>
+            <!-- commented out because the values match the Tomcat defaults:
+            <property name="allowTrace" value="false"/>
+            <property name="maxPostSize" value="2097152"/>
             <property name="noCompressionUserAgents" value=""/>
             <property name="connectionLinger" value="-1"/>
             <property name="connectionTimeout" value="60000"/>
-            <property name="disableUploadTimeout" value="false"/>
             <property name="maxHttpHeaderSize" value="8192"/>
             <property name="maxKeepAliveRequests" value="100"/>
-            <property name="maxSpareThreads" value="50"/>
-            <property name="maxThreads" value="100"/>
-            <property name="minSpareThreads" value="4"/>
-            <property name="port" value="8080"/>
+            <property name="maxThreads" value="200"/>
+            <property name="minSpareThreads" value="10"/>
+            <property name="acceptCount" value="100"/>
             <property name="restrictedUserAgents" value=""/>
-            <property name="server" value=""/>
             <property name="socketBuffer" value="9000"/>
-            <property name="strategy" value="lf"/>
             <property name="tcpNoDelay" value="true"/>
-            <property name="threadPriority" value="java.lang.Thread#NORM_PRIORITY"/>
+            <property name="threadPriority" value="5"/>
+            -->
         </property>
         <property name="https-connector" value="connector">
-            <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for reference -->
-            <property name="allowTrace" value="false"/>
-            <property name="emptySessionPath" value="false"/>
-            <property name="enableLookups" value="true"/>
-            <property name="maxPostSize" value="2097152"/>
+            <!-- see http://tomcat.apache.org/tomcat-7.0-doc/config/http.html for reference -->
+            <property name="port" value="8443"/>
             <property name="protocol" value="HTTP/1.1"/>
-            <property name="proxyName" value=""/>
-            <property name="proxyPort" value=""/>
-            <property name="redirectPort" value=""/>
             <property name="scheme" value="https"/>
             <property name="secure" value="true"/>
+            <property name="SSLEnabled" value="true"/>
             <property name="URIEncoding" value="UTF-8"/>
-            <property name="useBodyEncodingForURI" value="false"/>
             <property name="xpoweredBy" value="true"/>
-            <!-- HTTP connector attributes -->
-            <property name="acceptCount" value="10"/>
-            <property name="address" value="0.0.0.0"/>
-            <property name="bufferSize" value="2048"/>
+            <property name="enableLookups" value="true"/> <!-- set to false to improve performance (false is the default value in Tomcat) -->
             <property name="compression" value="on"/>
             <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/>
-            <property name="noCompressionUserAgents" value=""/>
-            <property name="connectionLinger" value="-1"/>
-            <property name="connectionTimeout" value="60000"/>
-            <property name="disableUploadTimeout" value="false"/>
-            <property name="maxHttpHeaderSize" value="8192"/>
-            <property name="maxKeepAliveRequests" value="100"/>
-            <property name="maxSpareThreads" value="50"/>
-            <property name="maxThreads" value="100"/>
-            <property name="minSpareThreads" value="4"/>
-            <property name="port" value="8443"/>
-            <property name="restrictedUserAgents" value=""/>
-            <property name="server" value=""/>
-            <property name="socketBuffer" value="9000"/>
-            <property name="strategy" value="lf"/>
-            <property name="tcpNoDelay" value="true"/>
-            <property name="threadPriority" value="java.lang.Thread#NORM_PRIORITY"/>
             <!-- SSL connector attributes -->
-            <property name="sSLImplementation" value="org.ofbiz.catalina.container.SSLImpl"/>
+            <property name="sslImplementationName" value="org.ofbiz.catalina.container.SSLImpl"/>
             <property name="algorithm" value="SunX509"/>
             <!-- the clientAuth to "want" in order to receive certs from the client;
                 note that this isn't set this way by default because with certain browsers
                 (like Safari) it breaks access via HTTPS, so until that problem is fixed
-                the default will be false -->
+                the default will be false
             <property name="clientAuth" value="false"/>
+            -->
             <property name="keystoreFile" value="framework/base/config/ofbizssl.jks"/>
-            <property name="keystorePass" value="changeit"/>
             <property name="keystoreType" value="JKS"/>
+            <property name="keyAlias" value="ofbiz"/>
+            <property name="keyPass" value="changeit"/>
             <property name="sslProtocol" value="TLS"/>
             <property name="ciphers" value=""/>
         </property>
@@ -202,133 +170,40 @@ under the License.
             <property name="access-log-prefix" value="access_log."/>
             <property name="access-log-dir" value="runtime/logs"/>
             <property name="enable-request-dump" value="false"/>
-            <!-- uncomment for cluster support
-            <property name="default-server-cluster" value="cluster">
-                <property name="rep-valve-filter">
-                <property-value>.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;</property-value>
-                </property>
-                <property name="manager-class" value="org.apache.catalina.cluster.session.DeltaManager"/>
-                <property name="debug" value="5"/>
-                <property name="replication-mode" value="org.apache.catalina.tribes.transport.bio.PooledMultiSender"/>
-                <property name="tcp-listen-host" value="auto"/>
-                <property name="tcp-listen-port" value="4001"/>
-                <property name="tcp-sector-timeout" value="100"/>
-                <property name="tcp-thread-count" value="6"/>
-                <property name="mcast-bind-addr" value="192.168.2.1"/>
-                <property name="mcast-addr" value="224.0.0.1"/>
-                <property name="mcast-port" value="45564"/>
-                <property name="mcast-freq" value="500"/>
-                <property name="mcast-drop-time" value="3000"/>
-            </property>
-            -->
-            <!-- <property name="ssl-accelerator-port" value="8443"/> -->
         </property>
-        <!-- all connectors support type, host, port, enable-lookups -->
         <property name="ajp-connector" value="connector">
-            <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/ajp.html for reference -->
-            <property name="allowTrace" value="false"/>
-            <property name="emptySessionPath" value="false"/>
-            <property name="enableLookups" value="true"/>
-            <property name="maxPostSize" value="2097152"/>
+            <property name="port" value="8010"/>
             <property name="protocol" value="AJP/1.3"/>
-            <property name="proxyName" value=""/>
-            <property name="proxyPort" value=""/>
-            <property name="redirectPort" value=""/>
             <property name="scheme" value="http"/>
             <property name="secure" value="false"/>
             <property name="URIEncoding" value="UTF-8"/>
-            <property name="useBodyEncodingForURI" value="false"/>
             <property name="xpoweredBy" value="true"/>
-            <!-- AJP/13 connector attributes -->
-            <property name="address" value="0.0.0.0"/>
-            <property name="backlog" value="10"/>
-            <property name="maxSpareThreads" value="50"/>
-            <property name="maxThreads" value="200"/>
-            <property name="minSpareThreads" value="4"/>
-            <property name="port" value="8010"/>
-            <property name="tcpNoDelay" value="true"/>
-            <property name="soTimeout" value="60000"/>
-            <property name="tomcatAuthentication" value="true"/>
+            <property name="enableLookups" value="true"/>
         </property>
         <property name="http-connector" value="connector">
-            <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for reference -->
-            <property name="allowTrace" value="false"/>
-            <property name="emptySessionPath" value="false"/>
-            <property name="enableLookups" value="true"/>
-            <property name="maxPostSize" value="2097152"/>
+            <property name="port" value="8080"/>
             <property name="protocol" value="HTTP/1.1"/>
-            <property name="proxyName" value=""/>
-            <property name="proxyPort" value=""/>
-            <property name="redirectPort" value=""/>
             <property name="scheme" value="http"/>
             <property name="secure" value="false"/>
             <property name="URIEncoding" value="UTF-8"/>
-            <property name="useBodyEncodingForURI" value="false"/>
             <property name="xpoweredBy" value="true"/>
-            <!-- HTTP connector attributes -->
-            <property name="acceptCount" value="10"/>
-            <property name="address" value="0.0.0.0"/>
-            <property name="bufferSize" value="2048"/>
-            <property name="compressableMimeType" value="text/html,text/xml,text/plain"/>
+            <property name="enableLookups" value="true"/>
             <property name="compression" value="on"/>
-            <property name="connectionLinger" value="-1"/>
-            <property name="connectionTimeout" value="60000"/>
-            <property name="disableUploadTimeout" value="false"/>
-            <property name="maxHttpHeaderSize" value="8192"/>
-            <property name="maxKeepAliveRequests" value="100"/>
-            <property name="maxSpareThreads" value="50"/>
-            <property name="maxThreads" value="100"/>
-            <property name="minSpareThreads" value="4"/>
-            <property name="noCompressionUserAgents" value=""/>
-            <property name="port" value="8080"/>
-            <property name="restrictedUserAgents" value=""/>
-            <property name="server" value=""/>
-            <property name="socketBuffer" value="9000"/>
-            <property name="strategy" value="lf"/>
-            <property name="tcpNoDelay" value="true"/>
-            <property name="threadPriority" value="java.lang.Thread#NORM_PRIORITY"/>
+            <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/>
         </property>
         <property name="https-connector" value="connector">
-            <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for reference -->
-            <property name="allowTrace" value="false"/>
-            <property name="emptySessionPath" value="false"/>
-            <property name="enableLookups" value="true"/>
-            <property name="maxPostSize" value="2097152"/>
+            <property name="port" value="8443"/>
             <property name="protocol" value="HTTP/1.1"/>
-            <property name="proxyName" value=""/>
-            <property name="proxyPort" value=""/>
-            <property name="redirectPort" value=""/>
             <property name="scheme" value="https"/>
             <property name="secure" value="true"/>
+            <property name="SSLEnabled" value="true"/>
             <property name="URIEncoding" value="UTF-8"/>
-            <property name="useBodyEncodingForURI" value="false"/>
             <property name="xpoweredBy" value="true"/>
-            <!-- HTTP connector attributes -->
-            <property name="acceptCount" value="10"/>
-            <property name="address" value="0.0.0.0"/>
-            <property name="bufferSize" value="2048"/>
-            <property name="compressableMimeType" value="text/html,text/xml,text/plain"/>
+            <property name="enableLookups" value="true"/>
             <property name="compression" value="on"/>
-            <property name="connectionLinger" value="-1"/>
-            <property name="connectionTimeout" value="60000"/>
-            <property name="disableUploadTimeout" value="false"/>
-            <property name="maxHttpHeaderSize" value="8192"/>
-            <property name="maxKeepAliveRequests" value="100"/>
-            <property name="maxSpareThreads" value="50"/>
-            <property name="maxThreads" value="100"/>
-            <property name="minSpareThreads" value="4"/>
-            <property name="noCompressionUserAgents" value=""/>
-            <property name="port" value="8443"/>
-            <property name="restrictedUserAgents" value=""/>
-            <property name="server" value=""/>
-            <property name="socketBuffer" value="9000"/>
-            <property name="strategy" value="lf"/>
-            <property name="tcpNoDelay" value="true"/>
-            <property name="threadPriority" value="java.lang.Thread#NORM_PRIORITY"/>
-            <!-- SSL connector attributes -->
-            <property name="sSLImplementation" value="org.ofbiz.catalina.container.SSLImpl"/>
+            <property name="compressableMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css"/>
+            <property name="sslImplementationName" value="org.ofbiz.catalina.container.SSLImpl"/>
             <property name="algorithm" value="SunX509"/>
-            <property name="clientAuth" value="want"/>
             <property name="keystoreFile" value="framework/base/config/ofbizssl.jks"/>
             <property name="keystorePass" value="changeit"/>
             <property name="keystoreType" value="JKS"/>