[jboss-cvs] JBossAS SVN: r76078 - projects/docs/enterprise/4.3/Messaging/JBoss_Messaging_User_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jul 21 21:32:42 EDT 2008


Author: xhuang at jboss.com
Date: 2008-07-21 21:32:42 -0400 (Mon, 21 Jul 2008)
New Revision: 76078

Modified:
   projects/docs/enterprise/4.3/Messaging/JBoss_Messaging_User_Guide/zh-CN/Installation.po
Log:
update

Modified: projects/docs/enterprise/4.3/Messaging/JBoss_Messaging_User_Guide/zh-CN/Installation.po
===================================================================
--- projects/docs/enterprise/4.3/Messaging/JBoss_Messaging_User_Guide/zh-CN/Installation.po	2008-07-22 01:24:58 UTC (rev 76077)
+++ projects/docs/enterprise/4.3/Messaging/JBoss_Messaging_User_Guide/zh-CN/Installation.po	2008-07-22 01:32:42 UTC (rev 76078)
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: Installation\n"
 "POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2008-07-10 16:16+1000\n"
+"PO-Revision-Date: 2008-07-22 11:32+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -572,6 +572,24 @@
 "<literal>messaging-roles.properties</literal> in the <literal>$JBOSS_CONFIG/"
 "config/props/</literal> directory. ."
 msgstr ""
+"在 $JBOSS_CONFIG/config/login-"
+"config.xml 里添加名为 \"messaging\" 的安全策略。你可以把这用作例子,或按照 JBoss Security 文档创建一个新的配置:<programlisting>\n"
+"&lt;application-policy name = \"messaging\"&gt;\n"
+"&lt;authentication&gt;\n"
+"&lt;login-module code = \"org.jboss.security.auth.spi.UsersRolesLoginModule"
+"\" flag = \"required\" &gt;\n"
+"   &lt;module-option name = \"unauthenticatedIdentity\"&gt;guest&lt;/module-"
+"option&gt;\n"
+"   &lt;module-option name = \"usersProperties\"&gt;props/messaging-users."
+"properties&lt;/module-option&gt;\n"
+"   &lt;module-option name = \"rolesProperties\"&gt;props/messaging-roles."
+"properties&lt;/module-option&gt;\n"
+"&lt;/login-module&gt;\n"
+"&lt;/authentication&gt;\n"
+"&lt;/application-policy&gt;\n"
+"          </programlisting> 如果你使用上述的策略,你也可以在 <literal>$JBOSS_CONFIG/"
+"config/props/</literal> 目录里创建文件 <literal>messaging-users.properties</literal> 和 "
+"<literal>messaging-roles.properties</literal>。"
 
 #. Tag: para
 #: Installation.xml:231
@@ -731,6 +749,61 @@
 "para> </warning> You should ensure that each node is configured to use a "
 "different ports range."
 msgstr ""
