When I execute a JBoss utility script (add-user.sh), it failed with error message "Node path format is wrong around 'xxxx'".

Solution Unverified - Updated -

Issue

When I execute a JBoss utility shell script (add-user.sh), it failed with error message "Node path format is wrong around 'xxxx'".

[root@eap1 00:00:00 ~]# /opt/eap/bin/jboss-cli.sh --connect --controller=127.0.0.1 --user=<username> --password=<password>
[standalone@127.0.0.1:9990 /] 
[standalone@127.0.0.1:9990 /] /opt/eap/bin/add-user.sh  -sc /opt/jboss-eap-7.2/standalone/configuration  -u <new username> -p <new password>
Node path format is wrong around 'opt' (index=1).

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In