You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2018/07/26 20:23:00 UTC

[jira] [Created] (GEODE-5483) create jndi-binding gfsh command is not persisted in cluster config

Swapnil Bawaskar created GEODE-5483:
---------------------------------------

             Summary: create jndi-binding gfsh command is not persisted in cluster config
                 Key: GEODE-5483
                 URL: https://issues.apache.org/jira/browse/GEODE-5483
             Project: Geode
          Issue Type: Bug
          Components: gfsh
            Reporter: Swapnil Bawaskar


After starting the locator, I created a jndi binding, followed by starting the server. Although, the output of create jndi-binding states that the change has been persisted in cluster config, the new server does not create the binding:

{noformat}

gfsh>start locator --name=locator1

gfsh>configure pdx --read-serialized=true

gfsh>create jndi-binding --name=datasource --type=SIMPLE --jdbc-driver-class="org.postgresql.Driver" --username="g2c_user" --password="changeme" --connection-url="jdbc:postgresql://localhost:5432/gemfire_db"
No members found.
Changes to configuration for group 'cluster' are persisted.

 

gfsh>start server --name=serv1

 

*gfsh>list jndi-binding*
*No JNDI-bindings found in cluster configuration*

 

Active JNDI bindings found on each member:


Member | JNDI Name | JDBC Driver Class
------ | ----------------------- | ----------------------------------------------------
serv1 | java:UserTransaction | org.apache.geode.internal.jta.UserTransactionImpl
serv1 | java:TransactionManager | org.apache.geode.internal.jta.TransactionManagerImpl
serv2 | java:UserTransaction | org.apache.geode.internal.jta.UserTransactionImpl
serv2 | java:TransactionManager | org.apache.geode.internal.jta.TransactionManagerImpl

{noformat}



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