Error mismatched input in JBoss Data Grid CLI when trying to run site command with a hyphen in site's name
- Red Hat JBoss Data Grid (JDG)
- An error message
mismatched inputis returned when trying to run
site --status $(sitename)in
sitecommand returning an error
site command performs administration tasks related to cross-datacenter replication. As a workaround choose a
site name without a hyphen.
The error occurs because the
site name has a hyphen character on it. This issue is tracked in following
jira (JDG-2494). The fix will be released in a future version.
CLI navigate to the
cache level and try to get the
[standalone@localhost:9990 /] container clustered [standalone@localhost:9990 cache-container=clustered] cache default [standalone@localhost:9990 distributed-cache=default] site --status site-01 line 1:14 mismatched input 'site' expecting set null line 1:20 mismatched input '1' expecting set null
- Red Hat Data Grid
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.