Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3013

CLI not supports slashes in name as "defaultx/xx"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • 5.2.4.Final
    • CLI
    • Hide

      1. Start JDG server with infinispan subsystem configuration
      <subsystem xmlns="urn:infinispan:server:core:5.2" default-cache-container="default">
      <cache-container name="default" default-cache="defaultx/xx" listener-executor="infinispan-listener" start="EAGER">
      <local-cache name="defaultx/xx" start="EAGER" batching="false" indexing="NONE">
      <locking isolation="REPEATABLE_READ" acquire-timeout="20000" concurrency-level="500" striping="false"/>
      <transaction mode="NONE"/>
      <binary-keyed-jdbc-store datasource="java:jboss/datasources/JdbcDS" passivation="false" preload="true" purge="false">
      <property name="databaseType">MYSQL</property>
      <!-- the prefix must be unique for each jdbc cache store tests submodule so that each
      test uses its own DB table -->
      <binary-keyed-table prefix="JDG_BINARY">
      <id-column name="id" type="VARCHAR(255)"/>
      <data-column name="datum" type="VARBINARY(1000)"/>
      <timestamp-column name="version" type="BIGINT"/>
      </binary-keyed-table>
      </binary-keyed-jdbc-store>
      </local-cache>
      </cache-container>
      </subsystem>
      2. Connect over CLI interface to JDG server
      3. choose cache name(cache defaultx/xx) press enter
      4. This only working with "defaultx/xx" or 'defaultx/xx' but autocompletion do not escaping special symbol like /

      Show
      1. Start JDG server with infinispan subsystem configuration <subsystem xmlns="urn:infinispan:server:core:5.2" default-cache-container="default"> <cache-container name="default" default-cache="defaultx/xx" listener-executor="infinispan-listener" start="EAGER"> <local-cache name="defaultx/xx" start="EAGER" batching="false" indexing="NONE"> <locking isolation="REPEATABLE_READ" acquire-timeout="20000" concurrency-level="500" striping="false"/> <transaction mode="NONE"/> <binary-keyed-jdbc-store datasource="java:jboss/datasources/JdbcDS" passivation="false" preload="true" purge="false"> <property name="databaseType">MYSQL</property> <!-- the prefix must be unique for each jdbc cache store tests submodule so that each test uses its own DB table --> <binary-keyed-table prefix="JDG_BINARY"> <id-column name="id" type="VARCHAR(255)"/> <data-column name="datum" type="VARBINARY(1000)"/> <timestamp-column name="version" type="BIGINT"/> </binary-keyed-table> </binary-keyed-jdbc-store> </local-cache> </cache-container> </subsystem> 2. Connect over CLI interface to JDG server 3. choose cache name(cache defaultx/xx) press enter 4. This only working with "defaultx/xx" or 'defaultx/xx' but autocompletion do not escaping special symbol like /

    Description

      When we connect from CLI to server. And configure our cache name to use / in names then name with slashes is correctly shown when we press <TAB> to autocomplete but If we choose this name of cache and press <ENTER> we get exception
      [remoting://localhost:9999/default/]> cache defaultx/xx
      java.lang.NullPointerException
      [remoting://localhost:9999/default/]> cache defaultx/xx
      java.lang.NullPointerException
      [remoting://localhost:9999/default/]> cache defaultx/xx
      java.lang.NullPointerException
      [remoting://localhost:9999/default/]> cache defaultx/xx

      Attachments

        Activity

          People

            Unassigned Unassigned
            vchepeli_jira Vitalii Chepeliuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: