[jboss-cvs] JBossAS SVN: r72853 - projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 29 01:36:39 EDT 2008


Author: xhuang at jboss.com
Date: 2008-04-29 01:36:39 -0400 (Tue, 29 Apr 2008)
New Revision: 72853

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Alternative_DBs.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Book_Example_Installation.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_EJBs.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_HTTP.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Intro.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JBoss_Cache_JGroups.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JMS.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JNDI.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Intro.po
   projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Naming_On_JBOSS.po
Log:
update

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Alternative_DBs.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Alternative_DBs.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Alternative_DBs.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Alternative_DBs.po to
 # Language ja-JP translations for PACKAGE package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Alternative_DBs\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-05 06:01+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:11+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Alternative_DBs.xml:2
@@ -189,15 +192,13 @@
 #. Tag: para
 #: Alternative_DBs.xml:68
 #, no-c-format
-msgid ""
-"You have to be a super-user with required privileges to install java classes."
+msgid "You have to be a super-user with required privileges to install java classes."
 msgstr ""
 
 #. Tag: para
 #: Alternative_DBs.xml:73
 #, no-c-format
-msgid ""
-"The jar file you are trying to install should be created without compression."
+msgid "The jar file you are trying to install should be created without compression."
 msgstr ""
 
 #. Tag: para
@@ -326,6 +327,43 @@
 "</datasources>\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"<datasources>\n"
+"  <local-tx-datasource>\n"
+"    <jndi-name>MySqlDS</jndi-name>\n"
+"    <connection-url>jdbc:mysql://localhost:3306/jboss</connection-url>\n"
+"    <driver-class>com.mysql.jdbc.Driver</driver-class>\n"
+"    <user-name>jbossuser</user-name>\n"
+"    <password>jbosspass</password>\n"
+"    <exception-sorter-class-name>\n"
+"                        org.jboss.resource.adapter.jdbc.vendor."
+"MySQLExceptionSorter\n"
+"                </exception-sorter-class-name>\n"
+"    <!-- should only be used on drivers after 3.22.1 with \"ping\" support\n"
+"    <valid-connection-checker-class-name>\n"
+"                        org.jboss.resource.adapter.jdbc.vendor."
+"MySQLValidConnectionChecker\n"
+"                </valid-connection-checker-class-name>\n"
+"    -->\n"
+"    <!-- sql to call when connection is created\n"
+"    <new-connection-sql>some arbitrary sql</new-connection-sql>\n"
+"      -->\n"
+"    <!-- sql to call on an existing pooled connection when it is obtained "
+"from pool - \n"
+"                MySQLValidConnectionChecker is preferred for newer drivers\n"
+"    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-"
+"sql>\n"
+"      -->\n"
+"\n"
+"    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml "
+"(optional) -->\n"
+"    <metadata>\n"
+"       <type-mapping>mySQL</type-mapping>\n"
+"    </metadata>\n"
+"  </local-tx-datasource>\n"
+"\n"
+"</datasources>\n"
+"]]>"
 
 #. Tag: para
 #: Alternative_DBs.xml:109
@@ -436,6 +474,9 @@
 "<fk-constraint>true</fk-constraint>\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"<fk-constraint>true</fk-constraint>\n"
+"]]>"
 
 #. Tag: title
 #: Alternative_DBs.xml:144
@@ -470,19 +511,19 @@
 #: Alternative_DBs.xml:150
 #, no-c-format
 msgid "Oracle 10g: org.hibernate.dialect.Oracle10gDialect"
-msgstr ""
+msgstr "Oracle 10g: org.hibernate.dialect.Oracle10gDialect"
 
 #. Tag: para
 #: Alternative_DBs.xml:151
 #, no-c-format
 msgid "Microsoft SQL Server 2005: org.hibernate.dialect.SQLServerDialect"
-msgstr ""
+msgstr "Microsoft SQL Server 2005: org.hibernate.dialect.SQLServerDialect"
 
 #. Tag: para
 #: Alternative_DBs.xml:152
 #, no-c-format
 msgid "PostgresSQL 8.1: org.hibernate.dialect.PostgreSQLDialect"
-msgstr ""
+msgstr "PostgresSQL 8.1: org.hibernate.dialect.PostgreSQLDialect"
 
 #. Tag: para
 #: Alternative_DBs.xml:153
@@ -617,6 +658,15 @@
 "  ... ...\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"... ...\n"
+"<mbean code=\"org.jboss.mq.pm.jdbc2.PersistenceManager\"\n"
+"       name=\"jboss.mq:service=PersistenceManager\">\n"
+"  <depends optional-attribute-name=\"ConnectionManager\">\n"
+"    jboss.jca:service=DataSourceBinding,name=DefaultDS\n"
+"  </depends>\n"
+"  ... ...\n"
+"]]>"
 
 #. Tag: title
 #: Alternative_DBs.xml:207
@@ -785,6 +835,23 @@
 "  </mbean>  \n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"... ...\n"
+"  <mbean code=\"org.jboss.ejb.txtimer.DatabasePersistencePolicy\" \n"
+"         name=\"jboss.ejb:service=EJBTimerService,persistencePolicy=database"
+"\">\n"
+"    <!-- DataSourceBinding ObjectName -->\n"
+"    <depends optional-attribute-name=\"DataSource\">\n"
+"      jboss.jca:service=DataSourceBinding,name=DefaultDS\n"
+"    </depends>\n"
+"    <!-- The plugin that handles database persistence -->\n"
+"    <attribute name=\"DatabasePersistencePlugin\">\n"
+"      org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin\n"
+"    </attribute>\n"
+"    <!-- The timers table name -->\n"
+"    <attribute name=\"TimersTable\">TIMERS</attribute>\n"
+"  </mbean>  \n"
+"]]>"
 
 #. Tag: para
 #: Alternative_DBs.xml:249
@@ -821,3 +888,24 @@
 "     ... ...\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"... ...\n"
+"  <!-- HiLoKeyGeneratorFactory -->\n"
+"  <mbean code=\"org.jboss.ejb.plugins.keygenerator.hilo."
+"HiLoKeyGeneratorFactory\"\n"
+"         name=\"jboss:service=KeyGeneratorFactory,type=HiLo\">\n"
+"         \n"
+"     <depends>jboss:service=TransactionManager</depends>\n"
+"\n"
+"     <!-- Attributes common to HiLo factory instances -->\n"
+"  \n"
+"     <!-- DataSource JNDI name -->\n"
+"     <depends optional-attribute-name=\"DataSource\">jboss.jca:"
+"service=DataSourceBinding,name=DefaultDS</depends>\n"
+"\n"
+"     <!-- table name -->\n"
+"     <attribute name=\"TableName\">HILOSEQUENCES</attribute>\n"
+"     \n"
+"     ... ...\n"
+"]]>"
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Book_Example_Installation.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Book_Example_Installation.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Book_Example_Installation.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,17 +1,18 @@
-# translation of Book_Example_Installation.po to Japanese
+# translation of Book_Example_Installation.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 #
 # Automatically generated, 2007.
 # Kiyoto Hashida <khashida at redhat.com>, 2007.
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
 "Project-Id-Version: Book_Example_Installation\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-05 06:01+0000\n"
-"PO-Revision-Date: 2007-09-06 17:33+1000\n"
-"Last-Translator: Kiyoto Hashida <khashida at redhat.com>\n"
-"Language-Team: Japanese <jp at li.org>\n"
+"PO-Revision-Date: 2008-04-29 15:12+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"
 "Content-Transfer-Encoding: 8bit\n"
@@ -59,7 +60,7 @@
 
 #. Tag: programlisting
 #: Book_Example_Installation.xml:13
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;project name=\"JBoss book examples\" default=\"build-all\" basedir=\"."
 "\"&gt;\n"
@@ -79,7 +80,7 @@
 "\n"
 "    &lt;!-- Override with your JBoss server bundle dist location --&gt;\n"
 "    &lt;property name=\"jboss.dist\"        value=\"<emphasis role=\"bold\">/"
-"tmp/jboss-4.2</emphasis>\"/&gt;\n"
+"tmp/jboss-&lt;version&gt;</emphasis>\"/&gt;\n"
 "    &lt;property name=\"jboss.deploy.conf\" value=\"default\"/&gt;\n"
 "    ..."
 
@@ -97,9 +98,9 @@
 
 #. Tag: programlisting
 #: Book_Example_Installation.xml:17
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "jboss.dist=/usr/local/jboss/jboss-&lt;version&gt;"
-msgstr "jboss.dist=/usr/local/jboss/jboss-4.2"
+msgstr "jboss.dist=/usr/local/jboss/jboss-&lt;version&gt;"
 
 #. Tag: para
 #: Book_Example_Installation.xml:18
@@ -116,7 +117,7 @@
 
 #. Tag: programlisting
 #: Book_Example_Installation.xml:21
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "validate:\n"
 "     [java] ImplementationTitle: JBoss [Zion]\n"
@@ -131,9 +132,10 @@
 "validate:\n"
 "     [java] ImplementationTitle: JBoss [Zion]\n"
 "     [java] ImplementationVendor: JBoss Inc.\n"
-"     [java] ImplementationVersion: 4.2.0 (build: CVSTag=JBoss_4_2_0 "
-"date=200704070944)\n"
+"     [java] ImplementationVersion: &lt;version&gt; (build: CVSTag=JBoss_&lt;"
+"version&gt; date=200704070944)\n"
 "     [java] SpecificationTitle: JBoss\n"
 "     [java] SpecificationVendor: JBoss (http://www.jboss.org/)\n"
-"     [java] SpecificationVersion: 4.2.0\n"
-"     [java] JBoss version is: 4.2.0"
+"     [java] SpecificationVersion: &lt;version&gt;\n"
+"     [java] JBoss version is: &lt;version&gt;"
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_EJBs.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_EJBs.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_EJBs.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Clustering_Guide_EJBs.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Clustering_Guide_EJBs\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:16+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_EJBs.xml:5
@@ -77,6 +80,27 @@
 "    &lt;/enterprise-beans&gt;\n"
 "&lt;/jboss&gt;"
 msgstr ""
+"&lt;jboss&gt;    \n"
+"    &lt;enterprise-beans&gt;      \n"
+"        &lt;session&gt;        \n"
+"            &lt;ejb-name&gt;nextgen.StatelessSession&lt;/ejb-"
+"name&gt;        \n"
+"            &lt;jndi-name&gt;nextgen.StatelessSession&lt;/jndi-"
+"name&gt;        \n"
+"            &lt;clustered&gt;True&lt;/clustered&gt;        \n"
+"            &lt;cluster-config&gt;          \n"
+"                &lt;partition-name&gt;DefaultPartition&lt;/partition-"
+"name&gt;          \n"
+"                &lt;home-load-balance-policy&gt;                 \n"
+"                    org.jboss.ha.framework.interfaces.RoundRobin          \n"
+"                &lt;/home-load-balance-policy&gt;          \n"
+"                &lt;bean-load-balance-policy&gt;  \n"
+"                    org.jboss.ha.framework.interfaces.RoundRobin\n"
+"                &lt;/bean-load-balance-policy&gt;\n"
+"            &lt;/cluster-config&gt;\n"
+"        &lt;/session&gt;\n"
+"    &lt;/enterprise-beans&gt;\n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:21
@@ -197,6 +221,31 @@
 "    &lt;/enterprise-beans&gt;\n"
 "&lt;/jboss&gt;"
 msgstr ""
+"&lt;jboss&gt;    \n"
+"    &lt;enterprise-beans&gt;\n"
+"        &lt;session&gt;        \n"
+"            &lt;ejb-name&gt;nextgen.StatefulSession&lt;/ejb-"
+"name&gt;        \n"
+"            &lt;jndi-name&gt;nextgen.StatefulSession&lt;/jndi-"
+"name&gt;        \n"
+"            &lt;clustered&gt;True&lt;/clustered&gt;        \n"
+"            &lt;cluster-config&gt;          \n"
+"                &lt;partition-name&gt;DefaultPartition&lt;/partition-"
+"name&gt;\n"
+"                &lt;home-load-balance-policy&gt;               \n"
+"                    org.jboss.ha.framework.interfaces.RoundRobin          \n"
+"                &lt;/home-load-balance-policy&gt;          \n"
+"                &lt;bean-load-balance-policy&gt;               \n"
+"                    org.jboss.ha.framework.interfaces."
+"FirstAvailable          \n"
+"                &lt;/bean-load-balance-policy&gt;          \n"
+"                &lt;session-state-manager-jndi-name&gt;              \n"
+"                    /HASessionState/Default          \n"
+"                &lt;/session-state-manager-jndi-name&gt;        \n"
+"            &lt;/cluster-config&gt;      \n"
+"        &lt;/session&gt;    \n"
+"    &lt;/enterprise-beans&gt;\n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:63
@@ -298,6 +347,23 @@
 "<attribute name=\"BeanCleaningDelay\">0</attribute>\n"
 "</mbean>   ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<mbean code=\"org.jboss.ha.hasessionstate.server.HASessionStateService\"\n"
+"   name=\"jboss:service=HASessionState\">\n"
+"    \n"
+"    <depends>jboss:service=Naming</depends> \n"
+"   <!-- We now inject the partition into the HAJNDI service instead \n"
+" of requiring that the partition name be passed --> \n"
+" <depends optional-attribute-name=\"ClusterPartition\" \n"
+"  proxy-type=\"attribute\">\n"
+"  jboss:service=${jboss.partition.name:DefaultPartition}\n"
+"  </depends>\n"
+"  <!-- JNDI name under which the service is bound -->\n"
+"  <attribute name=\"JndiName\">/HASessionState/Default</attribute>\n"
+"  <!-- Max delay before cleaning unreclaimed state.\n"
+"Defaults to 30*60*1000 => 30 minutes -->\n"
+"<attribute name=\"BeanCleaningDelay\">0</attribute>\n"
+"</mbean>   ]]>"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:92
@@ -437,6 +503,66 @@
 "          </proxy-factory-config>\n"
 " </invoker-proxy-binding> ]]>"
 msgstr ""
+"<![CDATA[ \n"
+" <jboss>\n"
+" <session>\n"
+"         <ejb-name>nextgen_RetryInterceptorStatelessSession</ejb-name>\n"
+"         <invoker-bindings>\n"
+"         <invoker>\n"
+"         <invoker-proxy-binding-name>\n"
+"         clustered-retry-stateless-rmi-invoker\n"
+"         </invoker-proxy-binding-name>\n"
+"         <jndi-name>\n"
+"         nextgen_RetryInterceptorStatelessSession\n"
+"         </jndi-name>\n"
+"         </invoker>\n"
+"         </invoker-bindings>\n"
+"         <clustered>true</clustered>\n"
+" </session>\n"
+"  \n"
+" <invoker-proxy-binding>\n"
+"         <name>clustered-retry-stateless-rmi-invoker</name>\n"
+"         <invoker-mbean>jboss:service=invoker,type=jrmpha</invoker-mbean>\n"
+"         <proxy-factory>org.jboss.proxy.ejb.ProxyFactoryHA</proxy-factory>\n"
+"         <proxy-factory-config>\n"
+"         <client-interceptors>\n"
+"                 <home>\n"
+"                 <interceptor>\n"
+"                 org.jboss.proxy.ejb.HomeInterceptor\n"
+"                 </interceptor>\n"
+"                <interceptor>\n"
+"                org.jboss.proxy.SecurityInterceptor\n"
+"                </interceptor>\n"
+"                <interceptor>\n"
+"                  org.jboss.proxy.TransactionInterceptor\n"
+"                  </interceptor>\n"
+"                 <interceptor>\n"
+"                 org.jboss.proxy.ejb.RetryInterceptor\n"
+"                 </interceptor>\n"
+"                  <interceptor>\n"
+"                  org.jboss.invocation.InvokerInterceptor\n"
+"                  </interceptor>\n"
+"          </home>\n"
+"         <bean>\n"
+"                  <interceptor>\n"
+"                  org.jboss.proxy.ejb.StatelessSessionInterceptor\n"
+"                  </interceptor>\n"
+"                 <interceptor>\n"
+"                 org.jboss.proxy.SecurityInterceptor\n"
+"                 </interceptor>\n"
+"                 <interceptor>\n"
+"                org.jboss.proxy.TransactionInterceptor\n"
+"                </interceptor>\n"
+"                <interceptor>\n"
+"                org.jboss.proxy.ejb.RetryInterceptor\n"
+"                 </interceptor>\n"
+"                 <interceptor>\n"
+"                 org.jboss.invocation.InvokerInterceptor\n"
+"                </interceptor>\n"
+"        </bean>\n"
+"          </client-interceptors>\n"
+"          </proxy-factory-config>\n"
+" </invoker-proxy-binding> ]]>"
 
 #. Tag: title
 #: Clustering_Guide_EJBs.xml:128
@@ -563,6 +689,11 @@
 "\";\n"
 "}"
 msgstr ""
+"public @interface Clustered {\n"
+"   Class loadBalancePolicy() default LoadBalancePolicy.class;\n"
+"   String partition() default  \"${jboss.partition.name:DefaultPartition}"
+"\";\n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:177
@@ -585,6 +716,14 @@
 "   }\n"
 "}"
 msgstr ""
+"@Stateless\n"
+"@Clustered\n"
+"public class MyBean implements MySessionInt {\n"
+"   \n"
+"   public void test() {\n"
+"      // Do something cool\n"
+"   }\n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:179
@@ -614,6 +753,21 @@
 "         </enterprise-beans>\n"
 "</jboss>   ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<jboss>    \n"
+"         <enterprise-beans>\n"
+"         <session>\n"
+"                 <ejb-name>NonAnnotationStateful</ejb-name>\n"
+"                <clustered>true</clustered>\n"
+"                        <cluster-config>\n"
+"                        <partition-name>FooPartition</partition-name>\n"
+"                        <load-balance-policy>\n"
+"                        org.jboss.ha.framework.interfaces.RandomRobin\n"
+"                         </load-balance-policy>\n"
+"                 </cluster-config>\n"
+"         </session>    \n"
+"         </enterprise-beans>\n"
+"</jboss>   ]]>"
 
 #. Tag: title
 #: Clustering_Guide_EJBs.xml:187
@@ -647,6 +801,15 @@
 "long removalTimeoutSeconds() default 0;\n"
 "} ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"public @interface CacheConfig\n"
+"{\n"
+"String name() default \"jboss.cache:service=EJB3SFSBClusteredCache\";\n"
+"int maxSize() default 10000;\n"
+"long idleTimeoutSeconds() default 300;   \n"
+"boolean replicationIsPassivation() default true;   \n"
+"long removalTimeoutSeconds() default 0;\n"
+"} ]]>"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:196
@@ -718,6 +881,17 @@
 "   }\n"
 "}"
 msgstr ""
+"@Stateful\n"
+"@Clustered\n"
+"@CacheConfig(maxSize=5000,removalTimeoutSeconds=18000)\n"
+"public class MyBean implements MySessionInt {\n"
+"   \n"
+"   private int state = 0;\n"
+"\n"
+"   public void increment() {\n"
+"      System.out.println(\"counter: \" + (state++));\n"
+"   }\n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:218
@@ -747,6 +921,9 @@
 "boolean isModified();\n"
 "}"
 msgstr ""
+"public interface Optimized {\n"
+"boolean isModified();\n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:226
@@ -853,6 +1030,96 @@
 "        </mbean>\n"
 "</server>]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<server>\n"
+"        <mbean code=\"org.jboss..cache.TreeCache\"\n"
+"        name=\"jboss.cache:service=EJB3SFSBClusteredCache\">\n"
+"          \n"
+"                <attribute name=\"ClusterName\">\n"
+"                        ${jboss.partition.name:DefaultPartition}-SFSBCache\n"
+"                        </attribute>\n"
+"                        <attribute name=\"IsolationLevel\">REPEATABLE_READ</"
+"attribute>\n"
+"                        <attribute name=\"CacheMode\">REPL_ASYNC</"
+"attribute> \n"
+"                  \n"
+"                        <!-- We want to activate/inactivate regions as beans "
+"are deployed --> \n"
+"                         <attribute name=\"UseRegionBasedMarshalling\">true</"
+"attribute> \n"
+"                        <!-- Must match the value of "
+"\"useRegionBasedMarshalling\" --> \n"
+"                        <attribute name=\"InactiveOnStartup\">true</"
+"attribute>\n"
+"                          \n"
+"                        <attribute name=\"ClusterConfig\">\n"
+"                        ... ...\n"
+"                        </attribute> \n"
+"                          \n"
+"                        <!-- The max amount of time (in milliseconds) we "
+"wait until the \n"
+"                        initial state (ie. the contents of the cache) are "
+"retrieved from \n"
+"                        existing members.  --> \n"
+"                        <attribute name=\"InitialStateRetrievalTimeout"
+"\">17500</attribute>\n"
+"                          \n"
+"                        <!--  Number of milliseconds to wait until all "
+"responses for a\n"
+"                                synchronous call have been received.\n"
+"                                -->\n"
+"                        <attribute name=\"SyncReplTimeout\">17500</"
+"attribute>\n"
+"                          \n"
+"                        <!--  Max number of milliseconds to wait for a lock "
+"acquisition -->\n"
+"                        <attribute name=\"LockAcquisitionTimeout\">15000</"
+"attribute>\n"
+"                          \n"
+"                         <!--  Name of the eviction policy class. -->\n"
+"                        <attribute name=\"EvictionPolicyClass\">\n"
+"                                org.jboss.cache.eviction.LRUPolicy\n"
+"                        </attribute>\n"
+"                          \n"
+"                        <!--  Specific eviction policy configurations. This "
+"is LRU -->\n"
+"                        <attribute name=\"EvictionPolicyConfig\">\n"
+"                         <config>\n"
+"                                <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>\n"
+"                                 <name>statefulClustered</name> \n"
+"                                <!-- So default region would never timeout --"
+">\n"
+"                                <region name=\"/_default_\">\n"
+"                                <attribute name=\"maxNodes\">0</attribute>\n"
+"                                 <attribute name=\"timeToIdleSeconds\">0</"
+"attribute>\n"
+"                                </region>\n"
+"                        </config>\n"
+"                </attribute> \n"
+"                                          \n"
+"        <!-- Store passivated sessions to the file system --> \n"
+"         <attribute name=\"CacheLoaderConfiguration\"> \n"
+"        <config> \n"
+"          \n"
+"         <passivation>true</passivation> \n"
+"        <shared>false</shared> \n"
+"                                                          \n"
+"          <cacheloader> \n"
+"                 <class>org.jboss.cache.loader.FileCacheLoader</class> \n"
+"                <!-- Passivate to the server data dir --> \n"
+"                 <properties> \n"
+"                        location=${jboss.server.data.dir}${/}sfsb \n"
+"                </properties> \n"
+"                <async>false</async> \n"
+"                <fetchPersistentState>true</fetchPersistentState> \n"
+"                <ignoreModifications>false</ignoreModifications> \n"
+"                </cacheloader> \n"
+"                  \n"
+"                         </config> \n"
+"           </attribute>\n"
+"        </mbean>\n"
+"</server>]]>"
 
 #. Tag: para
 #: Clustering_Guide_EJBs.xml:235
@@ -891,3 +1158,4 @@
 "nodes independently passivate and activate clustered beans, they will "
 "corrupt each others data."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Entity_EJBs.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Clustering_Guide_Entity_EJBs.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Clustering_Guide_Entity_EJBs\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:14+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_Entity_EJBs.xml:5
@@ -95,6 +98,29 @@
 "    &lt;/enterprise-beans&gt;  \n"
 "&lt;/jboss&gt;"
 msgstr ""
+"&lt;jboss&gt;    \n"
+"    &lt;enterprise-beans&gt;      \n"
+"        &lt;entity&gt;        \n"
+"            &lt;ejb-name&gt;nextgen.EnterpriseEntity&lt;/ejb-"
+"name&gt;        \n"
+"            &lt;jndi-name&gt;nextgen.EnterpriseEntity&lt;/jndi-"
+"name&gt;          \n"
+"            &lt;clustered&gt;True&lt;/clustered&gt;         \n"
+"            &lt;cluster-config&gt;            \n"
+"                &lt;partition-name&gt;DefaultPartition&lt;/partition-"
+"name&gt;            \n"
+"                &lt;home-load-balance-policy&gt;                 \n"
+"                    org.jboss.ha.framework.interfaces."
+"RoundRobin            \n"
+"                &lt;/home-load-balance-policy&gt;            \n"
+"                &lt;bean-load-balance-policy&gt;                \n"
+"                    org.jboss.ha.framework.interfaces."
+"FirstAvailable            \n"
+"                &lt;/bean-load-balance-policy&gt;          \n"
+"            &lt;/cluster-config&gt;      \n"
+"        &lt;/entity&gt;    \n"
+"    &lt;/enterprise-beans&gt;  \n"
+"&lt;/jboss&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:17
@@ -275,6 +301,60 @@
 "</server>\n"
 "]]>"
 msgstr ""
+"<![CDATA[ \n"
+" <server>\n"
+"  <mbean code=\"org.jboss.cache.TreeCache\" \n"
+" name=\"jboss.cache:service=EJB3EntityTreeCache\">\n"
+"          \n"
+"  <depends>jboss:service=Naming</depends>\n"
+"  <depends>jboss:service=TransactionManager</depends> \n"
+"    \n"
+"  <!-- Name of cluster. Needs to be the same on all nodes in the clusters, \n"
+"               in order to find each other --> \n"
+"          <attribute name=\"ClusterName\">\n"
+"                  ${jboss.partition.name:DefaultPartition}-EntityCache\n"
+"          </attribute>\n"
+"          \n"
+"          <!-- Configure the TransactionManager -->\n"
+"         <attribute name=\"TransactionManagerLookupClass\">\n"
+"           org.jboss.cache.JBossTransactionManagerLookup\n"
+"         </attribute>\n"
+"          \n"
+"         <attribute name=\"IsolationLevel\">REPEATABLE_READ</attribute>\n"
+"         <attribute name=\"CacheMode\">REPL_SYNC</attribute> \n"
+"          \n"
+"         <!-- Must be true if any entity deployment uses a scoped "
+"classloader --> \n"
+"         <attribute name=\"UseRegionBasedMarshalling\">true</attribute> \n"
+"         <!-- Must match the value of \"useRegionBasedMarshalling\" --> \n"
+"         <attribute name=\"InactiveOnStartup\">true</attribute>\n"
+"          \n"
+"         <attribute name=\"ClusterConfig\">\n"
+"          ... ...\n"
+"         </attribute>\n"
+"          \n"
+"         <attribute name=\"InitialStateRetrievalTimeout\">17500</attribute>\n"
+"         <attribute name=\"SyncReplTimeout\">17500</attribute>\n"
+"         <attribute name=\"LockAcquisitionTimeout\">15000</attribute>\n"
+"          \n"
+"         <attribute name=\"EvictionPolicyClass\">\n"
+"         org.jboss.cache.eviction.LRUPolicy\n"
+"         </attribute>\n"
+"          \n"
+"         <!--  Specific eviction policy configurations. This is LRU -->\n"
+"          <attribute name=\"EvictionPolicyConfig\">\n"
+"          <config>\n"
+"          <attribute name=\"wakeUpIntervalSeconds\">5</attribute>\n"
+"          <!--  Cache wide default -->\n"
+"                  <region name=\"/_default_\">\n"
+"                  <attribute name=\"maxNodes\">5000</attribute>\n"
+"                  <attribute name=\"timeToLiveSeconds\">1000</attribute>\n"
+"                  </region>\n"
+"          </config>\n"
+"         </attribute>\n"
+"         </mbean>\n"
+"</server>\n"
+"]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:73
@@ -340,6 +420,10 @@
 "    org.jboss.ejb3.entity.TreeCacheProviderHook\n"
 "&lt;/property&gt;"
 msgstr ""
+"&lt;!-- Clustered cache with TreeCache --&gt;\n"
+"&lt;property name=\"cache.provider_class\"&gt;\n"
+"    org.jboss.ejb3.entity.TreeCacheProviderHook\n"
+"&lt;/property&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:91
@@ -357,6 +441,9 @@
 "    jboss.cache:service=EJB3EntityTreeCache\n"
 "&lt;/property&gt;"
 msgstr ""
+"&lt;property name=\"treecache.mbean.object_name\"&gt;\n"
+"    jboss.cache:service=EJB3EntityTreeCache\n"
+"&lt;/property&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:93
@@ -404,6 +491,11 @@
 "  // ... ... \n"
 "}"
 msgstr ""
+"@Entity \n"
+"@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL) \n"
+"public class Account implements Serializable { \n"
+"  // ... ... \n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:107
@@ -455,6 +547,34 @@
 " </mbean> \n"
 "</server>]]>"
 msgstr ""
+"<![CDATA[\n"
+"<server>  \n"
+"  <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"                 name=\"jboss.cache:service=EJB3EntityTreeCache\"> \n"
+"                  ... ... \n"
+"          <attribute name=\"EvictionPolicyConfig\">  \n"
+"                  <config>  \n"
+"                          <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>  \n"
+"                          <region name=\"/_default_\">  \n"
+"                                  <attribute name=\"maxNodes\">5000</"
+"attribute>  \n"
+"                                  <attribute name=\"timeToLiveSeconds"
+"\">1000</attribute>  \n"
+"                          </region>  \n"
+"                  <!-- Separate eviction rules for Account entities -->\n"
+"                          <region name=\"/myprefix/com/mycompany/entities/"
+"Account\">  \n"
+"                                  <attribute name=\"maxNodes\">10000</"
+"attribute>  \n"
+"                                  <attribute name=\"timeToLiveSeconds"
+"\">5000</attribute>  \n"
+"                          </region>  \n"
+"                  ... ... \n"
+"                 </config>  \n"
+"         </attribute>  \n"
+" </mbean> \n"
+"</server>]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:112
@@ -479,6 +599,12 @@
 "// ... ... \n"
 "}"
 msgstr ""
+"@Entity \n"
+"@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
+"region=”Account”) \n"
+"public class Account implements Serializable { \n"
+"// ... ... \n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:116
@@ -515,6 +641,30 @@
 "        </mbean> \n"
 "</server>]]>"
 msgstr ""
+"<![CDATA[                        \n"
+"<server>  \n"
+"        <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"              name=\"jboss.cache:service=EJB3EntityTreeCache\"> \n"
+"                ... ... \n"
+"        <attribute name=\"EvictionPolicyConfig\">  \n"
+"        <config>  \n"
+"                <attribute name=\"wakeUpIntervalSeconds\">5</attribute>  \n"
+"                <region name=\"/_default_\">  \n"
+"                <attribute name=\"maxNodes\">5000</attribute>  \n"
+"                <attribute name=\"timeToLiveSeconds\">1000</attribute>  \n"
+"                        </region>  \n"
+"                <!-- Separate eviction rules for Account entities -->\n"
+"                        <region name=\"/myprefix/Account\">  \n"
+"                                <attribute name=\"maxNodes\">10000</"
+"attribute>  \n"
+"                                <attribute name=\"timeToLiveSeconds\">5000</"
+"attribute>  \n"
+"                        </region>  \n"
+"                        ... ... \n"
+"        </config>  \n"
+"        </attribute>  \n"
+"        </mbean> \n"
+"</server>]]>"
 
 #. Tag: title
 #: Clustering_Guide_Entity_EJBs.xml:122
@@ -536,16 +686,14 @@
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:126
 #, no-c-format
-msgid ""
-"First, in persistence.xml you need to tell Hibernate to enable query caching:"
+msgid "First, in persistence.xml you need to tell Hibernate to enable query caching:"
 msgstr ""
 
 #. Tag: screen
 #: Clustering_Guide_Entity_EJBs.xml:129
 #, no-c-format
-msgid ""
-"&lt;property name=\"hibernate.cache.use_query_cache\" value=\"true\"/&gt;"
-msgstr ""
+msgid "&lt;property name=\"hibernate.cache.use_query_cache\" value=\"true\"/&gt;"
+msgstr "&lt;property name=\"hibernate.cache.use_query_cache\" value=\"true\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:130
@@ -573,6 +721,19 @@
 "// ... ... \n"
 "}]]>"
 msgstr ""
+"<![CDATA[ \n"
+"@Entity\n"
+"@Cache (usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
+"region=”Account”)\n"
+"@NamedQueries({\n"
+"@NamedQuery(name=\"account.bybranch\",\n"
+"query=\"select acct from Account as acct where acct.branch = ?1\",\n"
+"hints={@QueryHint(name=\"org.hibernate.cacheable\",value=\"true"
+"\")})           \n"
+"})\n"
+"public class Account implements Serializable { \n"
+"// ... ... \n"
+"}]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:135
@@ -636,6 +797,43 @@
 "</server>\n"
 "          ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<server>  \n"
