Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3994

CLONE - Can't connect CLI to server on IPv6 address

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.1.Final
    • 7.1.0.Final
    • CLI

    Description

      Server started with:

       bin/standalone.sh -b=::1 -bmanagement=::1 -Djava.net.preferIPv4Stack=false 
      

      CLI execution attempts:

      $ bin/jboss-cli.sh --connect command=:shutdown
       The controller is not available at localhost:9999
       You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
      $ bin/jboss-cli.sh --connect controller=::1 command=:shutdown
       The port must be a valid non-negative integer: 'controller=::1'
      $ bin/jboss-cli.sh --connect controller=[::1] command=:shutdown
       The port must be a valid non-negative integer: 'controller=[::1]'
      
      $ netstat -natup | grep java
      (Not all processes could be identified, non-owned process info
       will not be shown, you would have to be root to see it all.)
      tcp        0      0 ::1:9990                    :::*                        LISTEN      21912/java          
      tcp        0      0 ::1:9999                    :::*                        LISTEN      21912/java          
      tcp        0      0 ::1:8080                    :::*                        LISTEN      21912/java          
      tcp        0      0 ::1:4447                    :::*                        LISTEN      21912/java          
      
      $ bin/jboss-cli.sh --connect controller=[::1]:9999 command=:shutdown
      The port must be a valid non-negative integer: 'controller=[::1]:9999'
      $ bin/jboss-cli.sh --connect controller=[::1]#9999 command=:shutdown
      The port must be a valid non-negative integer: 'controller=[::1]#9999'
      

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: