[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"
+"<application-policy name = \"messaging\">\n"
+"<authentication>\n"
+"<login-module code = \"org.jboss.security.auth.spi.UsersRolesLoginModule"
+"\" flag = \"required\" >\n"
+" <module-option name = \"unauthenticatedIdentity\">guest</module-"
+"option>\n"
+" <module-option name = \"usersProperties\">props/messaging-users."
+"properties</module-option>\n"
+" <module-option name = \"rolesProperties\">props/messaging-roles."
+"properties</module-option>\n"
+"</login-module>\n"
+"</authentication>\n"
+"</application-policy>\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"
+" <service-config name=\"jboss.messaging:service=Connector,"
+"transport=bisocket\"\n"
+" delegateClass=\"org.jboss.services.binding."
+"AttributeMappingDelegate\">\n"
+" <delegate-config>\n"
+" <attribute name=\"Configuration\"><![CDATA[\n"
+" <config>\n"
+" <invoker transport=\"bisocket\">\n"
+" <attribute name=\"marshaller\" isParam=\"true\">\n"
+" org.jboss.jms.wireformat.JMSWireFormat\n"
+" </attribute>\n"
+" <attribute name=\"unmarshaller\" isParam=\"true\">\n"
+" org.jboss.jms.wireformat.JMSWireFormat\n"
+" </attribute>\n"
+" <attribute name=\"dataType\" isParam=\"true\">jms</"
+"attribute>\n"
+" <attribute name=\"socket.check_connection\" isParam=\"true"
+"\">false</attribute>\n"
+" <attribute name=\"timeout\" isParam=\"true\">0</"
+"attribute>\n"
+" <attribute name=\"serverBindAddress\">${jboss.bind."
+"address}</attribute>\n"
+" <attribute name=\"serverBindPort\">4657</"
+"attribute>\n"
+" <attribute name=\"leasePeriod\">10000</"
+"attribute>\n"
+" <attribute name=\"clientSocketClass\" isParam=\"true"
+"\">\n"
+" org.jboss.jms.client.remoting.ClientSocketWrapper\n"
+" </attribute>\n"
+" <attribute name=\"serverSocketClass\">\n"
+" org.jboss.jms.server.remoting.ServerSocketWrapper\n"
+" </attribute>\n"
+" <attribute name=\"numberOfRetries\" isParam=\"true"
+"\">1</attribute>\n"
+" <attribute name=\"numberOfCallRetries\" isParam=\"true"
+"\">1</attribute>\n"
+" <attribute name=\"clientMaxPoolSize\" isParam=\"true"
+"\">50</attribute>\n"
+" </invoker>\n"
+" <handlers>\n"
+" <handler subsystem=\"JMS\">\n"
+" org.jboss.jms.server.remoting.JMSServerInvocationHandler\n"
+" </handler>\n"
+" </handlers>\n"
+" </config>\n"
+" ]]></attribute>\n"
+" </delegate-config>\n"
+" <binding port=\"4657\"/>\n"
+" </service-config> \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><CreateJBossMQDestination>false</"
"CreateJBossMQDestination></literal>\n"
-"</programlisting> "
+"</programlisting> 这些代理将试图在 JBossMQ 上创建一个目的地,如果它们在 JNDI 里没有找到,那么将导致和 JBossMQ 相关的一些错误。"
#. Tag: para
#: Installation.xml:395
More information about the jboss-cvs-commits
mailing list