+"          <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"                 name=\"jboss.cache:service=EJB3EntityTreeCache\">\n"
+"                  ... ... \n"
+"                  <attribute name=\"EvictionPolicyConfig\">  \n"
+"                          <config>  \n"
+"                          <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>  \n"
+"                                  <region name=\"/_default_\">  \n"
+"                                  <attribute name=\"maxNodes\">5000</"
+"attribute>  \n"
+"                                  <attribute name=\"timeToLiveSeconds"
+"\">1000</attribute>  \n"
+"                                  </region>  \n"
+"                                  <!-- Separate eviction rules for Account "
+"entities -->\n"
+"                                  <region name=\"/myprefix/Account\">  \n"
+"                                          <attribute name=\"maxNodes"
+"\">10000</attribute>  \n"
+"                                          <attribute name=\"timeToLiveSeconds"
+"\">5000</attribute>  \n"
+"                                  </region>\n"
+"                                  <!-- Cache queries for 10 minutes -->\n"
+"                                  <region name=\"/myprefix/org/hibernate/"
+"cache/StandardQueryCache\">  \n"
+"                                          <attribute name=\"maxNodes\">100</"
+"attribute>  \n"
+"                                          <attribute name=\"timeToLiveSeconds"
+"\">600</attribute>  \n"
+"                                  </region>  \n"
+"                                  ... ... \n"
+"                          </config>  \n"
+"                  </attribute>  \n"
+"          </mbean> \n"
+"</server>\n"
+"          ]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:144
@@ -667,6 +865,20 @@
 "        // ... ... \n"
 "        }]]>"
 msgstr ""
+"<![CDATA[\n"
+"        @Entity\n"
+"        @Cache (usage=CacheConcurrencyStrategy.TRANSACTIONAL,\n"
+"        region=”Account”)\n"
+"        @NamedQueries({\n"
+"        @NamedQuery(name=\"account.bybranch\",\n"
+"        query=\"select acct from Account as acct where acct.branch = ?1\",\n"
+"        hints={@QueryHint(name=\"org.hibernate.cacheable\",value=\"true\"),\n"
+"        @QueryHint(name=”org.hibernate.cacheRegion,value=”Queries”)\n"
+"        })           \n"
+"        })\n"
+"        public class Account implements Serializable { \n"
+"        // ... ... \n"
+"        }]]>"
 
 #. Tag: para
 #: Clustering_Guide_Entity_EJBs.xml:148
@@ -714,3 +926,39 @@
 "        </mbean> \n"
 "</server>]]>"
 msgstr ""
+"<![CDATA[        \n"
+"<server>  \n"
+"        <mbean code=\"org.jboss.cache.TreeCache\" \n"
+"               name=\"jboss.cache:service=EJB3EntityTreeCache\">\n"
+"                ... ... \n"
+"                <attribute name=\"EvictionPolicyConfig\">  \n"
+"                        <config>  \n"
+"                                <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>  \n"
+"                                <region name=\"/_default_\">  \n"
+"                                        <attribute name=\"maxNodes\">5000</"
+"attribute>  \n"
+"                                        <attribute name=\"timeToLiveSeconds"
+"\">1000</attribute>  \n"
+"                                </region>  \n"
+"                                <!-- Separate eviction rules for Account "
+"entities -->\n"
+"                                <region name=\"/myprefix/Account\">  \n"
+"                                        <attribute name=\"maxNodes\">10000</"
+"attribute>  \n"
+"                                        <attribute name=\"timeToLiveSeconds"
+"\">5000</attribute>  \n"
+"                                </region>\n"
+"                                <!-- Cache queries for 10 minutes -->\n"
+"                                <region name=\"/myprefix/Queries\">  \n"
+"                                        <attribute name=\"maxNodes\">100</"
+"attribute>  \n"
+"                                        <attribute name=\"timeToLiveSeconds"
+"\">600</attribute>  \n"
+"                                </region>  \n"
+"                                ... ... \n"
+"                        </config>  \n"
+"                </attribute>  \n"
+"        </mbean> \n"
+"</server>]]>"
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_HTTP.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_HTTP.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_HTTP.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Clustering_Guide_HTTP.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Clustering_Guide_HTTP\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:20+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_HTTP.xml:5
@@ -219,6 +222,50 @@
 "    Allow from 127.0.0.1\n"
 "&lt;/Location&gt;"
 msgstr ""
+"# Load mod_jk module\n"
+"# Specify the filename of the mod_jk lib\n"
+"LoadModule jk_module modules/mod_jk.so\n"
+" \n"
+"# Where to find workers.properties\n"
+"JkWorkersFile conf/workers.properties\n"
+"\n"
+"# Where to put jk logs\n"
+"JkLogFile logs/mod_jk.log\n"
+" \n"
+"# Set the jk log level [debug/error/info]\n"
+"JkLogLevel info \n"
+" \n"
+"# Select the log format\n"
+"JkLogStampFormat  \"[%a %b %d %H:%M:%S %Y]\"\n"
+" \n"
+"# JkOptions indicates to send SSK KEY SIZE\n"
+"JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories\n"
+" \n"
+"# JkRequestLogFormat\n"
+"JkRequestLogFormat \"%w %V %T\"\n"
+"               \n"
+"# Mount your applications\n"
+"JkMount /application/* loadbalancer\n"
+" \n"
+"# You can use external file for mount points.\n"
+"# It will be checked for updates each 60 seconds.\n"
+"# The format of the file is: /url=worker\n"
+"# /examples/*=loadbalancer\n"
+"JkMountFile conf/uriworkermap.properties               \n"
+"\n"
+"# Add shared memory.\n"
+"# This directive is present with 1.2.10 and\n"
+"# later versions of mod_jk, and is needed for\n"
+"# for load balancing to work properly\n"
+"JkShmFile logs/jk.shm \n"
+"              \n"
+"# Add jkstatus for managing runtime data\n"
+"&lt;Location /jkstatus/&gt;\n"
+"    JkMount status\n"
+"    Order deny,allow\n"
+"    Deny from all\n"
+"    Allow from 127.0.0.1\n"
+"&lt;/Location&gt;"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:52
@@ -274,6 +321,13 @@
 "/web-console=loadbalancer\n"
 "/web-console/*=loadbalancer"
 msgstr ""
+"# Simple worker configuration file\n"
+"\n"
+"# Mount the Servlet context to the ajp13 worker\n"
+"/jmx-console=loadbalancer\n"
+"/jmx-console/*=loadbalancer\n"
+"/web-console=loadbalancer\n"
+"/web-console/*=loadbalancer"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:75
@@ -343,6 +397,34 @@
 "# Status worker for managing load balancer\n"
 "worker.status.type=status"
 msgstr ""
+"# Define list of workers that will be used\n"
+"# for mapping requests\n"
+"worker.list=loadbalancer,status\n"
+"\n"
+"# Define Node1\n"
+"# modify the host as your host IP or DNS name.\n"
+"worker.node1.port=8009\n"
+"worker.node1.host=node1.mydomain.com \n"
+"worker.node1.type=ajp13\n"
+"worker.node1.lbfactor=1\n"
+"worker.node1.cachesize=10\n"
+"\n"
+"# Define Node2\n"
+"# modify the host as your host IP or DNS name.\n"
+"worker.node2.port=8009\n"
+"worker.node2.host= node2.mydomain.com\n"
+"worker.node2.type=ajp13\n"
+"worker.node2.lbfactor=1\n"
+"worker.node2.cachesize=10\n"
+"\n"
+"# Load-balancing behaviour\n"
+"worker.loadbalancer.type=lb\n"
+"worker.loadbalancer.balance_workers=node1,node2\n"
+"worker.loadbalancer.sticky_session=1\n"
+"#worker.list=loadbalancer\n"
+"\n"
+"# Status worker for managing load balancer\n"
+"worker.status.type=status"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:88
@@ -460,6 +542,10 @@
 "... ...\n"
 "&lt;/Engine&gt;"
 msgstr ""
+"&lt;Engine name=\"jboss.web\" defaultHost=\"localhost\" jvmRoute=\"node1"
+"\"&gt;\n"
+"... ...\n"
+"&lt;/Engine&gt;"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:127
@@ -480,6 +566,12 @@
 "emptySessionPath=\"true\" enableLookups=\"false\" redirectPort=\"8443\" /> ]]"
 ">"
 msgstr ""
+"<![CDATA[ \n"
+"<!-- Define an AJP 1.3 Connector on port 8009 --> \n"
+"<Connector port=\"8009\" address=\"${jboss.bind.address}\" protocol=\"AJP/1.3"
+"\" \n"
+"emptySessionPath=\"true\" enableLookups=\"false\" redirectPort=\"8443\" /> ]]"
+">"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:131
@@ -499,7 +591,7 @@
 #: Clustering_Guide_HTTP.xml:136
 #, no-c-format
 msgid "&lt;attribute name=\"UseJK\"&gt;true&lt;/attribute&gt;"
-msgstr ""
+msgstr "&lt;attribute name=\"UseJK\"&gt;true&lt;/attribute&gt;"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:137
@@ -616,6 +708,39 @@
 "    &lt;attribute name=\"SyncReplTimeout\"&gt;20000&lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.cache.aop.TreeCacheAop\"\n"
+"    name=\"jboss.cache:service=TomcatClusteringCache\"&gt;\n"
+"\n"
+"    &lt;depends&gt;jboss:service=Naming&lt;/depends&gt;\n"
+"    &lt;depends&gt;jboss:service=TransactionManager&lt;/depends&gt;\n"
+"    &lt;depends&gt;jboss.aop:service=AspectDeployer&lt;/depends&gt;\n"
+"\n"
+"    &lt;attribute name=\"TransactionManagerLookupClass\"&gt;\n"
+"        org.jboss.cache.BatchModeTransactionManagerLookup\n"
+"    &lt;/attribute&gt;\n"
+"    \n"
+"    &lt;attribute name=\"IsolationLevel\"&gt;REPEATABLE_READ&lt;/"
+"attribute&gt;\n"
+"    \n"
+"    &lt;attribute name=\"CacheMode\"&gt;REPL_ASYNC&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;attribute name=\"ClusterName\"&gt;\n"
+"      Tomcat-${jboss.partition.name:Cluster}\n"
+"    &lt;/attribute&gt;\n"
+"    \n"
+"    &lt;attribute name=\"UseMarshalling\"&gt;false&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;attribute name=\"InactiveOnStartup\"&gt;false&lt;/attribute&gt;\n"
+"    \n"
+"    &lt;attribute name=\"ClusterConfig\"&gt;\n"
+"        ... ...\n"
+"    &lt;/attribute&gt;\n"
+"    \n"
+"   \n"
+"    &lt;attribute name=\"LockAcquisitionTimeout\"&gt;15000&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"SyncReplTimeout\"&gt;20000&lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:165
@@ -746,6 +871,16 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\"?&gt; \n"
+"&lt;web-app  xmlns=\"http://java.sun.com/xml/ns/j2ee\"\n"
+"          xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \n"
+"          xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee \n"
+"                              http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+"\" \n"
+"          version=\"2.4\"&gt;\n"
+"    <emphasis role=\"bold\">&lt;distributable/&gt;</emphasis>\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:211
@@ -771,6 +906,16 @@
 "    &lt;/replication-config&gt;\n"
 "&lt;/jboss-web&gt;"
 msgstr ""
+"&lt;jboss-web&gt;\n"
+"    &lt;replication-config&gt;\n"
+"        &lt;replication-trigger&gt;SET_AND_NON_PRIMITIVE_GET&lt;/replication-"
+"trigger&gt;\n"
+"        &lt;replication-granularity&gt;SESSION&lt;/replication-"
+"granularity&gt;\n"
+"        &lt;replication-field-batch-mode&gt;true&lt;/replication-field-batch-"
+"mode&gt;\n"
+"    &lt;/replication-config&gt;\n"
+"&lt;/jboss-web&gt;"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:214
@@ -951,6 +1096,12 @@
 "...\n"
 "}]]>"
 msgstr ""
+"<![CDATA[\n"
+"@org.jboss.cache.aop.AopMarker\n"
+"public class Address \n"
+"{\n"
+"...\n"
+"}]]>"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:268
@@ -979,6 +1130,18 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"@org.jboss.cache.aop.InstanceOfAopMarker\n"
+"public class Person \n"
+"{\n"
+"...\n"
+"}\n"
+"then when you have a sub-class like\n"
+"public class Student extends Person\n"
+"{\n"
+"...\n"
+"}\n"
+"]]>"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:273
@@ -1004,6 +1167,14 @@
 "...\n"
 "}"
 msgstr ""
+"/*\n"
+" * My usual comments here first.\n"
+" * @@org.jboss.web.tomcat.tc5.session.AopMarker\n"
+" */\n"
+"public class Address \n"
+"{\n"
+"...\n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:281
@@ -1024,6 +1195,14 @@
 "...\n"
 "}"
 msgstr ""
+"/*\n"
+" *\n"
+" * @@org.jboss.web.tomcat.tc5.session.InstanceOfAopMarker\n"
+" */\n"
+"public class Person \n"
+"{\n"
+"...\n"
+"}"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:287
@@ -1047,6 +1226,9 @@
 "$ javac -cp [classpath] [source files or directories]\n"
 "$ aopc [classpath] [class files or directories]"
 msgstr ""
+"$ annotationc [classpath] [source files or directories]\n"
+"$ javac -cp [classpath] [source files or directories]\n"
+"$ aopc [classpath] [class files or directories]"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:293
@@ -1128,6 +1310,24 @@
 "mary.getAddress().setZip(95123); // this will update and replicate the zip "
 "code."
 msgstr ""
+"// Do this only once. So this can be in init(), e.g.\n"
+"if(firstTime)\n"
+"{\n"
+"  Person joe = new Person(\"Joe\", 40);\n"
+"  Person mary = new Person(\"Mary\", 30);\n"
+"  Address addr = new Address();\n"
+"  addr.setZip(94086);\n"
+"\n"
+"  joe.setAddress(addr);\n"
+"  mary.setAddress(addr); // joe and mary share the same address!\n"
+"\n"
+"  session.setAttribute(\"joe\", joe); // that's it.\n"
+"  session.setAttribute(\"mary\", mary); // that's it.\n"
+"}\n"
+"\n"
+"Person mary = (Person)session.getAttribute(\"mary\");\n"
+"mary.getAddress().setZip(95123); // this will update and replicate the zip "
+"code."
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:319
@@ -1173,6 +1373,20 @@
 "VERSION: 4\n"
 "AxCI8Ovt5VQTfNyYy9Bomw**: org.jboss.invocation.MarshalledValue at e076e4c8"
 msgstr ""
+"/JSESSION\n"
+"\n"
+"/localhost\n"
+"\n"
+"/quote\n"
+"\n"
+"/FB04767C454BAB3B2E462A27CB571330\n"
+"VERSION: 6\n"
+"FB04767C454BAB3B2E462A27CB571330: org.jboss.invocation."
+"MarshalledValue at 1f13a81c\n"
+"\n"
+"/AxCI8Ovt5VQTfNyYy9Bomw**\n"
+"VERSION: 4\n"
+"AxCI8Ovt5VQTfNyYy9Bomw**: org.jboss.invocation.MarshalledValue at e076e4c8"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:330
@@ -1231,6 +1445,8 @@
 "&lt;Valve className=\"org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn\" /"
 "&gt;"
 msgstr ""
+"&lt;Valve className=\"org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn\" /"
+"&gt;"
 
 #. Tag: title
 #: Clustering_Guide_HTTP.xml:348
@@ -1312,8 +1528,7 @@
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:372
 #, no-c-format
-msgid ""
-"Using deploy-hasingleton is very simple, but it does have two drawbacks:"
+msgid "Using deploy-hasingleton is very simple, but it does have two drawbacks:"
 msgstr ""
 
 #. Tag: para
@@ -1390,6 +1605,24 @@
 " } \n"
 "}  ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"public class HASingletonExample\n"
+"implements HASingletonExampleMBean { \n"
+" \n"
+"private boolean isMasterNode = false; \n"
+"  \n"
+"public void startSingleton() { \n"
+"isMasterNode = true; \n"
+"} \n"
+". \n"
+"public boolean isMasterNode() { \n"
+"return isMasterNode; \n"
+" } \n"
+"  \n"
+" public void stopSingleton() { \n"
+" isMasterNode = false; \n"
+" } \n"
+"}  ]]>"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:402
@@ -1441,6 +1674,34 @@
 "         </mbean> \n"
 "</server> ]]>"
 msgstr ""
+"<![CDATA[\n"
+" <server> \n"
+"         <!-- This MBean is an example of a clustered singleton --> \n"
+"         <mbean code=\"org.jboss.ha.examples.HASingletonExample\" \n"
+"                name=“jboss:service=HASingletonExample\"/> \n"
+"         \n"
+"         <!-- This HASingletonController manages the cluster Singleton --> \n"
+"         <mbean code=\"org.jboss.ha.singleton.HASingletonController\" \n"
+"                name=\"jboss:service=ExampleHASingletonController\"> \n"
+"                 \n"
+"                 <!-- Inject a ref to the HAPartition -->\n"
+"                 <depends optional-attribute-name=\"ClusterPartition\" proxy-"
+"type=\"attribute\">\n"
+"                         jboss:service=${jboss.partition.name:"
+"DefaultPartition}\n"
+"                 </depends>  \n"
+"                 <!-- Inject a ref to the service being controlled -->\n"
+"                 <depends optional-attribute-name=\"TargetName\">\n"
+"                         jboss:service=HASingletonExample\n"
+"                 </depends>\n"
+"                 <!-- Methods to invoke when become master / stop being "
+"master -->\n"
+"                 <attribute name=\"TargetStartMethod\">startSingleton</"
+"attribute> \n"
+"                 <attribute name=\"TargetStopMethod\">stopSingleton</"
+"attribute> \n"
+"         </mbean> \n"
+"</server> ]]>"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:410
@@ -1497,6 +1758,25 @@
 " </attribute> \n"
 "</mbean> ]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<mbean code=\"org.jboss.ha.singleton.HASingletonController\" \n"
+"name=\"jboss.ha:service=HASingletonDeployer\"> \n"
+" <depends optional-attribute-name=\"ClusterPartition\" proxy-type=\"attribute"
+"\">\n"
+"  jboss:service=${jboss.partition.name:DefaultPartition}\n"
+" </depends>  \n"
+" <depends optional-attributeame=\"TargetName\">\n"
+"  jboss.system:service=MainDeployer\n"
+" </depends> \n"
+" <attribute name=\"TargetStartMethod\">deploy</attribute> \n"
+" <attribute name=\"TargetStartMethodArgument\">\n"
+"  ${jboss.server.home.url}/deploy-hasingleton\n"
+" </attribute> \n"
+" <attribute name=\"TargetStopMethod\">undeploy</attribute> \n"
+" <attribute name=\"TargetStopMethodArgument\">\n"
+"  ${jboss.server.home.url}/deploy-hasingleton\n"
+" </attribute> \n"
+"</mbean> ]]>"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:420
@@ -1539,6 +1819,8 @@
 "<![CDATA[<depends>jboss.ha:service=HASingletonDeployer,type=Barrier</"
 "depends>]]>"
 msgstr ""
+"<![CDATA[<depends>jboss.ha:service=HASingletonDeployer,type=Barrier</"
+"depends>]]>"
 
 #. Tag: para
 #: Clustering_Guide_HTTP.xml:433
@@ -1678,3 +1960,4 @@
 "would remain the master – there's nothing magic about A that would cause it "
 "to become the master again just because it was before."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Intro.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Intro.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_Intro.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Clustering_Guide_Intro.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Clustering_Guide_Intro\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:21+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_Intro.xml:5
@@ -216,6 +219,30 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.ha.framework.server.ClusterPartition\"\n"
+"    name=\"jboss:service=DefaultPartition\"&gt;\n"
+"         \n"
+"    &lt;! -- Name of the partition being built --&gt;\n"
+"    &lt;attribute name=\"PartitionName\"&gt;\n"
+"        ${jboss.partition.name:DefaultPartition}\n"
+"    &lt;/attribute&gt;\n"
+"\n"
+"    &lt;! -- The address used to determine the node name --&gt;\n"
+"    &lt;attribute name=\"NodeAddress\"&gt;${jboss.bind.address}&lt;/"
+"attribute&gt;\n"
+"\n"
+"    &lt;! -- Determine if deadlock detection is enabled --&gt;\n"
+"    &lt;attribute name=\"DeadlockDetection\"&gt;False&lt;/attribute&gt;\n"
+"     \n"
+"    &lt;! -- Max time (in ms) to wait for state transfer to complete. \n"
+"        Increase for large states --&gt;\n"
+"    &lt;attribute name=\"StateTransferTimeout\"&gt;30000&lt;/attribute&gt;\n"
+"\n"
+"    &lt;! -- The JGroups protocol configuration --&gt;\n"
+"    &lt;attribute name=\"PartitionConfig\"&gt;\n"
+"        ... ...\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Intro.xml:62
@@ -663,6 +690,24 @@
 "        &lt;/mbean&gt;       \n"
 "&lt;/server&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;    \n"
+"&lt;server&gt;        \n"
+"        \n"
+"    &lt;mbean code=\"org.jboss.ha.framework.server.FarmMemberService\"     \n"
+"            name=\"jboss:service=FarmMember,partition=DefaultPartition"
+"\"&gt;     \n"
+"        ...      \n"
+"        \n"
+"        &lt;depends optional-attribute-name=\"ClusterPartition\" \n"
+"        proxy-type=\"attribute\"&gt;\n"
+"                jboss:service=${jboss.partition.name:DefaultPartition}\n"
+"                &lt;/depends&gt;     \n"
+"                &lt;attribute name=\"ScanPeriod\"&gt;5000&lt;/"
+"attribute&gt;      \n"
+"                &lt;attribute name=\"URLs\"&gt;farm/&lt;/attribute&gt;     \n"
+"        ...\n"
+"        &lt;/mbean&gt;       \n"
+"&lt;/server&gt;"
 
 #. Tag: para
 #: Clustering_Guide_Intro.xml:236
@@ -760,3 +805,4 @@
 "cover JBoss Cache in more detail when we discuss specific services in the "
 "next several sections.."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JBoss_Cache_JGroups.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JBoss_Cache_JGroups.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JBoss_Cache_JGroups.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,17 +1,20 @@
+# translation of Clustering_Guide_JBoss_Cache_JGroups.po to
 # Language ja-JP translations for PACKAGE package.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Clustering_Guide_JBoss_Cache_JGroups\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2007-12-10 22:33+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:27+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:5
@@ -157,6 +160,80 @@
 "         </attribute>\n"
 "</mbean> ]]>"
 msgstr ""
+"<![CDATA[\n"
+"<mbean code=\"org.jboss.ha.framework.server.ClusterPartition\"\n"
+"        name=\"jboss:service=${jboss.partition.name:DefaultPartition}\">\n"
+"         \n"
+"         ... ...\n"
+"         \n"
+"         <attribute name=\"PartitionConfig\">\n"
+"                 <Config>\n"
+"                         \n"
+"                         <UDP mcast_addr=\"${jboss.partition."
+"udpGroup:228.1.2.3}\" \n"
+"                              mcast_port=\"${jboss.hapartition."
+"mcast_port:45566}\"\n"
+"                              tos=\"8\"\n"
+"                              ucast_recv_buf_size=\"20000000\"\n"
+"                              ucast_send_buf_size=\"640000\"\n"
+"                              mcast_recv_buf_size=\"25000000\"\n"
+"                              mcast_send_buf_size=\"640000\"\n"
+"                              loopback=\"false\"\n"
+"                              discard_incompatible_packets=\"true\"\n"
+"                              enable_bundling=\"false\"\n"
+"                              max_bundle_size=\"64000\"\n"
+"                              max_bundle_timeout=\"30\"\n"
+"                              use_incoming_packet_handler=\"true\"\n"
+"                              use_outgoing_packet_handler=\"false\"\n"
+"                              ip_ttl=\"${jgroups.udp.ip_ttl:2}\"\n"
+"                              down_thread=\"false\" up_thread=\"false\"/>\n"
+"                         \n"
+"                         <PING timeout=\"2000\"\n"
+"                               down_thread=\"false\" up_thread=\"false\" "
+"num_initial_members=\"3\"/>\n"
+"                         \n"
+"                         <MERGE2 max_interval=\"100000\"\n"
+"                                 down_thread=\"false\" up_thread=\"false\" "
+"min_interval=\"20000\"/>\n"
+"                         <FD_SOCK down_thread=\"false\" up_thread=\"false\"/"
+">\n"
+"                         \n"
+"                         <FD timeout=\"10000\" max_tries=\"5\" \n"
+"                             down_thread=\"false\" up_thread=\"false\" shun="
+"\"true\"/>\n"
+"                         <VERIFY_SUSPECT timeout=\"1500\" down_thread=\"false"
+"\" up_thread=\"false\"/>\n"
+"                         <pbcast.NAKACK max_xmit_size=\"60000\"\n"
+"                                        use_mcast_xmit=\"false\" gc_lag=\"0"
+"\"\n"
+"                                        retransmit_timeout="
+"\"300,600,1200,2400,4800\"\n"
+"                                        down_thread=\"false\" up_thread="
+"\"false\"\n"
+"                                        discard_delivered_msgs=\"true\"/>\n"
+"                         <UNICAST timeout=\"300,600,1200,2400,3600\"\n"
+"                                  down_thread=\"false\" up_thread=\"false\"/"
+">\n"
+"                         <pbcast.STABLE stability_delay=\"1000\" "
+"desired_avg_gossip=\"50000\"\n"
+"                                        down_thread=\"false\" up_thread="
+"\"false\"\n"
+"                                        max_bytes=\"400000\"/>\n"
+"                         <pbcast.GMS print_local_addr=\"true\" join_timeout="
+"\"3000\"\n"
+"                                     down_thread=\"false\" up_thread=\"false"
+"\"\n"
+"                                     join_retry_timeout=\"2000\" shun=\"true"
+"\"\n"
+"                                     view_bundling=\"true\"/>\n"
+"                         <FRAG2 frag_size=\"60000\" down_thread=\"false\" "
+"up_thread=\"false\"/>\n"
+"                         <pbcast.STATE_TRANSFER down_thread=\"false\" \n"
+"                                                up_thread=\"false\" "
+"use_flush=\"false\"/>\n"
+"                 </Config>\n"
+"         </attribute>\n"
+"</mbean> ]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:33
@@ -283,12 +360,28 @@
 "     ip_ttl=\"${jgroups.udp.ip_ttl:2}\"\n"
 " down_thread=\"false\" up_thread=\"false\"/>]]>"
 msgstr ""
+"<![CDATA[\n"
+"<UDP mcast_addr=\"${jboss.partition.udpGroup:228.1.2.3}\" \n"
+"     mcast_port=\"${jboss.hapartition.mcast_port:45566}\"\n"
+"     tos=\"8\"\n"
+"     ucast_recv_buf_size=\"20000000\"\n"
+"     ucast_send_buf_size=\"640000\"\n"
+"     mcast_recv_buf_size=\"25000000\"\n"
+"     mcast_send_buf_size=\"640000\"\n"
+"     loopback=\"false\"\n"
+"     discard_incompatible_packets=\"true\"\n"
+"     enable_bundling=\"false\"\n"
+"     max_bundle_size=\"64000\"\n"
+"     max_bundle_timeout=\"30\"\n"
+"     use_incoming_packet_handler=\"true\"\n"
+"     use_outgoing_packet_handler=\"false\"\n"
+"     ip_ttl=\"${jgroups.udp.ip_ttl:2}\"\n"
+" down_thread=\"false\" up_thread=\"false\"/>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:75
 #, no-c-format
-msgid ""
-"The available attributes in the above JGroups configuration are listed below."
+msgid "The available attributes in the above JGroups configuration are listed below."
 msgstr ""
 
 #. Tag: para
@@ -484,12 +577,15 @@
 "    loopback=\"true\"\n"
 "    down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;TCP start_port=\"7800\"\n"
+"    bind_addr=\"192.168.5.1\"\n"
+"    loopback=\"true\"\n"
+"    down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:168
 #, no-c-format
-msgid ""
-"Below are the attributes available in the <literal>TCP</literal> element."
+msgid "Below are the attributes available in the <literal>TCP</literal> element."
 msgstr ""
 
 #. Tag: para
@@ -647,6 +743,9 @@
 "    router_host=\"192.168.5.1\"\n"
 "    down_thread=\"false\" up_thread=\"false/&gt;"
 msgstr ""
+"&lt;TUNNEL router_port=\"12001\"\n"
+"    router_host=\"192.168.5.1\"\n"
+"    down_thread=\"false\" up_thread=\"false/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:229
@@ -744,12 +843,14 @@
 "    num_initial_members=\"2\"\n"
 "    down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;PING timeout=\"2000\"\n"
+"    num_initial_members=\"2\"\n"
+"    down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:271
 #, no-c-format
-msgid ""
-"Here is another example PING configuration for contacting a Gossip Router."
+msgid "Here is another example PING configuration for contacting a Gossip Router."
 msgstr ""
 
 #. Tag: programlisting
@@ -763,6 +864,12 @@
 "              num_initial_members=\"3\"\n"
 "              down_thread=\"false\" up_thread=\"false\"/>]]>"
 msgstr ""
+"<![CDATA[        \n"
+"<PING gossip_host=\"localhost\"\n"
+"      gossip_port=\"1234\"\n"
+"              timeout=\"3000\" \n"
+"              num_initial_members=\"3\"\n"
+"              down_thread=\"false\" up_thread=\"false\"/>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:278
@@ -873,6 +980,11 @@
 "            num_initial_members=\"3\"\n"
 "  down_thread=\"false\" up_thread=\"false\"/>]]>"
 msgstr ""
+"<![CDATA[\n"
+"<TCPGOSSIP timeout=\"2000\"\n"
+"            initial_hosts=\"192.168.5.1[12000],192.168.0.2[12000]\"\n"
+"            num_initial_members=\"3\"\n"
+"  down_thread=\"false\" up_thread=\"false\"/>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:326
@@ -917,6 +1029,11 @@
 "        num_initial_members=\"3\"\n"
 "         down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;TCPPING timeout=\"2000\"\n"
+"        initial_hosts=\"hosta[2300],hostb[3400],hostc[4500]\"\n"
+"        port_range=\"3\"\n"
+"        num_initial_members=\"3\"\n"
+"         down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:355
@@ -979,6 +1096,13 @@
 "    num_initial_members=\"3\"\n"
 "    down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;MPING timeout=\"2000\"\n"
+"    bind_to_all_interfaces=\"true\"\n"
+"    mcast_addr=\"228.8.8.8\"\n"
+"    mcast_port=\"7500\"\n"
+"    ip_ttl=\"8\"\n"
+"    num_initial_members=\"3\"\n"
+"    down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:389
@@ -1067,6 +1191,10 @@
 "    shun=\"true\"\n"
 "    down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;FD timeout=\"2000\"\n"
+"    max_tries=\"3\"\n"
+"    shun=\"true\"\n"
+"    down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:433
@@ -1140,7 +1268,7 @@
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:464
 #, no-c-format
 msgid "&lt;FD_SOCK_down_thread=\"false\" up_thread=\"false\"/&gt;"
-msgstr ""
+msgstr "&lt;FD_SOCK_down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:466
@@ -1185,6 +1313,9 @@
 "<VERIFY_SUSPECT timeout=\"1500\"\n"
 "        down_thread=\"false\" up_thread=\"false\"/>]]>"
 msgstr ""
+"<![CDATA[                        \n"
+"<VERIFY_SUSPECT timeout=\"1500\"\n"
+"        down_thread=\"false\" up_thread=\"false\"/>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:484
@@ -1332,6 +1463,10 @@
 "<FD timeout=\"10000\" max_tries=\"5\" shun=\"true\" \n"
 "down_thread=\"false\" up_thread=\"false\" /> ]]>"
 msgstr ""
+"<![CDATA[\n"
+"<FD_SOCK down_thread=\"false\" up_thread=\"false\"/>\n"
+"<FD timeout=\"10000\" max_tries=\"5\" shun=\"true\" \n"
+"down_thread=\"false\" up_thread=\"false\" /> ]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:586
@@ -1397,6 +1532,8 @@
 "&lt;UNICAST timeout=\"100,200,400,800\"\n"
 "down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;UNICAST timeout=\"100,200,400,800\"\n"
+"down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:612
@@ -1446,6 +1583,11 @@
 "   discard_delivered_msgs=\"true\"\n"
 "   down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;pbcast.NAKACK max_xmit_size=\"60000\" use_mcast_xmit=\"false\" \n"
+"   \n"
+"   retransmit_timeout=\"300,600,1200,2400,4800\" gc_lag=\"0\"\n"
+"   discard_delivered_msgs=\"true\"\n"
+"   down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:636
@@ -1544,6 +1686,12 @@
 "    shun=\"true\"\n"
 "    view_bundling=\"true\"/&gt;"
 msgstr ""
+"&lt;pbcast.GMS print_local_addr=\"true\"\n"
+"    join_timeout=\"3000\"\n"
+"    down_thread=\"false\" up_thread=\"false\"\n"
+"    join_retry_timeout=\"2000\"\n"
+"    shun=\"true\"\n"
+"    view_bundling=\"true\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:688
@@ -1637,6 +1785,9 @@
 "down_thread=\"false\" up_thread=\"false\" \n"
 "    min_threshold=\"0.10\"/&gt;"
 msgstr ""
