You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by km...@apache.org on 2018/04/12 16:48:39 UTC

[geode] branch develop updated: GEODE-4385 Add documentation of gfsh list jndi-binding command (#1772)

This is an automated email from the ASF dual-hosted git repository.

kmiller pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 51660e6  GEODE-4385 Add documentation of gfsh list jndi-binding command (#1772)
51660e6 is described below

commit 51660e6e69056fe3471784aa4b3d3bc579a60545
Author: Karen Miller <ka...@users.noreply.github.com>
AuthorDate: Thu Apr 12 09:48:36 2018 -0700

    GEODE-4385 Add documentation of gfsh list jndi-binding command (#1772)
    
    * GEODE-4385 Add documentation of gfsh list jndi-binding command
    
    * GEODE-4385 Capitalize JNDI appropriately
---
 .../source/subnavs/geode-subnav.erb                |  3 ++
 .../gfsh/command-pages/list.html.md.erb            | 39 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/geode-book/master_middleman/source/subnavs/geode-subnav.erb b/geode-book/master_middleman/source/subnavs/geode-subnav.erb
index 0ef028a..c553e8d 100644
--- a/geode-book/master_middleman/source/subnavs/geode-subnav.erb
+++ b/geode-book/master_middleman/source/subnavs/geode-subnav.erb
@@ -2037,6 +2037,9 @@ gfsh</a>
                                                 <a href="/docs/guide/<%=vars.product_version_nodot%>/tools_modules/gfsh/command-pages/list.html#topic_B3B51B6DEA484EE086C4F657EC9831F2">list indexes</a>
                                             </li>
                                             <li>
+                                                <a href="/docs/guide/<%=vars.product_version_nodot%>/tools_modules/gfsh/command-pages/list.html#list_jndi-binding">list jndi-binding</a>
+                                            </li>
+                                            <li>
                                                 <a href="/docs/guide/<%=vars.product_version_nodot%>/tools_modules/gfsh/command-pages/list.html#list_lucene_indexes">list lucene indexes</a>
                                             </li>
                                             <li>
diff --git a/geode-docs/tools_modules/gfsh/command-pages/list.html.md.erb b/geode-docs/tools_modules/gfsh/command-pages/list.html.md.erb
index bb09a2c..758d4c2 100644
--- a/geode-docs/tools_modules/gfsh/command-pages/list.html.md.erb
+++ b/geode-docs/tools_modules/gfsh/command-pages/list.html.md.erb
@@ -55,6 +55,10 @@ List existing <%=vars.product_name%> resources such as deployed applications, di
 
     Display the list of indexes created for all members.
 
+-   **[list jndi-binding](#list_jndi-binding)**
+
+    List all JNDI bindings, active and configured.
+
 -   **[list lucene indexes](#list_lucene_indexes)**
 
     List Lucene indexes created for all members.
@@ -397,6 +401,41 @@ gfsh> list indexes
 No Indexes Found
 ```
 
+## <a id="list_jndi-binding" class="no-quick-link"></a>list jndi-binding
+
+List all JNDI bindings, active and configured.
+An active binding is one that is bound to the server's JNDI context
+and is also listed in the cluster configuration.
+A configured binding is one that is listed in the cluster configuration,
+but may not be active on the servers.
+
+**Availability:** Online. You must be connected in `gfsh` to a JMX Manager member to use this command.
+
+**Syntax:**
+
+``` pre
+list jndi-binding
+```
+
+**Sample Output:**
+
+``` pre
+gfsh>list jndi-binding
+
+Configured JNDI bindings: 
+
+Group Name | JNDI Name | JDBC Driver Class
+---------- | --------- | ------------------------------------
+cluster    | jndi1     | org.apache.derby.jdbc.EmbeddedDriver
+
+Active JNDI bindings found on each member: 
+
+    Member      |        JNDI Name        | JDBC Driver Class
+--------------- | ----------------------- | ----------------------------------------------------
+land-gifted-gun | java:UserTransaction    | org.apache.geode.internal.jta.UserTransactionImpl
+land-gifted-gun | java:TransactionManager | org.apache.geode.internal.jta.TransactionManagerImpl
+```
+
 ## <a id="list_lucene_indexes" class="no-quick-link"></a>list lucene indexes
 
 Display the list of Lucene indexes created for all members. The optional `--with-stats` qualifier shows activity on the indexes.

-- 
To stop receiving notification emails like this one, please contact
kmiller@apache.org.