Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2299

[JDG] "unset: `foo-bar_CACHE_XXX': not a valid identifier" errors if dash in CACHE_NAMES

XMLWordPrintable

    • CLOUD Maintenance Sprint 15

      Having a dash in a cache name passed as CACHE_NAMES=foo-bar

      leads to bash errors in the startup script

      /opt/datagrid/bin/launch/infinispan-config.sh: line 7: unset: `foo-bar_CACHE_MODE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 8: unset: `foo-bar_CACHE_START': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 9: unset: `foo-bar_CACHE_BATCHING': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 10: unset: `foo-bar_CACHE_STATISTICS': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 11: unset: `foo-bar_CACHE_QUEUE_SIZE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 12: unset: `foo-bar_CACHE_QUEUE_FLUSH_INTERVAL': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 13: unset: `foo-bar_CACHE_REMOTE_TIMEOUT': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 14: unset: `foo-bar_CACHE_TYPE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 15: unset: `foo-bar_CACHE_OWNERS': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 16: unset: `foo-bar_CACHE_SEGMENTS': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 17: unset: `foo-bar_CACHE_L1_LIFESPAN': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 18: unset: `foo-bar_CACHE_EVICTION_STRATEGY': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 19: unset: `foo-bar_CACHE_EVICTION_MAX_ENTRIES': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 20: unset: `foo-bar_CACHE_EXPIRATION_LIFESPAN': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 21: unset: `foo-bar_CACHE_EXPIRATION_MAX_IDLE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 22: unset: `foo-bar_CACHE_EXPIRATION_INTERVAL': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 23: unset: `foo-bar_LOCKING_ACQUIRE_TIMEOUT': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 24: unset: `foo-bar_LOCKING_CONCURRENCY_LEVEL': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 25: unset: `foo-bar_LOCKING_STRIPING': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 26: unset: `foo-bar_CACHE_INDEX': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 27: unset: `foo-bar_INDEXING_PROPERTIES': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 28: unset: `foo-bar_CACHE_SECURITY_AUTHORIZATION_ENABLED': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 29: unset: `foo-bar_CACHE_SECURITY_AUTHORIZATION_ROLES': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 30: unset: `foo-bar_CACHE_PARTITION_HANDLING_ENABLED': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 31: unset: `foo-bar_JDBC_STORE_TYPE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 32: unset: `foo-bar_KEYED_TABLE_PREFIX': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 33: unset: `foo-bar_JDBC_STORE_DATASOURCE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 34: unset: `foo-bar_ID_TYPE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 35: unset: `foo-bar_DATA_TYPE': not a valid identifier
      /opt/datagrid/bin/launch/infinispan-config.sh: line 36: unset: `foo-bar_TIMESTAMP_TYPE': not a valid identifier
      

              ooliveir@redhat.com Osni Oliveira (Inactive)
              maschmid@redhat.com Marek Schmidt
              Marek Schmidt Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: