You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jinmei Liao (JIRA)" <ji...@apache.org> on 2018/03/15 17:31:00 UTC

[jira] [Commented] (GEODE-4830) Modify list jndi-binding gfsh command

    [ https://issues.apache.org/jira/browse/GEODE-4830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400778#comment-16400778 ] 

Jinmei Liao commented on GEODE-4830:
------------------------------------

{{list jndi}} is going to list two tables listing binding configurations found in cluster config and from each member and not going to mark it as active, the reason for not being marked as active is it cannot differentiate between active on certain members.

{noformat}
JNDI bindings in the cluster configuration: 

Group Name | JNDI Name | JDBC Driver Class
---------- | --------- | ------------------------------------
cluster    | jndi1     | org.apache.derby.jdbc.EmbeddedDriver

JNDI bindings in each member: 

 Member  |        JNDI Name        | JDBC Driver Class
-------- | ----------------------- | -----------------------------------------------------------
server-1 | java:jndi1              | org.apache.geode.internal.datasource.GemFireBasicDataSource
server-1 | java:UserTransaction    | org.apache.geode.internal.jta.UserTransactionImpl
server-1 | java:TransactionManager | org.apache.geode.internal.jta.TransactionManagerImpl
{noformat}

> Modify list jndi-binding gfsh command 
> --------------------------------------
>
>                 Key: GEODE-4830
>                 URL: https://issues.apache.org/jira/browse/GEODE-4830
>             Project: Geode
>          Issue Type: Sub-task
>          Components: docs, gfsh
>            Reporter: Barbara Pruijn
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The list jndi-binding command currently displays jndi-bindings that are active.
> We need to modify the output of this command to list all jndi-bindings that are listed in the cluster config and indicate in the output of this command whether the binding is active or configured.
> We should update the help text to reflect this change. A suggested help text is:
> {code:java}
> List all jndi bindings, active and configured. An active binding is one that is bound to the server's jndi context (and also listed in the cluster config). A configured binding is one that is listed in the cluster config, but is not active.{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)