working on profilecloner utility

Latest response

getting error once run the script as below.

WARN: can't find jboss-cli.xml. Using default configuration values.
WARN: can't find jboss-cli.xml. Using default configuration values.
Mar 22, 2018 12:00:07 PM org.jboss.remoting3.EndpointImpl
INFO: JBoss Remoting version 5.0.5.Final-redhat-1
Mar 22, 2018 12:00:07 PM org.xnio.Xnio
INFO: XNIO version 3.5.4.Final-redhat-1
Mar 22, 2018 12:00:07 PM org.xnio.nio.NioXnio
INFO: XNIO NIO Implementation Version 3.5.4.Final-redhat-1
Mar 22, 2018 12:00:07 PM org.wildfly.security.Version
INFO: ELY00001: WildFly Elytron version 1.1.7.Final-redhat-1
org.jboss.as.cli.CommandLineException: Unable to authenticate against controller at domain@pdxljbsdi001:9999
at org.jboss.as.cli.impl.CommandContextImpl.tryConnection(CommandContextImpl.java:1372)
at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:1153)
at org.jboss.as.cli.impl.CommandContextImpl.connectController(CommandContextImpl.java:1192)
at org.jboss.tfonteyne.profilecloner.Main.getContext(Main.java:176)
at org.jboss.tfonteyne.profilecloner.Main.(Main.java:122)
at org.jboss.tfonteyne.profilecloner.Main.main(Main.java:112)
Caused by: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed:
PLAIN: javax.security.sasl.SaslException: PLAIN: Server rejected authentication
at org.jboss.remoting3.remote.ClientConnectionOpenListener.allMechanismsFailed(ClientConnectionOpenListener.java:109)
at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:402)

Responses

to use below cmd.

java -cp /opt/jboss-eap-6.4-master/bin/clients/jboss-cli-client.jar:profilecloner.jar org.jboss.tfonteyne.profilecloner.Main -c pdxljbsdd001.standard.com --port=9999 --username=sicuser --password=***** /profile=full-ha full-ha-copy