+"来看看 $JBOSS_HOME/docs/examples/binding-manager/sample-bindings.xml。对于每个端口范围,JBoss Remoting 配置都应该类似于:<programlisting>\n"
+"      &lt;service-config name=\"jboss.messaging:service=Connector,"
+"transport=bisocket\"\n"
+"                      delegateClass=\"org.jboss.services.binding."
+"AttributeMappingDelegate\"&gt;\n"
+"         &lt;delegate-config&gt;\n"
+"            &lt;attribute name=\"Configuration\"&gt;&lt;![CDATA[\n"
+"           &lt;config&gt;\n"
+"            &lt;invoker transport=\"bisocket\"&gt;\n"
+"               &lt;attribute name=\"marshaller\" isParam=\"true\"&gt;\n"
+"                  org.jboss.jms.wireformat.JMSWireFormat\n"
+"               &lt;/attribute&gt;\n"
+"               &lt;attribute name=\"unmarshaller\" isParam=\"true\"&gt;\n"
+"                  org.jboss.jms.wireformat.JMSWireFormat\n"
+"               &lt;/attribute&gt;\n"
+"               &lt;attribute name=\"dataType\" isParam=\"true\"&gt;jms&lt;/"
+"attribute&gt;\n"
+"               &lt;attribute name=\"socket.check_connection\" isParam=\"true"
+"\"&gt;false&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"timeout\" isParam=\"true\"&gt;0&lt;/"
+"attribute&gt;\n"
+"               &lt;attribute name=\"serverBindAddress\"&gt;${jboss.bind."
+"address}&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"serverBindPort\"&gt;4657&lt;/"
+"attribute&gt;\n"
+"               &lt;attribute name=\"leasePeriod\"&gt;10000&lt;/"
+"attribute&gt;\n"
+"               &lt;attribute name=\"clientSocketClass\" isParam=\"true"
+"\"&gt;\n"
+"                  org.jboss.jms.client.remoting.ClientSocketWrapper\n"
+"               &lt;/attribute&gt;\n"
+"               &lt;attribute name=\"serverSocketClass\"&gt;\n"
+"                  org.jboss.jms.server.remoting.ServerSocketWrapper\n"
+"               &lt;/attribute&gt;\n"
+"               &lt;attribute name=\"numberOfRetries\" isParam=\"true"
+"\"&gt;1&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"numberOfCallRetries\" isParam=\"true"
+"\"&gt;1&lt;/attribute&gt;\n"
+"               &lt;attribute name=\"clientMaxPoolSize\" isParam=\"true"
+"\"&gt;50&lt;/attribute&gt;\n"
+"            &lt;/invoker&gt;\n"
+"            &lt;handlers&gt;\n"
+"               &lt;handler subsystem=\"JMS\"&gt;\n"
+"                  org.jboss.jms.server.remoting.JMSServerInvocationHandler\n"
+"               &lt;/handler&gt;\n"
+"            &lt;/handlers&gt;\n"
+"         &lt;/config&gt;\n"
+"            ]]&gt;&lt;/attribute&gt;\n"
+"         &lt;/delegate-config&gt;\n"
+"         &lt;binding port=\"4657\"/&gt;\n"
+"      &lt;/service-config&gt;              \n"
+"              </programlisting> <warning><para> 你必须确保相关配置(如上)和 <literal>remoting-bisocket-"
+"service.xml</literal> 里的相同,除了实际的 serverBindPort 显然会有所不同。请注意 JBAS 4.2.0 带有的 <literal>sample-bindings."
+"xml</literal> 里的缺省的 JBoss Messaging 服务的 binding manager 绑定已经过期,你需要从 <literal>remoting-bisocket-service.xml</literal> 里进行复制。</"
+"para> </warning> 你应该确保每个节点都使用不同的端口范围。"
 
 #. Tag: title
 #: Installation.xml:346
@@ -791,7 +864,6 @@
 #. Tag: para
 #: Installation.xml:384
 #, no-c-format
-#, fuzzy
 msgid ""
 "Edit <literal>$JBOSS_CONFIG/conf/standardjboss.xml</literal> and set "
 "<literal>CreateJBossMQDestination</literal> to false on every occurrence. "
@@ -805,7 +877,7 @@
 "编辑 <literal>$JBOSS_CONFIG/conf/standardjboss.xml</literal> 并把所有的 <literal>CreateJBossMQDestination</literal> 设置为 false。请确保它类似于 <programlisting>               \n"
 "<literal>&lt;CreateJBossMQDestination&gt;false&lt;/"
 "CreateJBossMQDestination&gt;</literal>\n"
-"</programlisting> "
+"</programlisting> 这些代理将试图在 JBossMQ 上创建一个目的地,如果它们在 JNDI 里没有找到,那么将导致和 JBossMQ 相关的一些错误。"
 
 #. Tag: para
 #: Installation.xml:395




More information about the jboss-cvs-commits mailing list