+"&lt;FC max_credits=\"1000000\"\n"
+"down_thread=\"false\" up_thread=\"false\" \n"
+"    min_threshold=\"0.10\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:735
@@ -1718,6 +1869,9 @@
 "                <FRAG2 frag_size=\"60000\" down_thread=\"false\" up_thread="
 "\"false\"/>]]>"
 msgstr ""
+"<![CDATA[        \n"
+"                <FRAG2 frag_size=\"60000\" down_thread=\"false\" up_thread="
+"\"false\"/>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:767
@@ -1763,9 +1917,8 @@
 #. Tag: programlisting
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:790
 #, no-c-format
-msgid ""
-"&lt;pbcast.STATE_TRANSFER down_thread=\"false\" up_thread=\"false\"/&gt;"
-msgstr ""
+msgid "&lt;pbcast.STATE_TRANSFER down_thread=\"false\" up_thread=\"false\"/&gt;"
+msgstr "&lt;pbcast.STATE_TRANSFER down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: title
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:794
@@ -1796,6 +1949,10 @@
 "    down_thread=\"false\" up_thread=\"false\"\n"
 "       max_bytes=\"400000\"/&gt;"
 msgstr ""
+"&lt;pbcast.STABLE stability_delay=\"1000\"\n"
+"    desired_avg_gossip=\"5000\" \n"
+"    down_thread=\"false\" up_thread=\"false\"\n"
+"       max_bytes=\"400000\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:801
@@ -1866,6 +2023,9 @@
 "    min_interval=\"2000\"\n"
 "    down_thread=\"false\" up_thread=\"false\"/&gt;"
 msgstr ""
+"&lt;MERGE2 max_interval=\"10000\"\n"
+"    min_interval=\"2000\"\n"
+"    down_thread=\"false\" up_thread=\"false\"/&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:834
@@ -1954,8 +2114,7 @@
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:866
 #, no-c-format
-msgid ""
-"Binding JGroups to the same interface as other services. Simple, just use -b:"
+msgid "Binding JGroups to the same interface as other services. Simple, just use -b:"
 msgstr ""
 
 #. Tag: screen
@@ -2007,7 +2166,7 @@
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:898
 #, no-c-format
 msgid "./run.sh -b 10.0.0.100 -Djgroups.ignore.bind_addr=true -c all"
-msgstr ""
+msgstr "./run.sh -b 10.0.0.100 -Djgroups.ignore.bind_addr=true -c all"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:903
@@ -2135,6 +2294,8 @@
 "<![CDATA[<attribute name=\"ClusterName\">Tomcat-${jboss.partition.name:"
 "Cluster}</attribute>]]>"
 msgstr ""
+"<![CDATA[<attribute name=\"ClusterName\">Tomcat-${jboss.partition.name:"
+"Cluster}</attribute>]]>"
 
 #. Tag: title
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:947
@@ -2162,6 +2323,9 @@
 "<UDP mcast_addr=\"${jboss.partition.udpGroup:228.1.2.3}\"\n"
 " ....]]>"
 msgstr ""
+"<![CDATA[<Config>\n"
+"<UDP mcast_addr=\"${jboss.partition.udpGroup:228.1.2.3}\"\n"
+" ....]]>"
 
 #. Tag: para
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:955
@@ -2184,6 +2348,10 @@
 "mcast_port=34567 -Djboss.ejb3sfsbpartition.mcast_port=45678 -b 192.168.1.100 "
 "-c all"
 msgstr ""
+"/run.sh -u 230.1.2.3 -g QAPartition -Djboss.hapartition.mcast_port=12345 -"
+"Djboss.webpartition.mcast_port=23456 -Djboss.ejb3entitypartition."
+"mcast_port=34567 -Djboss.ejb3sfsbpartition.mcast_port=45678 -b 192.168.1.100 "
+"-c all"
 
 #. Tag: emphasis
 #: Clustering_Guide_JBoss_Cache_JGroups.xml:960
@@ -2341,3 +2509,4 @@
 "will not process any other messages, including heartbeats, and therefore B "
 "will not receive the heartbeat ack and will suspect C."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JMS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JMS.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JMS.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Clustering_Guide_JMS.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Clustering_Guide_JMS\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:28+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_JMS.xml:5
@@ -212,6 +215,19 @@
 "</resource-ref>\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"<resource-ref>\n"
+"         <res-ref-name>jms/ConnectionFactory</res-ref-name>\n"
+"         <res-type>javax.jms.QueueConnectionFactory</res-type>\n"
+"         <res-auth>Container</res-auth>\n"
+"</resource-ref>\n"
+"         \n"
+"<resource-ref>\n"
+"         <res-ref-name>jms/Queue</res-ref-name>\n"
+"         <res-type>javax.jms.Queue</res-type>\n"
+"         <res-auth>Container</res-auth>\n"
+"</resource-ref>\n"
+"]]>"
 
 #. Tag: para
 #: Clustering_Guide_JMS.xml:101
@@ -237,6 +253,19 @@
 "         <jndi-name>jnp://localhost:1100/queue/A</jndi-name>\n"
 "</resource-ref>]]>"
 msgstr ""
+"<![CDATA[ \n"
+"<resource-ref>\n"
+"         <res-ref-name>jms/ConnectionFactory</res-ref-name>\n"
+"        <!-- Use the JMS Resource Adapter, let it deal\n"
+"         with knowing where the JMS server is -->\n"
+"        <jndi-name>java:/JmsXA</jndi-name>\n"
+" </resource-ref>\n"
+" \n"
+"<resource-ref>\n"
+"         <res-ref-name>jms/Queue</res-ref-name>\n"
+"         <!-- Use HA-JNDI so we can find the queue on any node -->\n"
+"         <jndi-name>jnp://localhost:1100/queue/A</jndi-name>\n"
+"</resource-ref>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JMS.xml:110
@@ -438,6 +467,166 @@
 "}\n"
 "]]>"
 msgstr ""
+"<![CDATA[\n"
+"package com.test.hajms.client;\n"
+"\n"
+"import javax.naming.InitialContext;\n"
+"import javax.jms.ConnectionFactory;\n"
+"import javax.jms.Destination;\n"
+"import javax.jms.Connection;\n"
+"import javax.jms.Session;\n"
+"import javax.jms.MessageProducer;\n"
+"import javax.jms.Message;\n"
+"import javax.jms.ExceptionListener;\n"
+"import javax.jms.JMSException;\n"
+"import javax.jms.DeliveryMode;\n"
+"\n"
+"import org.apache.commons.logging.Log;\n"
+"import org.apache.commons.logging.LogFactory;\n"
+" \n"
+"public class FailoverJMSClient\n"
+"{\n"
+"private static final Log log = LogFactory.getLog(FailoverJMSClient.class);\n"
+"\n"
+"public static final int NUM_RETRIES = 3;\n"
+"\n"
+"volatile boolean doSend = true;\n"
+"ConnectionFactory connectionFactory;\n"
+"Destination queue;\n"
+"Connection connection;\n"
+"Session session;\n"
+"MessageProducer producer;\n"
+"\n"
+"\n"
+"public static void main(String[] args) throws Exception\n"
+"{\n"
+"FailoverJMSClient jmsClient = new FailoverJMSClient();\n"
+"jmsClient.setUpJMS();\n"
+"jmsClient.sendMessages();\n"
+"}\n"
+"\n"
+"\n"
+"public boolean setUpJMS()\n"
+"{\n"
+"InitialContext ic;\n"
+"try\n"
+"{\n"
+"// assume jndi.properties is configured for HA-JNDI\n"
+"ic = new InitialContext();\n"
+"connectionFactory = (ConnectionFactory)ic.lookup(\"ConnectionFactory\");\n"
+"queue = (Destination)ic.lookup(\"queue/FailoverTestQueue\");\n"
+"connection = connectionFactory.createConnection();\n"
+"try\n"
+"{\n"
+"log.debug(\"Connection created ...\");\n"
+"\n"
+"// KEY - register for exception callbacks\n"
+"connection.setExceptionListener(new ExceptionListenerImpl());\n"
+"\n"
+"session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);\n"
+"log.debug(\"Session created ...\");\n"
+"producer = session.createProducer(queue);\n"
+"\n"
+"producer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);\n"
+"log.debug(\"Producer created ...\");\n"
+"\n"
+"return true;\n"
+"}\n"
+"catch (Exception e)\n"
+"{\n"
+"// We failed so close the connection\n"
+"try\n"
+"{\n"
+"connection.close();\n"
+"}\n"
+"catch (JMSException ignored)\n"
+"{\n"
+"// Pointless\n"
+"}\n"
+"// Rethrow the initial problem to where we will log it\n"
+"throw e;\n"
+"} \n"
+"finally\n"
+"{\n"
+"// And close the initial context\n"
+"// We don't want to wait for the garbage collector to close it\n"
+"// otherwise we'll have useless hanging network connections\n"
+"ic.close();\n"
+"}\n"
+"}\n"
+"catch (Exception e)\n"
+"{\n"
+"log.error(\"Error setting up JMS\", e);\n"
+"return false;\n"
+"}\n"
+"}\n"
+"\n"
+"public void sendMessages()\n"
+"{\n"
+"int cnt = 0;\n"
+"while(doSend)\n"
+"{\n"
+"try\n"
+"{\n"
+"Thread.sleep(100);\n"
+"\n"
+"Message m = session.createObjectMessage(new Integer(cnt++));\n"
+"producer.send(m);\n"
+"\n"
+"log.trace(\"message \" + cnt + \" sent\");\n"
+"\n"
+"}\n"
+"catch(Exception e)\n"
+"{\n"
+"cnt--;\n"
+"log.error(e.getMessage());\n"
+"}\n"
+"}\n"
+"}\n"
+"\n"
+"\n"
+"\n"
+"private class ExceptionListenerImpl implements ExceptionListener\n"
+"{\n"
+"public void onException(JMSException e)\n"
+"{\n"
+"                         \n"
+"for(int i = 0; i < NUM_RETRIES; i++)\n"
+"            {\n"
+"            log.warn(\"Connection has problems, trying to re-create it, "
+"attempt \" +\n"
+"            (i + 1) + \" ...\");\n"
+"            \n"
+"            try \n"
+"            {\n"
+"            connection.close();  // unregisters the ExceptionListener\n"
+"            }\n"
+"            catch(Exception e2) {\n"
+"            // I will get an Exception anyway, since the connection to "
+"the                     \n"
+"            //server is broken, but close() frees up resources associated \n"
+"            // with the connection\n"
+"            }\n"
+"            \n"
+"            boolean setupOK = setUpJMS();\n"
+"            \n"
+"            if (setupOK)\n"
+"            {\n"
+"            log.info(\"Connection re-established\");\n"
+"            return;\n"
+"            }\n"
+"            else\n"
+"            {\n"
+"            log.warn(\"Re-creating connection failed, retrying ...\");\n"
+"           }\n"
+"            }\n"
+"            \n"
+"            log.error(\"Cannot re-establish connection, giving up ...\");\n"
+"            doSend = false;\n"
+"            }\n"
+"            }\n"
+"}\n"
+"]]>"
 
 #. Tag: title
 #: Clustering_Guide_JMS.xml:132
@@ -509,3 +698,4 @@
 "to an undesirable implementation detail of <literal>HashSet</literal> in the "
 "JVM."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JNDI.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JNDI.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Guide_JNDI.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of Clustering_Guide_JNDI.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Clustering_Guide_JNDI\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-12-10 22:33+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:28+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Guide_JNDI.xml:5
@@ -354,6 +357,13 @@
 "        p.put(Context.PROVIDER_URL, \"localhost:1100\"); // HA-JNDI port.  \n"
 "        return new InitialContext(p);"
 msgstr ""
+"Properties p = new Properties();  \n"
+"        p.put(Context.INITIAL_CONTEXT_FACTORY,   \n"
+"        \"org.jnp.interfaces.NamingContextFactory\");  \n"
+"        p.put(Context.URL_PKG_PREFIXES, \"jboss.naming:org.jnp.interfaces"
+"\");  \n"
+"        p.put(Context.PROVIDER_URL, \"localhost:1100\"); // HA-JNDI port.  \n"
+"        return new InitialContext(p);"
 
 #. Tag: para
 #: Clustering_Guide_JNDI.xml:173
@@ -398,9 +408,8 @@
 #. Tag: programlisting
 #: Clustering_Guide_JNDI.xml:187
 #, no-c-format
-msgid ""
-"java.naming.provier.url=server1:1100,server2:1100,server3:1100,server4:1100"
-msgstr ""
+msgid "java.naming.provier.url=server1:1100,server2:1100,server3:1100,server4:1100"
+msgstr "java.naming.provier.url=server1:1100,server2:1100,server3:1100,server4:1100"
 
 #. Tag: para
 #: Clustering_Guide_JNDI.xml:188
@@ -563,6 +572,13 @@
 "       \n"
 "&lt;mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.ha.jndi.HANamingService\"            \n"
+"       name=\"jboss:service=HAJNDI\"&gt;       \n"
+"       &lt;depends optional-attribute-name=\"ClusterPartition\" \n"
+"                proxy-type=\"attribute\"&gt;jboss:service=${jboss.partition."
+"name:DefaultPartition}&lt;/depends&gt; \n"
+"       \n"
+"&lt;mbean&gt;"
 
 #. Tag: para
 #: Clustering_Guide_JNDI.xml:246
@@ -756,6 +772,56 @@
 "          --> \n"
 "   </mbean>]]>"
 msgstr ""
+"<![CDATA[\n"
+" <mbean code=\"org.jboss.ha.jndi.HANamingService\" \n"
+"        name=\"jboss:service=HAJNDI\"> \n"
+"         <!-- We now inject the partition into the HAJNDI service instead \n"
+"         of requiring that the partition name be passed --> \n"
+"         <depends optional-attribute-name=\"ClusterPartition\" \n"
+"         proxy-type=\"attribute\">jboss:service=${jboss.partition.name:"
+"DefaultPartition}</depends> \n"
+"         <!-- Bind address of bootstrap and HA-JNDI RMI endpoints --> \n"
+"         <attribute name=\"BindAddress\">${jboss.bind.address}</attribute> \n"
+"         <!-- Port on which the HA-JNDI stub is made available --> \n"
+"         <attribute name=\"Port\">1100</attribute> \n"
+"         <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => "
+"auto. --> \n"
+"         <attribute name=\"RmiPort\">1101</attribute> \n"
+"         <!-- Accept backlog of the bootstrap socket --> \n"
+"         <attribute name=\"Backlog\">50</attribute> \n"
+"         <!-- The thread pool service used to control the bootstrap and auto "
+"discovery lookups --> \n"
+"        <depends optional-attribute-name=\"LookupPool\" \n"
+"         proxy-type=\"attribute\">jboss.system:service=ThreadPool</"
+"depends> \n"
+"         <!-- A flag to disable the auto discovery via multicast --> \n"
+"        <attribute name=\"DiscoveryDisabled\">false</attribute> \n"
+"        <!-- Set the auto-discovery bootstrap multicast bind address. If "
+"not \n"
+"         specified and a BindAddress is specified, the BindAddress will be "
+"used. --> \n"
+"         <attribute name=\"AutoDiscoveryBindAddress\">${jboss.bind.address}</"
+"attribute> \n"
+"         <!-- Multicast Address and group port used for auto-discovery --> \n"
+"         <attribute name=\"AutoDiscoveryAddress\">${jboss.partition."
+"udpGroup:230.0.0.4}</attribute> \n"
+"         <attribute name=\"AutoDiscoveryGroup\">1102</attribute> \n"
+"         <!-- The TTL (time-to-live) for autodiscovery IP multicast packets "
+"--> \n"
+"         <attribute name=\"AutoDiscoveryTTL\">16</attribute> \n"
+"         <!-- The load balancing policy for HA-JNDI --> \n"
+"         <attribute name=\"LoadBalancePolicy\">org.jboss.ha.framework."
+"interfaces.RoundRobin</attribute> \n"
+"        \n"
+"         <!-- Client socket factory to be used for client-server \n"
+"         RMI invocations during JNDI queries \n"
+"         <attribute name=\"ClientSocketFactory\">custom</attribute> \n"
+"         --> \n"
+"         <!-- Server socket factory to be used for client-server \n"
+"         RMI invocations during JNDI queries \n"
+"         <attribute name=\"ServerSocketFactory\">custom</attribute> \n"
+"          --> \n"
+"   </mbean>]]>"
 
 #. Tag: para
 #: Clustering_Guide_JNDI.xml:304
@@ -782,3 +848,12 @@
 " <attribute name=\"Port\">56789</attribute>  \n"
 "</mbean> ]]>"
 msgstr ""
+"<![CDATA[\n"
+"<mbean code=\"org.jboss.ha.jndi.HANamingService\"    \n"
+"      name=\"jboss:service=HAJNDI\">    \n"
+"\n"
+"      <depends optional-attribute-name=\"ClusterPartition\" \n"
+"   proxy-type=\"attribute\">jboss:service=MySpecialPartition</depends>  \n"
+" <attribute name=\"Port\">56789</attribute>  \n"
+"</mbean> ]]>"
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Intro.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Intro.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/Clustering_Intro.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,17 +1,20 @@
+# translation of Clustering_Intro.po to
 # Language ja-JP translations for PACKAGE package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Clustering_Intro\n"
 "POT-Creation-Date: 2001-02-09 01:25+0100\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:29+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Clustering_Intro.xml:6
@@ -218,6 +221,41 @@
 "    Allow from 127.0.0.1\n"
 "&lt;/Location&gt;"
 msgstr ""
+"# Load mod_jk module\n"
+"# Specify the filename of the mod_jk lib\n"
+"LoadModule jk_module modules/mod_jk.so\n"
+" \n"
+"# Where to find workers.properties\n"
+"JkWorkersFile conf/workers.properties\n"
+"\n"
+"# Where to put jk logs\n"
+"JkLogFile logs/mod_jk.log\n"
+" \n"
+"# Set the jk log level [debug/error/info]\n"
+"JkLogLevel info \n"
+" \n"
+"# Select the log format\n"
+"JkLogStampFormat  \"[%a %b %d %H:%M:%S %Y]\"\n"
+"\n"
+"# JkRequestLogFormat\n"
+"JkRequestLogFormat \"%w %V %T\"\n"
+"               \n"
+"# Mount your applications\n"
+"JkMount /application/* loadbalancer\n"
+"\n"
+"# Add shared memory.\n"
+"# This directive is present with 1.2.10 and\n"
+"# later versions of mod_jk, and is needed for\n"
+"# for load balancing to work properly\n"
+"JkShmFile logs/jk.shm \n"
+"              \n"
+"# Add jkstatus for managing runtime data\n"
+"&lt;Location /jkstatus/&gt;\n"
+"    JkMount status\n"
+"    Order deny,allow\n"
+"    Deny from all\n"
+"    Allow from 127.0.0.1\n"
+"&lt;/Location&gt;"
 
 #. Tag: para
 #: Clustering_Intro.xml:55
@@ -268,6 +306,34 @@
 "# Status worker for managing load balancer\n"
 "worker.status.type=status"
 msgstr ""
+"# Define list of workers that will be used\n"
+"# for mapping requests\n"
+"worker.list=loadbalancer,status\n"
+"\n"
+"# Define Node1\n"
+"# modify the host as your host IP or DNS name.\n"
+"worker.node1.port=8009\n"
+"worker.node1.host=node1.mydomain.com \n"
+"worker.node1.type=ajp13\n"
+"worker.node1.lbfactor=1\n"
+"worker.node1.cachesize=10\n"
+"\n"
+"# Define Node2\n"
+"# modify the host as your host IP or DNS name.\n"
+"worker.node2.port=8009\n"
+"worker.node2.host= node2.mydomain.com\n"
+"worker.node2.type=ajp13\n"
+"worker.node2.lbfactor=1\n"
+"worker.node2.cachesize=10\n"
+"\n"
+"# Load-balancing behaviour\n"
+"worker.loadbalancer.type=lb\n"
+"worker.loadbalancer.balance_workers=node1,node2\n"
+"worker.loadbalancer.sticky_session=1\n"
+"#worker.list=loadbalancer\n"
+"\n"
+"# Status worker for managing load balancer\n"
+"worker.status.type=status"
 
 #. Tag: para
 #: Clustering_Intro.xml:60
@@ -369,7 +435,7 @@
 #: Clustering_Intro.xml:86
 #, no-c-format
 msgid "&lt;attribute name=\"UseJK\"&gt;true&lt;/attribute&gt;"
-msgstr ""
+msgstr "&lt;attribute name=\"UseJK\"&gt;true&lt;/attribute&gt;"
 
 #. Tag: para
 #: Clustering_Intro.xml:87
@@ -398,6 +464,10 @@
 "... ...\n"
 "&lt;/Engine&gt;"
 msgstr ""
+"&lt;Engine name=\"jboss.web\" \n"
+"        defaultHost=\"localhost\" jvmRoute=\"node1\"&gt;\n"
+"... ...\n"
+"&lt;/Engine&gt;"
 
 #. Tag: para
 #: Clustering_Intro.xml:92
@@ -490,6 +560,10 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;web-app  ...&gt;\n"
+"    &lt;distributable/&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: para
 #: Clustering_Intro.xml:123
@@ -563,12 +637,19 @@
 "    jboss.cache:service=EJB3EntityTreeCache\n"
 "&lt;/property&gt;"
 msgstr ""
+"&lt;!-- Clustered cache with TreeCache --&gt;\n"
+"&lt;property name=\"cache.provider_class\"&gt;\n"
+"    org.jboss.ejb3.entity.TreeCacheProviderHook\n"
+"&lt;/property&gt;\n"
+"\n"
+"&lt;property name=\"treecache.mbean.object_name\"&gt;\n"
+"    jboss.cache:service=EJB3EntityTreeCache\n"
+"&lt;/property&gt;"
 
 #. Tag: para
 #: Clustering_Intro.xml:140
 #, no-c-format
-msgid ""
-"The on each entity bean class you want to cache, add the @Cache annotation."
+msgid "The on each entity bean class you want to cache, add the @Cache annotation."
 msgstr ""
 
 #. Tag: programlisting
@@ -581,6 +662,11 @@
 "  // ... ... \n"
 "}"
 msgstr ""
+"@Entity \n"
+"@Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL) \n"
+"public class Product implements Serializable { \n"
+"  // ... ... \n"
+"}"
 
 #. Tag: para
 #: Clustering_Intro.xml:144
@@ -662,3 +748,4 @@
 "perform the broadcast-based UDP protocol. It is the opposite when the "
 "cluster size grows larger."
 msgstr ""
+

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Naming_On_JBOSS.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Naming_On_JBOSS.po	2008-04-29 05:21:52 UTC (rev 72852)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/ja-JP/J2EE_Naming_On_JBOSS.po	2008-04-29 05:36:39 UTC (rev 72853)
@@ -1,18 +1,21 @@
+# translation of J2EE_Naming_On_JBOSS.po to
 # Language /tmp/mike/JBEAP420/JBAS translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#
 # Automatically generated, 2007.
-#
+# Xi HUANG <xhuang at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: J2EE_Naming_On_JBOSS\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-05 06:01+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-04-29 15:34+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"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:6
@@ -313,6 +316,58 @@
 "                &lt;/session&gt;\n"
 "......"
 msgstr ""
+"&lt;ejb-jar&gt;\n"
+"        &lt;description&gt;a.jar Test ENC ejb-jar.xml descriptor&lt;/"
+"description&gt;\n"
+"        &lt;enterprise-beans&gt;\n"
+"                &lt;session&gt;\n"
+"                        &lt;description&gt;Session Bean&lt;/description&gt;\n"
+"                        &lt;ejb-name&gt;SessionA&lt;/ejb-name&gt;\n"
+"                        &lt;home&gt;org.jboss.test.naming.interfaces."
+"TestEjbLinkHome&lt;/home&gt;\n"
+"                        &lt;remote&gt;org.jboss.test.naming.interfaces."
+"TestEjbLink&lt;/remote&gt;\n"
+"                        &lt;local-home&gt;org.jboss.test.naming.interfaces."
+"TestEjbLinkLocalHome&lt;/local-home&gt;\n"
+"                        &lt;local&gt;org.jboss.test.naming.interfaces."
+"TestEjbLinkLocal&lt;/local&gt;\n"
+"                        &lt;ejb-class&gt;org.jboss.test.naming.ejb."
+"TestEjbLinkBean&lt;/ejb-class&gt;\n"
+"                        &lt;session-type&gt;Stateless&lt;/session-type&gt;\n"
+"                        &lt;transaction-type&gt;Container&lt;/transaction-"
+"type&gt;\n"
+"                &lt;/session&gt;\n"
+"                                \n"
+"                &lt;session&gt;\n"
+"                        &lt;description&gt;Session Bean&lt;/description&gt;\n"
+"                        &lt;ejb-name&gt;SessionB&lt;/ejb-name&gt;\n"
+"                        &lt;home&gt;org.jboss.test.naming.interfaces."
+"TestEjbLinkHome&lt;/home&gt;\n"
+"                        &lt;remote&gt;org.jboss.test.naming.interfaces."
+"TestEjbLink&lt;/remote&gt;\n"
+"                        &lt;local-home&gt;org.jboss.test.naming.interfaces."
+"TestEjbLinkLocalHome&lt;/local-home&gt;\n"
+"                        &lt;local&gt;org.jboss.test.naming.interfaces."
+"TestEjbLinkLocal&lt;/local&gt;\n"
+"                        \n"
+"                        &lt;ejb-class&gt;org.jboss.test.naming.ejb."
+"TestEjbLinkBean&lt;/ejb-class&gt;\n"
+"                        &lt;session-type&gt;Stateless&lt;/session-type&gt;\n"
+"                        &lt;transaction-type&gt;Container&lt;/transaction-"
+"type&gt;\n"
+"                        &lt;ejb-local-ref&gt;\n"
+"                                &lt;ejb-ref-name&gt;ejb/LocalSessionA&lt;/"
+"ejb-ref-name&gt;\n"
+"                                &lt;ejb-ref-type&gt;Session&lt;/ejb-ref-"
+"type&gt;\n"
+"                                &lt;local-home&gt;org.jboss.test.naming."
+"interfaces.TestEjbLinkLocalHome&lt;/local-home&gt;\n"
+"                                &lt;local&gt;org.jboss.test.naming."
+"interfaces.TestEjbLinkLocal&lt;/local&gt;\n"
+"                                &lt;ejb-link&gt;SessionA&lt;/ejb-link&gt;\n"
+"                        &lt;/ejb-local-ref&gt;\n"
+"                &lt;/session&gt;\n"
+"......"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:74
@@ -397,8 +452,7 @@
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:96
 #, no-c-format
-msgid ""
-"All <literal>jndi.properties</literal> resource files found on the classpath."
+msgid "All <literal>jndi.properties</literal> resource files found on the classpath."
 msgstr ""
 
 #. Tag: para
@@ -456,6 +510,10 @@
 "java.naming.provider.url=jnp://localhost:1099\n"
 "java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces"
 msgstr ""
+"### JBossNS properties\n"
+"java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory\n"
+"java.naming.provider.url=jnp://localhost:1099\n"
+"java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:120
@@ -751,7 +809,7 @@
 #: J2EE_Naming_On_JBOSS.xml:242
 #, no-c-format
 msgid "jnp://www.jboss.org:1099/"
-msgstr ""
+msgstr "jnp://www.jboss.org:1099/"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:247
@@ -763,7 +821,7 @@
 #: J2EE_Naming_On_JBOSS.xml:252
 #, no-c-format
 msgid "www.jboss.org"
-msgstr ""
+msgstr "www.jboss.org"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:258
@@ -1041,13 +1099,13 @@
 #: J2EE_Naming_On_JBOSS.xml:356
 #, no-c-format
 msgid "http://www.jboss.org/invoker/JNDIFactory"
-msgstr ""
+msgstr "http://www.jboss.org/invoker/JNDIFactory"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:361
 #, no-c-format
 msgid "https://www.jboss.org/invoker/JNDIFactory"
-msgstr ""
+msgstr "https://www.jboss.org/invoker/JNDIFactory"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:365
@@ -1194,6 +1252,10 @@
 "java.naming.factory.initial=org.jboss.iiop.naming.ORBInitialContextFactory\n"
 "java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces"
 msgstr ""
+"# DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING\n"
+"#\n"
+"java.naming.factory.initial=org.jboss.iiop.naming.ORBInitialContextFactory\n"
+"java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:428
@@ -1250,6 +1312,20 @@
 "| +- META-INF/MANIFEST.MF\n"
 "+- META-INF/MANIFEST.MF"
 msgstr ""
+"<emphasis role=\"bold\">http-invoker.sar</emphasis>\n"
+"+- META-INF/jboss-service.xml\n"
+"+- invoker.war\n"
+"| +- WEB-INF/jboss-web.xml\n"
+"| +- WEB-INF/classes/org/jboss/invocation/http/servlet/InvokerServlet.class\n"
+"| +- WEB-INF/classes/org/jboss/invocation/http/servlet/NamingFactoryServlet."
+"class\n"
+"| +- WEB-INF/classes/org/jboss/invocation/http/servlet/ReadOnlyAccessFilter."
+"class\n"
+"| +- WEB-INF/classes/roles.properties\n"
+"| +- WEB-INF/classes/users.properties\n"
+"| +- WEB-INF/web.xml\n"
+"| +- META-INF/MANIFEST.MF\n"
+"+- META-INF/MANIFEST.MF"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:446
@@ -1552,6 +1628,33 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- Expose the Naming service interface via HTTPS --&gt;\n"
+"&lt;mbean code=\"org.jboss.invocation.http.server.HttpProxyFactory\" \n"
+"       name=\"jboss:service=invoker,type=https,target=Naming\"&gt;\n"
+"    &lt;!-- The Naming service we are proxying --&gt;\n"
+"    &lt;attribute name=\"InvokerName\"&gt;jboss:service=Naming&lt;/"
+"attribute&gt;\n"
+"    &lt;!-- Compose the invoker URL from the cluster node address --&gt;\n"
+"    &lt;attribute name=\"InvokerURLPrefix\"&gt;https://&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"InvokerURLSuffix\"&gt;:8443/invoker/"
+"JMXInvokerServlet &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"UseHostName\"&gt;true&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"ExportedInterface\"&gt;org.jnp.interfaces.Naming "
+"&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"JndiName\"/&gt;\n"
+"    &lt;attribute name=\"ClientInterceptors\"&gt;\n"
+"        &lt;interceptors&gt;\n"
+"            &lt;interceptor&gt;org.jboss.proxy.ClientMethodInterceptor &lt;/"
+"interceptor&gt;\n"
+"            &lt;interceptor&gt;org.jboss.proxy.SecurityInterceptor&lt;/"
+"interceptor&gt;\n"
+"            &lt;interceptor&gt;org.jboss.naming.interceptors."
+"ExceptionInterceptor &lt;/interceptor&gt;\n"
+"            &lt;interceptor&gt;org.jboss.invocation.InvokerInterceptor &lt;/"
+"interceptor&gt;\n"
+"        &lt;/interceptors&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:559
@@ -1651,6 +1754,30 @@
 "    }\n"
 "}"
 msgstr ""
+"package org.jboss.chap3.ex1;\n"
+"\n"
+"import java.security.Security;\n"
+"import java.util.Properties;\n"
+"import javax.naming.Context;\n"
+"import javax.naming.InitialContext;\n"
+"                    \n"
+"public class ExClient\n"
+"{\n"
+"    public static void main(String args[]) throws Exception\n"
+"    {\n"
+"        Properties env = new Properties();\n"
+"        env.setProperty(Context.INITIAL_CONTEXT_FACTORY,\n"
+"                        \"org.jboss.naming.HttpNamingContextFactory\");\n"
+"        env.setProperty(Context.PROVIDER_URL,\n"
+"                        \"https://localhost:8443/invoker/JNDIFactorySSL\");\n"
+"\n"
+"        Context ctx = new InitialContext(env);\n"
+"        System.out.println(\"Created InitialContext, env=\" + env);\n"
+"\n"
+"        Object data = ctx.lookup(\"jmx/invoker/RMIAdaptor\");\n"
+"        System.out.println(\"lookup(jmx/invoker/RMIAdaptor): \" + data);\n"
+"    }\n"
+"}"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:586
@@ -1664,7 +1791,7 @@
 #: J2EE_Naming_On_JBOSS.xml:589
 #, no-c-format
 msgid "[examples]$ ant -Dchap=naming config"
-msgstr ""
+msgstr "[examples]$ ant -Dchap=naming config"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:590
@@ -1678,7 +1805,7 @@
 #: J2EE_Naming_On_JBOSS.xml:593
 #, no-c-format
 msgid "[bin]$ sh run.sh -c naming"
-msgstr ""
+msgstr "[bin]$ sh run.sh -c naming"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:594
@@ -1701,6 +1828,16 @@
 "interfaces.JRMPInvokerP\n"
 "roxy at cac3fa"
 msgstr ""
