1 Reply Latest reply on Mar 6, 2018 3:44 AM by mchoma

    Wildfly 12 : jboss-cli : what changed from wildfly 11? Do not work anymore

    gquentin

      ubuntu 16.04 container

      java version "1.8.0_161" oracle

       

      i cannot use anymore the jboss-cli.sh to connect to the contoller since i migrated from v11 to with wildfly 12:

       

      wildfly@java2:/opt/Wildfly$ ls -la

      drwxr-xr-x 1 root root 156 Mar  3 20:36 jboss-server-migration

      drwxr-xr-x 1 root root 454 Mar  4 00:09 overlays

      drwxr-xr-x 1 root root 166 Mar  4 11:43 scripts

      drwxr-xr-x 1 root root 236 Oct 24 05:30 wildfly-11.0.0.Final

      drwxr-xr-x 1 root root 236 Mar  1 07:29 wildfly-12.0.0.Final

      lrwxrwxrwx 1 root root  20 Mar  4 12:49 wildfly-current -> wildfly-12.0.0.Final

       

       

      my wildfly  management console is on 172.20.12.192.

      v12 has been migrated from v11 with the jboss-server-migration tool. Applications and app manager works fine and  the wildfly instance controller is well binded on the requested ip.

       

       

      with wildfly-current  link on -> wildfly-11.0.0.Final:

       

      this works perfectly:

      (cd /opt/Wildfly/wildfly-current/bin && ./jboss-cli.sh -c -u=xx -p=xx --controller=http-remoting://172.20.12.192:9990)

       

       

      with wildfly-current -> wildfly-12.0.0.Final:

      this go in infinite loop until crash :

      (cd /opt/Wildfly/wildfly-current/bin && ./jboss-cli.sh -c -u=xx -p=xx --controller=http-remoting://172.20.12.192:9990)

       

      output:

       

      '[standalone@172.20.12.192:9990' is not a valid operation name.

      [standalone@172.20.12.192:9990 /] '[standalone@172.20.12.192:9990' is not a valid operation name.

      ''[standalone@172.20.12.192:9990'' is not a valid operation name.

      [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] ''[standalone@172.20.12.192:9990'' is not a valid operation name.

      '[standalone@172.20.12.192:9990' is not a valid operation name.

      [standalone@172.20.12.192:9990 /] '''[standalone@172.20.12.192:9990''' is not a valid operation name.

      ''''[standalone@172.20.12.192:9990'''' is not a valid operation name.

      [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] ''[standalone@172.20.12.192:9990'' is not a valid oper is not a valid operation name.

      '[standalone@172.20.12.192:9990' is not a valid operation name.

      [standalone@172.20.12.192:9990 /] '''''[standalone@172.20.12.192:9990''''' is not a valid operation name.

      ''''''[standalone@172.20.12.192:9990'''''' is not a valid operation name.

      [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] [standalone@172.20.12.192:9990 /] ''''[standalone@172.20.12.192:9990'''' is not a valid operation name

       

       

      attached is a strace capture file (one of thousands) of  jboss-cli .