You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/12/16 21:21:56 UTC

svn commit: r1720439 - in /tomcat/trunk/webapps/docs: changelog.xml jndi-resources-howto.xml

Author: markt
Date: Wed Dec 16 20:21:56 2015
New Revision: 1720439

URL: http://svn.apache.org/viewvc?rev=1720439&view=rev
Log:
Fix typos in the JNDI example
Found while investigating BZ 58691

Modified:
    tomcat/trunk/webapps/docs/changelog.xml
    tomcat/trunk/webapps/docs/jndi-resources-howto.xml

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1720439&r1=1720438&r2=1720439&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Wed Dec 16 20:21:56 2015
@@ -230,6 +230,9 @@
         correct, new location for attributes related to individual certificates.
         (markt)
       </fix>
+      <fix>
+        Correct some typos in the JNDI resources How-To. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Tribes">

Modified: tomcat/trunk/webapps/docs/jndi-resources-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-resources-howto.xml?rev=1720439&r1=1720438&r2=1720439&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jndi-resources-howto.xml Wed Dec 16 20:21:56 2015
@@ -931,7 +931,7 @@ import javax.naming.spi.ObjectFactory;
 public class MyBeanFactory implements ObjectFactory {
 
   public Object getObjectInstance(Object obj,
-      Name name, Context nameCtx, Hashtable environment)
+      Name name2, Context nameCtx, Hashtable environment)
       throws NamingException {
 
       // Acquire an instance of our specified bean class
@@ -1000,7 +1000,7 @@ public class MyBeanFactory implements Ob
   <resource-env-ref-type>
     com.mycompany.MyBean
   </resource-env-ref-type>
-<resource-env-ref>]]></source>
+</resource-env-ref>]]></source>
 
     <p><strong>WARNING</strong> - Be sure you respect the element ordering
     that is required by the DTD for web application deployment descriptors!



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org