+"[examples]$ ant -Dchap=naming -Dex=1 run-example\n"
+"...\n"
+"run-example1:\n"
+"     [java] Created InitialContext, env={java.naming.provider.url=https://"
+"localhost:8443/invo\n"
+"ker/JNDIFactorySSL, java.naming.factory.initial=org.jboss.naming."
+"HttpNamingContextFactory}\n"
+"     [java] lookup(jmx/invoker/RMIAdaptor): org.jboss.invocation.jrmp."
+"interfaces.JRMPInvokerP\n"
+"roxy at cac3fa"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:601
@@ -1798,6 +1935,65 @@
 "    &lt;/security-role&gt;\n"
 "&lt;/web-app&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n"
+"&lt;!DOCTYPE web-app PUBLIC\n"
+"          \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\"\n"
+"          \"http://java.sun.com/dtd/web-app_2_3.dtd\"&gt;\n"
+"&lt;web-app&gt;\n"
+"    &lt;!-- ### Servlets --&gt;\n"
+"    &lt;servlet&gt;\n"
+"        &lt;servlet-name&gt;JMXInvokerServlet&lt;/servlet-name&gt;\n"
+"        &lt;servlet-class&gt;\n"
+"            org.jboss.invocation.http.servlet.InvokerServlet\n"
+"        &lt;/servlet-class&gt;\n"
+"        &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;\n"
+"    &lt;/servlet&gt;  &lt;servlet&gt;\n"
+"        &lt;servlet-name&gt;JNDIFactory&lt;/servlet-name&gt;\n"
+"        &lt;servlet-class&gt;\n"
+"            org.jboss.invocation.http.servlet.NamingFactoryServlet\n"
+"        &lt;/servlet-class&gt;\n"
+"        &lt;init-param&gt;\n"
+"            &lt;param-name&gt;namingProxyMBean&lt;/param-name&gt;\n"
+"            &lt;param-value&gt;jboss:service=invoker,type=http,"
+"target=Naming&lt;/param-value&gt;\n"
+"        &lt;/init-param&gt;\n"
+"        &lt;init-param&gt;\n"
+"            &lt;param-name&gt;proxyAttribute&lt;/param-name&gt;\n"
+"            &lt;param-value&gt;Proxy&lt;/param-value&gt;\n"
+"        &lt;/init-param&gt;\n"
+"        &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;\n"
+"    &lt;/servlet&gt; \n"
+"    &lt;!-- ### Servlet Mappings --&gt;\n"
+"    &lt;servlet-mapping&gt;\n"
+"        &lt;servlet-name&gt;JNDIFactory&lt;/servlet-name&gt;\n"
+"        &lt;url-pattern&gt;/restricted/JNDIFactory/*&lt;/url-pattern&gt;\n"
+"    &lt;/servlet-mapping&gt;\n"
+"    &lt;servlet-mapping&gt;\n"
+"        &lt;servlet-name&gt;JMXInvokerServlet&lt;/servlet-name&gt;\n"
+"        &lt;url-pattern&gt;/restricted/JMXInvokerServlet/*&lt;/url-"
+"pattern&gt;\n"
+"    &lt;/servlet-mapping&gt;  &lt;security-constraint&gt;\n"
+"        &lt;web-resource-collection&gt;\n"
+"            &lt;web-resource-name&gt;HttpInvokers&lt;/web-resource-name&gt;\n"
+"            &lt;description&gt;An example security config that only allows "
+"users with\n"
+"                the role HttpInvoker to access the HTTP invoker servlets "
+"&lt;/description&gt;\n"
+"            &lt;url-pattern&gt;/restricted/*&lt;/url-pattern&gt;\n"
+"            &lt;http-method&gt;GET&lt;/http-method&gt;\n"
+"            &lt;http-method&gt;POST&lt;/http-method&gt;\n"
+"        &lt;/web-resource-collection&gt;\n"
+"        &lt;auth-constraint&gt;\n"
+"            &lt;role-name&gt;HttpInvoker&lt;/role-name&gt;\n"
+"        &lt;/auth-constraint&gt;\n"
+"    &lt;/security-constraint&gt;\n"
+"    &lt;login-config&gt;\n"
+"        &lt;auth-method&gt;BASIC&lt;/auth-method&gt;\n"
+"        &lt;realm-name&gt;JBoss HTTP Invoker&lt;/realm-name&gt;\n"
+"    &lt;/login-config&gt;  &lt;security-role&gt;\n"
+"        &lt;role-name&gt;HttpInvoker&lt;/role-name&gt;\n"
+"    &lt;/security-role&gt;\n"
+"&lt;/web-app&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:607
@@ -1819,6 +2015,9 @@
 "    &lt;security-domain&gt;java:/jaas/http-invoker&lt;/security-domain&gt;\n"
 "&lt;/jboss-web&gt;"
 msgstr ""
+"&lt;jboss-web&gt;\n"
+"    &lt;security-domain&gt;java:/jaas/http-invoker&lt;/security-domain&gt;\n"
+"&lt;/jboss-web&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:611
@@ -1894,6 +2093,36 @@
 "    &lt;url-pattern&gt;/ReadOnlyJNDIFactory/*&lt;/url-pattern&gt;\n"
 "&lt;/servlet-mapping&gt;"
 msgstr ""
+"&lt;servlet&gt;\n"
+"    &lt;servlet-name&gt;ReadOnlyJNDIFactory&lt;/servlet-name&gt;\n"
+"    &lt;description&gt;A servlet that exposes the JBoss JNDI Naming service "
+"stub\n"
+"          through http, but only for a single read-only context. The return "
+"content \n"
+"          is serialized MarshalledValue containing the org.jnp.interfaces."
+"Naming \n"
+"          stub.\n"
+"    &lt;/description&gt;\n"
+"    &lt;servlet-class&gt;org.jboss.invocation.http.servlet."
+"NamingFactoryServlet&lt;/servlet-class&gt;\n"
+"    &lt;init-param&gt;\n"
+"        &lt;param-name&gt;namingProxyMBean&lt;/param-name&gt;\n"
+"        &lt;param-value&gt;<emphasis role=\"bold\">jboss:service=invoker,"
+"type=http,target=Naming,readonly=true</emphasis>&lt;/param-value&gt;\n"
+"    &lt;/init-param&gt;\n"
+"    &lt;init-param&gt;\n"
+"        &lt;param-name&gt;proxyAttribute&lt;/param-name&gt;\n"
+"        &lt;param-value&gt;Proxy&lt;/param-value&gt;\n"
+"    &lt;/init-param&gt;\n"
+"    &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;\n"
+"&lt;/servlet&gt;\n"
+"\n"
+"&lt;!-- ... --&gt;\n"
+"                        \n"
+"&lt;servlet-mapping&gt;\n"
+"    &lt;servlet-name&gt;ReadOnlyJNDIFactory&lt;/servlet-name&gt;\n"
+"    &lt;url-pattern&gt;/ReadOnlyJNDIFactory/*&lt;/url-pattern&gt;\n"
+"&lt;/servlet-mapping&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:625
@@ -1935,6 +2164,31 @@
 "      &lt;/attribute&gt;\n"
 "   &lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.invocation.http.server.HttpProxyFactory\"\n"
+"      name=\"jboss:service=invoker,type=http,target=Naming,readonly=true"
+"\"&gt;\n"
+"      &lt;attribute name=\"InvokerName\"&gt;jboss:service=Naming&lt;/"
+"attribute&gt;\n"
+"      &lt;attribute name=\"InvokerURLPrefix\"&gt;http://&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"InvokerURLSuffix\"&gt;:8080<emphasis role=\"bold"
+"\">/invoker/readonly/JMXInvokerServlet</emphasis>&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"UseHostName\"&gt;true&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"ExportedInterface\"&gt;org.jnp.interfaces."
+"Naming&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"JndiName\"&gt;&lt;/attribute&gt;\n"
+"      &lt;attribute name=\"ClientInterceptors\"&gt;\n"
+"          &lt;interceptors&gt;\n"
+"             &lt;interceptor&gt;org.jboss.proxy.ClientMethodInterceptor&lt;/"
+"interceptor&gt;\n"
+"             &lt;interceptor&gt;org.jboss.proxy.SecurityInterceptor&lt;/"
+"interceptor&gt;\n"
+"             &lt;interceptor&gt;org.jboss.naming.interceptors."
+"ExceptionInterceptor&lt;/interceptor&gt;\n"
+"             &lt;interceptor&gt;org.jboss.invocation.InvokerInterceptor&lt;/"
+"interceptor&gt;\n"
+"          &lt;/interceptors&gt;\n"
+"      &lt;/attribute&gt;\n"
+"   &lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:629
@@ -1995,6 +2249,49 @@
 "pattern&gt;\n"
 "    &lt;/servlet-mapping&gt;"
 msgstr ""
+"&lt;filter&gt;\n"
+"        &lt;filter-name&gt;ReadOnlyAccessFilter&lt;/filter-name&gt;\n"
+"        &lt;filter-class&gt;org.jboss.invocation.http.servlet."
+"ReadOnlyAccessFilter&lt;/filter-class&gt;\n"
+"        &lt;init-param&gt;\n"
+"            &lt;param-name&gt;readOnlyContext&lt;/param-name&gt;\n"
+"            &lt;param-value&gt;<emphasis role=\"bold\">readonly</"
+"emphasis>&lt;/param-value&gt;\n"
+"            &lt;description&gt;The top level JNDI context the filter will "
+"enforce\n"
+"                read-only access on. If specified only Context.lookup "
+"operations\n"
+"                will be allowed on this context. Another other operations "
+"or\n"
+"                lookups on any other context will fail. Do not associate "
+"this\n"
+"                filter with the JMXInvokerServlets if you want unrestricted\n"
+"                access. &lt;/description&gt;\n"
+"        &lt;/init-param&gt;\n"
+"        &lt;init-param&gt;\n"
+"            &lt;param-name&gt;invokerName&lt;/param-name&gt;\n"
+"            &lt;param-value&gt;jboss:service=Naming&lt;/param-value&gt;\n"
+"            &lt;description&gt;The JMX ObjectName of the naming service "
+"mbean &lt;/description&gt;\n"
+"        &lt;/init-param&gt;\n"
+"    &lt;/filter&gt;\n"
+"    \n"
+"    &lt;filter-mapping&gt;\n"
+"        &lt;filter-name&gt;ReadOnlyAccessFilter&lt;/filter-name&gt;\n"
+"        &lt;url-pattern&gt;/readonly/*&lt;/url-pattern&gt;\n"
+"    &lt;/filter-mapping&gt;\n"
+"\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;!-- A mapping for the JMXInvokerServlet that only allows "
+"invocations \n"
+"            of lookups under a read-only context. This is enforced by the\n"
+"            ReadOnlyAccessFilter \n"
+"            --&gt;\n"
+"    &lt;servlet-mapping&gt;\n"
+"        &lt;servlet-name&gt;JMXInvokerServlet&lt;/servlet-name&gt;\n"
+"        &lt;url-pattern&gt;/readonly/JMXInvokerServlet/*&lt;/url-"
+"pattern&gt;\n"
+"    &lt;/servlet-mapping&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:633
@@ -2020,6 +2317,14 @@
 "Context ctx2 = new InitialContext(env);\n"
 "Object data = ctx2.lookup(\"readonly/data\");"
 msgstr ""
+"Properties env = new Properties();\n"
+"env.setProperty(Context.INITIAL_CONTEXT_FACTORY, \n"
+"                \"org.jboss.naming.HttpNamingContextFactory\");\n"
+"env.setProperty(Context.PROVIDER_URL, \n"
+"                \"http://localhost:8080/invoker/ReadOnlyJNDIFactory\");\n"
+"\n"
+"Context ctx2 = new InitialContext(env);\n"
+"Object data = ctx2.lookup(\"readonly/data\");"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:637
@@ -2090,6 +2395,22 @@
 "    &lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.naming.JNDIBindingServiceMgr\" \n"
+"       name=\"jboss.tests:name=example1\"&gt;\n"
+"    &lt;attribute name=\"BindingsConfig\" serialDataType=\"jbxb\"&gt;\n"
+"        &lt;jndi:bindings xmlns:xs=\"http://www.w3.org/2001/XMLSchema-"
+"instance\" \n"
+"                       xmlns:jndi=\"urn:jboss:jndi-binding-service\"\n"
+"                       xs:schemaLocation=\"urn:jboss:jndi-binding-service "
+"resource:jndi-binding-service_1_0.xsd\"&gt; \n"
+"            &lt;jndi:binding name=\"bindexample/message\"&gt;\n"
+"                &lt;jndi:value trim=\"true\"&gt;\n"
+"                    Hello, JNDI!\n"
+"                &lt;/jndi:value&gt;\n"
+"            &lt;/jndi:binding&gt;\n"
+"        &lt;/jndi:bindings&gt;\n"
+"    &lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:655
@@ -2110,6 +2431,8 @@
 "InitialContext ctx  = new InitialContext();\n"
 "String         text = (String) ctx.lookup(\"bindexample/message\");"
 msgstr ""
+"InitialContext ctx  = new InitialContext();\n"
+"String         text = (String) ctx.lookup(\"bindexample/message\");"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:659
@@ -2129,6 +2452,10 @@
 "value&gt;\n"
 "&lt;/jndi:binding&gt;"
 msgstr ""
+"&lt;jndi:binding name=\"urls/jboss-home\"&gt;\n"
+"    &lt;jndi:value type=\"java.net.URL\"&gt;http://www.jboss.org&lt;/jndi:"
+"value&gt;\n"
+"&lt;/jndi:binding&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:663
@@ -2149,6 +2476,12 @@
 "    &lt;/jndi:value&gt;\n"
 "&lt;/jndi:binding&gt;"
 msgstr ""
+"&lt;jndi:binding name=\"hosts/localhost\"&gt;\n"
+"    &lt;jndi:value editor=\"org.jboss.util.propertyeditor.InetAddressEditor"
+"\"&gt; \n"
+"        127.0.0.1 \n"
+"    &lt;/jndi:value&gt;\n"
+"&lt;/jndi:binding&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:667
@@ -2179,6 +2512,21 @@
 "    &lt;/java:properties&gt;\n"
 "&lt;/jndi:binding&gt;"
 msgstr ""
+"&lt;jndi:binding name=\"maps/testProps\"&gt;\n"
+"    &lt;java:properties xmlns:java=\"urn:jboss:java-properties\" \n"
+"                     xmlns:xs=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"                     xs:schemaLocation=\"urn:jboss:java-properties resource:"
+"java-properties_1_0.xsd\"&gt;\n"
+"        &lt;java:property&gt;\n"
+"            &lt;java:key&gt;key1&lt;/java:key&gt;\n"
+"            &lt;java:value&gt;value1&lt;/java:value&gt;\n"
+"        &lt;/java:property&gt;\n"
+"        &lt;java:property&gt;\n"
+"            &lt;java:key&gt;key2&lt;/java:key&gt;\n"
+"            &lt;java:value&gt;value2&lt;/java:value&gt;\n"
+"        &lt;/java:property&gt;\n"
+"    &lt;/java:properties&gt;\n"
+"&lt;/jndi:binding&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:671
@@ -2247,6 +2595,13 @@
 "attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;mbean code=\"org.jboss.naming.NamingAlias\" \n"
+"       name=\"jboss.mq:service=NamingAlias,fromName=QueueConnectionFactory"
+"\"&gt;\n"
+"    &lt;attribute name=\"ToName\"&gt;ConnectionFactory&lt;/attribute&gt;\n"
+"    &lt;attribute name=\"FromName\"&gt;QueueConnectionFactory&lt;/"
+"attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:700
@@ -2356,13 +2711,13 @@
 #: J2EE_Naming_On_JBOSS.xml:739
 #, no-c-format
 msgid "file:///config/myldap.properties"
-msgstr ""
+msgstr "file:///config/myldap.properties"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:744
 #, no-c-format
 msgid "http://config.mycompany.com/myldap.properties"
-msgstr ""
+msgstr "http://config.mycompany.com/myldap.properties"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:749
@@ -2407,6 +2762,23 @@
 "    &lt;attribute name=\"RemoteAccess\"&gt;true&lt;/attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- Bind a remote LDAP server --&gt;\n"
+"&lt;mbean code=\"org.jboss.naming.ExternalContext\" \n"
+"       name=\"jboss.jndi:service=ExternalContext,jndiName=external/ldap/jboss"
+"\"&gt;\n"
+"    &lt;attribute name=\"JndiName\"&gt;external/ldap/jboss&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"Properties\"&gt;\n"
+"        java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory\n"
+"        java.naming.provider.url=ldap://ldaphost.jboss.org:389/o=jboss.org\n"
+"        java.naming.security.principal=cn=Directory Manager\n"
+"        java.naming.security.authentication=simple\n"
+"        java.naming.security.credentials=secret\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"InitialContext\"&gt; javax.naming.ldap."
+"InitialLdapContext &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"RemoteAccess\"&gt;true&lt;/attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:765
@@ -2456,6 +2828,20 @@
 "attribute&gt;\n"
 "&lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- Bind the /usr/local file system directory  --&gt;\n"
+"&lt;mbean code=\"org.jboss.naming.ExternalContext\" \n"
+"       name=\"jboss.jndi:service=ExternalContext,jndiName=external/fs/usr/"
+"local\"&gt;\n"
+"    &lt;attribute name=\"JndiName\"&gt;external/fs/usr/local&lt;/"
+"attribute&gt;\n"
+"    &lt;attribute name=\"Properties\"&gt;\n"
+"        java.naming.factory.initial=com.sun.jndi.fscontext."
+"RefFSContextFactory\n"
+"        java.naming.provider.url=file:///usr/local\n"
+"    &lt;/attribute&gt;\n"
+"    &lt;attribute name=\"InitialContext\"&gt;javax.naming.IntialContext&lt;/"
+"attribute&gt;\n"
+"&lt;/mbean&gt;"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:773
@@ -2482,6 +2868,8 @@
 "InitialContext iniCtx = new InitialContext();\n"
 "                Context ldapCtx = iniCtx.lookup(\"external/fs/usr/local\");"
 msgstr ""
+"InitialContext iniCtx = new InitialContext();\n"
+"                Context ldapCtx = iniCtx.lookup(\"external/fs/usr/local\");"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:780
@@ -2649,6 +3037,9 @@
 "Context iniCtx = new InitialContext();\n"
 "Context compEnv = (Context) iniCtx.lookup(\"java:comp/env\");"
 msgstr ""
+"// Obtain the application component&#39;s ENC\n"
+"Context iniCtx = new InitialContext();\n"
+"Context compEnv = (Context) iniCtx.lookup(\"java:comp/env\");"
 
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:859
@@ -2726,8 +3117,7 @@
 #. Tag: para
 #: J2EE_Naming_On_JBOSS.xml:875
 #, no-c-format
-msgid ""
-"Environment entries as declared by the <literal>env-entry</literal> elements"
+msgid "Environment entries as declared by the <literal>env-entry</literal> elements"
 msgstr ""
 
 #. Tag: para
@@ -2819,13 +3209,13 @@
 #: J2EE_Naming_On_JBOSS.xml:922
 #, no-c-format
 msgid "java.lang.Byte"
-msgstr ""
+msgstr "java.lang.Byte"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:927
 #, no-c-format
 msgid "java.lang.Boolean"
-msgstr ""
+msgstr "java.lang.Boolean"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:932
@@ -2837,13 +3227,13 @@
 #: J2EE_Naming_On_JBOSS.xml:937
 #, no-c-format
 msgid "java.lang.Double"
-msgstr ""
+msgstr "java.lang.Double"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:942
 #, no-c-format
 msgid "java.lang.Float"
-msgstr ""
+msgstr "java.lang.Float"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:947
@@ -2855,7 +3245,7 @@
 #: J2EE_Naming_On_JBOSS.xml:952
 #, no-c-format
 msgid "java.lang.Long"
-msgstr ""
+msgstr "java.lang.Long"
 
 #. Tag: literal
 #: J2EE_Naming_On_JBOSS.xml:957
@@ -2922,6 +3312,25 @@
 "&lt;/session&gt;\n"
 "&lt;!-- ... --&gt;"
 msgstr ""
+"&lt;!-- ... --&gt;\n"
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;ASessionBean&lt;/ejb-name&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;env-entry&gt;\n"
+"        &lt;description&gt;The maximum number of tax exemptions allowed &lt;/"
+"description&gt;\n"
+"        &lt;env-entry-name&gt;maxExemptions&lt;/env-entry-name&gt;\n"
+"        &lt;env-entry-type&gt;java.lang.Integer&lt;/env-entry-type&gt;\n"
+"        &lt;env-entry-value&gt;15&lt;/env-entry-value&gt;\n"
+"    &lt;/env-entry&gt;\n"
+"    &lt;env-entry&gt;\n"
+"        &lt;description&gt;The tax rate &lt;/description&gt;\n"
+"        &lt;env-entry-name&gt;taxRate&lt;/env-entry-name&gt;\n"
+"        &lt;env-entry-type&gt;java.lang.Float&lt;/env-entry-type&gt;\n"
+"        &lt;env-entry-value&gt;0.23&lt;/env-entry-value&gt;\n"
+"    &lt;/env-entry&gt;\n"
+"&lt;/session&gt;\n"
+"&lt;!-- ... --&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:979
@@ -3111,6 +3520,45 @@
 "\n"
 "&lt;!--...--&gt;"
 msgstr ""
+"&lt;!-- ... --&gt;\n"
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;ShoppingCartBean&lt;/ejb-name&gt;\n"
+"    &lt;!-- ...--&gt;\n"
+"&lt;/session&gt;\n"
+"\n"
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;ProductBeanUser&lt;/ejb-name&gt;\n"
+"    &lt;!--...--&gt;\n"
+"    &lt;ejb-ref&gt;\n"
+"        &lt;description&gt;This is a reference to the store products entity "
+"&lt;/description&gt;\n"
+"        &lt;ejb-ref-name&gt;ejb/ProductHome&lt;/ejb-ref-name&gt;\n"
+"        &lt;ejb-ref-type&gt;Entity&lt;/ejb-ref-type&gt;\n"
+"        &lt;home&gt;org.jboss.store.ejb.ProductHome&lt;/home&gt;\n"
+"        &lt;remote&gt; org.jboss.store.ejb.Product&lt;/remote&gt;\n"
+"    &lt;/ejb-ref&gt;\n"
+"\n"
+"&lt;/session&gt;\n"
+"\n"
+"&lt;session&gt;\n"
+"    &lt;ejb-ref&gt;\n"
+"        &lt;ejb-name&gt;ShoppingCartUser&lt;/ejb-name&gt;\n"
+"        &lt;!--...--&gt;\n"
+"        &lt;ejb-ref-name&gt;ejb/ShoppingCartHome&lt;/ejb-ref-name&gt;\n"
+"        &lt;ejb-ref-type&gt;Session&lt;/ejb-ref-type&gt;\n"
+"        &lt;home&gt;org.jboss.store.ejb.ShoppingCartHome&lt;/home&gt;\n"
+"        &lt;remote&gt; org.jboss.store.ejb.ShoppingCart&lt;/remote&gt;\n"
+"        &lt;ejb-link&gt;ShoppingCartBean&lt;/ejb-link&gt;\n"
+"    &lt;/ejb-ref&gt;\n"
+"&lt;/session&gt;\n"
+"\n"
+"&lt;entity&gt;\n"
+"    &lt;description&gt;The Product entity bean &lt;/description&gt;\n"
+"    &lt;ejb-name&gt;ProductBean&lt;/ejb-name&gt;\n"
+"    &lt;!--...--&gt;\n"
+"&lt;/entity&gt;\n"
+"\n"
+"&lt;!--...--&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1032
@@ -3127,6 +3575,10 @@
 "ShoppingCartHome home = (ShoppingCartHome) ejbCtx.lookup(\"ShoppingCartHome"
 "\");"
 msgstr ""
+"InitialContext iniCtx = new InitialContext();\n"
+"Context ejbCtx = (Context) iniCtx.lookup(\"java:comp/env/ejb\");\n"
+"ShoppingCartHome home = (ShoppingCartHome) ejbCtx.lookup(\"ShoppingCartHome"
+"\");"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1038
@@ -3249,6 +3701,23 @@
 "&lt;/entity&gt;\n"
 "&lt;!-- ... --&gt;"
 msgstr ""
+"&lt;!-- ... --&gt;\n"
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;ProductBeanUser&lt;/ejb-name&gt;\n"
+"    &lt;ejb-ref&gt;\n"
+"        &lt;ejb-ref-name&gt;ejb/ProductHome&lt;/ejb-ref-name&gt;\n"
+"        &lt;jndi-name&gt;<emphasis role=\"bold\">jboss/store/ProductHome</"
+"emphasis>&lt;/jndi-name&gt;\n"
+"    &lt;/ejb-ref&gt;\n"
+"&lt;/session&gt;\n"
+"                        \n"
+"&lt;entity&gt;\n"
+"    &lt;ejb-name&gt;ProductBean&lt;/ejb-name&gt;\n"
+"    &lt;jndi-name&gt;<emphasis role=\"bold\">jboss/store/ProductHome</"
+"emphasis>&lt;/jndi-name&gt;\n"
+"     &lt;!-- ... --&gt;\n"
+"&lt;/entity&gt;\n"
+"&lt;!-- ... --&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1081
@@ -3393,6 +3862,50 @@
 "    &lt;/session&gt;\n"
 "    &lt;!-- ... --&gt;"
 msgstr ""
+"&lt;!-- ... --&gt;\n"
+"    &lt;session&gt;\n"
+"        &lt;ejb-name&gt;Probe&lt;/ejb-name&gt;\n"
+"        &lt;home&gt;org.jboss.test.perf.interfaces.ProbeHome&lt;/home&gt;\n"
+"        &lt;remote&gt;org.jboss.test.perf.interfaces.Probe&lt;/remote&gt;\n"
+"        &lt;local-home&gt;org.jboss.test.perf.interfaces.ProbeLocalHome&lt;/"
+"local-home&gt;\n"
+"        &lt;local&gt;org.jboss.test.perf.interfaces.ProbeLocal&lt;/"
+"local&gt;\n"
+"        &lt;ejb-class&gt;org.jboss.test.perf.ejb.ProbeBean&lt;/ejb-"
+"class&gt;\n"
+"        &lt;session-type&gt;Stateless&lt;/session-type&gt;\n"
+"        &lt;transaction-type&gt;Bean&lt;/transaction-type&gt;\n"
+"    &lt;/session&gt;\n"
+"    &lt;session&gt;\n"
+"        &lt;ejb-name&gt;PerfTestSession&lt;/ejb-name&gt;\n"
+"        &lt;home&gt;org.jboss.test.perf.interfaces.PerfTestSessionHome&lt;/"
+"home&gt;\n"
+"        &lt;remote&gt;org.jboss.test.perf.interfaces.PerfTestSession&lt;/"
+"remote&gt;\n"
+"        &lt;ejb-class&gt;org.jboss.test.perf.ejb.PerfTestSessionBean&lt;/ejb-"
+"class&gt;\n"
+"        &lt;session-type&gt;Stateless&lt;/session-type&gt;\n"
+"        &lt;transaction-type&gt;Container&lt;/transaction-type&gt;\n"
+"        &lt;ejb-ref&gt;\n"
+"            &lt;ejb-ref-name&gt;ejb/ProbeHome&lt;/ejb-ref-name&gt;\n"
+"            &lt;ejb-ref-type&gt;Session&lt;/ejb-ref-type&gt;\n"
+"            &lt;home&gt;org.jboss.test.perf.interfaces.SessionHome&lt;/"
+"home&gt;\n"
+"            &lt;remote&gt;org.jboss.test.perf.interfaces.Session&lt;/"
+"remote&gt;\n"
+"            &lt;ejb-link&gt;Probe&lt;/ejb-link&gt;\n"
+"        &lt;/ejb-ref&gt;\n"
+"        &lt;ejb-local-ref&gt;\n"
+"            &lt;ejb-ref-name&gt;ejb/ProbeLocalHome&lt;/ejb-ref-name&gt;\n"
+"            &lt;ejb-ref-type&gt;Session&lt;/ejb-ref-type&gt;\n"
+"            &lt;local-home&gt;org.jboss.test.perf.interfaces."
+"ProbeLocalHome&lt;/local-home&gt;\n"
+"            &lt;local&gt;org.jboss.test.perf.interfaces.ProbeLocal&lt;/"
+"local&gt;\n"
+"            &lt;ejb-link&gt;Probe&lt;/ejb-link&gt;\n"
+"        &lt;/ejb-local-ref&gt;\n"
+"    &lt;/session&gt;\n"
+"    &lt;!-- ... --&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1125
@@ -3572,6 +4085,35 @@
 "    &lt;/resource-ref&gt; \n"
 "&lt;web&gt;"
 msgstr ""
+"&lt;web&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;servlet&gt;\n"
+"        &lt;servlet-name&gt;AServlet&lt;/servlet-name&gt;\n"
+"        &lt;!-- ... --&gt;\n"
+"    &lt;/servlet&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;!-- JDBC DataSources (java:comp/env/jdbc) --&gt;\n"
+"    &lt;resource-ref&gt;\n"
+"        &lt;description&gt;The default DS&lt;/description&gt;\n"
+"        &lt;res-ref-name&gt;jdbc/DefaultDS&lt;/res-ref-name&gt;\n"
+"        &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;\n"
+"        &lt;res-auth&gt;Container&lt;/res-auth&gt;\n"
+"    &lt;/resource-ref&gt;\n"
+"    &lt;!-- JavaMail Connection Factories (java:comp/env/mail) --&gt;\n"
+"    &lt;resource-ref&gt;\n"
+"        &lt;description&gt;Default Mail&lt;/description&gt;\n"
+"        &lt;res-ref-name&gt;mail/DefaultMail&lt;/res-ref-name&gt;\n"
+"        &lt;res-type&gt;javax.mail.Session&lt;/res-type&gt;\n"
+"        &lt;res-auth&gt;Container&lt;/res-auth&gt;\n"
+"    &lt;/resource-ref&gt;\n"
+"    &lt;!-- JMS Connection Factories (java:comp/env/jms) --&gt;\n"
+"    &lt;resource-ref&gt;\n"
+"        &lt;description&gt;Default QueueFactory&lt;/description&gt;\n"
+"        &lt;res-ref-name&gt;jms/QueueFactory&lt;/res-ref-name&gt;\n"
+"        &lt;res-type&gt;javax.jms.QueueConnectionFactory&lt;/res-type&gt;\n"
+"        &lt;res-auth&gt;Container&lt;/res-auth&gt;\n"
+"    &lt;/resource-ref&gt; \n"
+"&lt;web&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1195
@@ -3686,6 +4228,25 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/jboss-web&gt;"
 msgstr ""
+"&lt;jboss-web&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;resource-ref&gt;\n"
+"        &lt;res-ref-name&gt;jdbc/DefaultDS&lt;/res-ref-name&gt;\n"
+"        &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;\n"
+"        &lt;jndi-name&gt;java:/DefaultDS&lt;/jndi-name&gt;\n"
+"    &lt;/resource-ref&gt;\n"
+"    &lt;resource-ref&gt;\n"
+"        &lt;res-ref-name&gt;mail/DefaultMail&lt;/res-ref-name&gt;\n"
+"        &lt;res-type&gt;javax.mail.Session&lt;/res-type&gt;\n"
+"        &lt;jndi-name&gt;java:/Mail&lt;/jndi-name&gt;\n"
+"    &lt;/resource-ref&gt;\n"
+"    &lt;resource-ref&gt;\n"
+"        &lt;res-ref-name&gt;jms/QueueFactory&lt;/res-ref-name&gt;\n"
+"        &lt;res-type&gt;javax.jms.QueueConnectionFactory&lt;/res-type&gt;\n"
+"        &lt;jndi-name&gt;QueueConnectionFactory&lt;/jndi-name&gt;\n"
+"    &lt;/resource-ref&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/jboss-web&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1236
@@ -3775,6 +4336,20 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/session&gt;"
 msgstr ""
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;MyBean&lt;/ejb-name&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;resource-env-ref&gt;\n"
+"        &lt;description&gt;This is a reference to a JMS queue used in the\n"
+"            processing of Stock info\n"
+"        &lt;/description&gt;\n"
+"        &lt;resource-env-ref-name&gt;jms/StockInfo&lt;/resource-env-ref-"
+"name&gt;\n"
+"        &lt;resource-env-ref-type&gt;javax.jms.Queue&lt;/resource-env-ref-"
+"type&gt;\n"
+"    &lt;/resource-env-ref&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/session&gt;"
 
 #. Tag: title
 #: J2EE_Naming_On_JBOSS.xml:1265
@@ -3860,3 +4435,14 @@
 "    &lt;!-- ... --&gt;\n"
 "&lt;/session&gt;"
 msgstr ""
+"&lt;session&gt;\n"
+"    &lt;ejb-name&gt;MyBean&lt;/ejb-name&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"    &lt;resource-env-ref&gt;\n"
+"        &lt;resource-env-ref-name&gt;jms/StockInfo&lt;/resource-env-ref-"
+"name&gt;\n"
+"        &lt;jndi-name&gt;queue/StockInfoQueue&lt;/jndi-name&gt;\n"
+"    &lt;/resource-env-ref&gt;\n"
+"    &lt;!-- ... --&gt;\n"
+"&lt;/session&gt;"
+




More information about the jboss-cvs-commits mailing list