[jboss-cvs] JBossAS SVN: r84416 - projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 18 19:49:58 EST 2009


Author: xhuang at jboss.com
Date: 2009-02-18 19:49:58 -0500 (Wed, 18 Feb 2009)
New Revision: 84416

Modified:
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/Deploy.po
Log:
update

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/Deploy.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/Deploy.po	2009-02-18 22:19:56 UTC (rev 84415)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/zh-CN/Deploy.po	2009-02-19 00:49:58 UTC (rev 84416)
@@ -9,8 +9,8 @@
 "Project-Id-Version: Deploy\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2009-02-18 17:40+1000\n"
-"Last-Translator: Xi HUANG\n"
+"PO-Revision-Date: 2009-02-19 10:49+1000\n"
+"Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -194,9 +194,9 @@
 
 #. Tag: title
 #: Deploy.xml:53
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The production Configuration"
-msgstr "EJB 应用程序配置"
+msgstr "production 配置"
 
 #. Tag: para
 #: Deploy.xml:55
@@ -204,7 +204,7 @@
 msgid ""
 "To start the server in the production configuration, you can use the "
 "following command under Linux / Unix:"
-msgstr ""
+msgstr "要以 production 配置启动服务器,在 Linux / Unix 里你可以使用下列的命令:"
 
 #. Tag: programlisting
 #: Deploy.xml:57
@@ -213,6 +213,8 @@
 "cd /path/to/jboss-as\n"
 "RUN_CONF=server/production/run.conf bin/run.sh -c production"
 msgstr ""
+"cd /path/to/jboss-as\n"
+"RUN_CONF=server/production/run.conf bin/run.sh -c production"
 
 #. Tag: para
 #: Deploy.xml:59
@@ -222,7 +224,7 @@
 "jboss-as/bin directory and start the server with run.sh -c production "
 "command. Below is a list of optimizations we specifically did for the "
 "production configuration:"
-msgstr ""
+msgstr "或者,你可以简单地把 jboss-as/server/production/run.conf 复制到 jboss-as/bin 目录并用 run.sh -c production 命令启动服务器。下面是一个我们特别为 production 配置所做的优化的列表:"
 
 #. Tag: para
 #: Deploy.xml:62
@@ -233,6 +235,8 @@
 "all platforms except for Darwin (Mac OS X). If the JVM is BEA jRockit, the -"
 "Xgc:gencon parameter is also added."
 msgstr ""
+"在 jboss-as/server/production/run.conf 文件里,我们把服务器内存扩展到 1.7 GB。在除了 Darwin(Mac OS X)的所有平台上,我们都把 -server 标签添加到 JVM 启动命令里。如果 JVM 是 BEA jRockit,那还得添加 -"
+"Xgc:gencon 参数。"
 
 #. Tag: para
 #: Deploy.xml:63
@@ -241,7 +245,7 @@
 "We configured the key generation algorithm to use the database to generate "
 "HiLo keys in order to generate the correct keys in a cluster environment "
 "(see deploy/uuid-key-generator.sar/META-INF/jboss-service.xml)."
-msgstr ""
+msgstr "为了在群集环境里生成正确的键值(请参考 deploy/uuid-key-generator.sar/META-INF/jboss-service.xml),我们对键值生成算法进行配置,使它使用数据库来生成 HiLo 键值。"
 
 #. Tag: para
 #: Deploy.xml:64
@@ -252,6 +256,8 @@
 "application development. Production applications should configure their own "
 "JMS queues."
 msgstr ""
+"我们从 deploy-hasingleton/jms/jbossmq-"
+"destinations-service.xml 文件里删除 test JMS 队列。设立这些队列的主要目的是用于应用程序开发。产品应用程序应该配置自己的 JMS 队列。"
 
 #. Tag: para
 #: Deploy.xml:65
@@ -261,6 +267,8 @@
 "jboss-service.xml, so that JBoss AS does not spend too much time constantly "
 "scanning the deploy directory for new or updated deployments."
 msgstr ""
+"我们把 conf/jboss-minimal.xml 和 conf/"
+"jboss-service.xml 里的 ScanPeriod 参数设置为 60000,这样 JBoss AS 就不会花费太多的时间来扫描 deploy 目录里的新的或已更新的部署。"
 
 #. Tag: para
 #: Deploy.xml:66
@@ -270,7 +278,7 @@
 "connection monitoring feature helps catch unclosed connections that would "
 "otherwise cause leaks in the connection pools in development. However, it is "
 "a global point of contention that should be turned off (false) in production."
-msgstr ""
+msgstr "我们删除了 deploy/jbossjca-service.xml 里的连接监控。连接监控功能帮助捕获未关闭的连接,如果不这样,进行开发时这些连接会导致连接池的溢出。然而,在产品环境里这个功能应该关闭(false)。"
 
 #. Tag: para
 #: Deploy.xml:67
@@ -280,13 +288,13 @@
 "production configuration, we removed the console logging and increased the "
 "logging level to WARN and ERROR for most packages. Please see details in "
 "conf/jboss-log4j.xml."
-msgstr ""
+msgstr "在许多产品应用程序里,日志是一个争论焦点。在 production 配置里,我们删除了控制台日志并把大多数包的日志级别升级为 WARN 和 ERROR。请参考 conf/jboss-log4j.xml 里的细节。"
 
 #. Tag: title
 #: Deploy.xml:73
 #, no-c-format
 msgid "Further Tuning from the production Configuration"
-msgstr ""
+msgstr "对 production 配置的进一步调优"
 
 #. Tag: para
 #: Deploy.xml:75
@@ -295,7 +303,7 @@
 "In addition to the standard optimization in the production configuration, "
 "there are a couple of simple techniques you can use to improve the "
 "performance and stability of your server."
-msgstr ""
+msgstr "除了标准的优化外,你还可使用一些简单技术来提供服务器的性能和稳定性。"
 
 #. Tag: para
 #: Deploy.xml:77
@@ -314,6 +322,8 @@
 "is an example setup you might use a reference. Please see the Sun JVM "
 "documentation for more details on this startup parameters."
 msgstr ""
+"production 配置把 JVM 的堆内存大小增加到 1.7 GB。你应该把它修改为适合自己服务器的值。例如,如果你有一台 64 位服务器并带有几个 GB 的内存,只要你也使用 64 位的 JVM,你就可以把加大这个值。如果你的服务器内存小于 2G,你应该相应降低这个值。在 production/run."
+"conf 文件里, -Xmx 和 -Xms 参数指定最大和最小的堆大下。我们推荐你把 -Xmx 和 -Xms 设置为相同的值以避免堆大小的动态变化(这是许多 JVM 不稳定的根源)。如果你在使用 Sun JVM 和多核主机,你也可以考虑启用 parallel GC 选项。关于启动参数的更多信息,请参考 Sun JVM 文档。"
 
 #. Tag: programlisting
 #: Deploy.xml:79
@@ -323,6 +333,9 @@
 "  -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled \n"
 "  -XX:+CMSClassUnloadingEnabled\""
 msgstr ""
+"JAVA_OPTS=\"-Xms1740m -Xmx1740m -XX:PermSize=256m -XX:MaxPermSize=512\n"
+"  -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled \n"
+"  -XX:+CMSClassUnloadingEnabled\""
 
 #. Tag: para
 #: Deploy.xml:81
@@ -332,7 +345,7 @@
 "the server does not constantly monitor the changes in JSP files. To do that, "
 "edit the deploy/jboss-web.deployer/conf/web.xml file and add the development "
 "attribute to the JspServlet."
-msgstr ""
+msgstr "在内嵌的 Tomcat 模块里,你可以关闭开发模式,这样服务器就不会一直监控 JSP 文件里的变化。要实现这一点,打开 deploy/jboss-web.deployer/conf/web.xml 文件并在 JspServlet 里添加 development 属性。"
 
 #. Tag: programlisting
 #: Deploy.xml:83
@@ -350,6 +363,17 @@
 "    ... ...\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"  <servlet>\n"
+"    <servlet-name>jsp</servlet-name>\n"
+"    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>\n"
+"    ... ...\n"
+"    <init-param>\n"
+"      <param-name>development</param-name>\n"
+"      <param-value>false</param-value>\n"
+"    </init-param>\n"
+"    ... ...\n"
+"]]>"
 
 #. Tag: para
 #: Deploy.xml:85
@@ -362,6 +386,8 @@
 "the server. The thread pool size can be adjusted via the deploy/jboss-web."
 "deployer/server.xml file."
 msgstr ""
+"在 Tomcat 里,你可以调整线程池的大小。如果你的机器有多核 CPU 或有多个 CPU,把线程池大小设置为超过缺省的 250 可能会有益处。从另一方面来说,如果你的服务器速度很慢,把线程池大小减小将降低服务器的负荷。线程池的大小可以通过 deploy/jboss-web."
+"deployer/server.xml 文件来设置。"
 
 #. Tag: programlisting
 #: Deploy.xml:87
@@ -377,6 +403,15 @@
 "  ... ...\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"  ... ...\n"
+"  <Connector port=\"8080\" address=\"${jboss.bind.address}\"\n"
+"         maxThreads=\"250\" maxHttpHeaderSize=\"8192\"\n"
+"         emptySessionPath=\"true\" protocol=\"HTTP/1.1\"\n"
+"         enableLookups=\"false\" redirectPort=\"8443\" acceptCount=\"100\"\n"
+"         connectionTimeout=\"20000\" disableUploadTimeout=\"true\" />\n"
+"  ... ...\n"
+"]]>"
 
 #. Tag: para
 #: Deploy.xml:89
@@ -388,4 +423,6 @@
 "\"alternative_DBs\"/> for more information on how to setup alternative "
 "databases for the JBoss AS."
 msgstr ""
+"此外,JBoss AS 需要使用关系型数据库来存储运行时数据。在产品环境里,你应该使用具有产品级质量的数据库来代替内嵌的 HSQL。关于如何设立其他数据库的更多信息,请参考 <xref linkend="
+"\"alternative_DBs\"/>。"
 




More information about the jboss-cvs-commits mailing list