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

Can't access management interface when binding to IPv6 addresses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 7.1.2.Final (EAP)
    • 7.1.1.Final
    • CLI
    • None

      Can't connect to the management console when I bind the server to an IPv6 address:

      [nrla@lenovo bin]$ ./standalone.sh --server-config standalone-ha.xml -Djboss.bind.address=3ffe:ffff:100:f101::2 -Djboss.bind.address.management=3ffe:ffff:100:f101::2 -Djboss.bind.address.unsecure=3ffe:ffff:100:f101::2
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /tmp/serverB
      
        JAVA: /opt/jdk-1.6.0_26/bin/java
      
        JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true  -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml
      
      =========================================================================
      
      10:51:11,675 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      10:51:11,822 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      10:51:11,861 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.2.Final-SNAPSHOT "Brontes" starting
      10:51:12,797 INFO  [org.xnio] XNIO Version 3.0.3.GA
      10:51:12,803 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
      10:51:12,809 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      10:51:12,823 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.4.GA
      10:51:12,847 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      10:51:12,852 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 28) JBAS016200: Activating ConfigAdmin Subsystem
      10:51:12,864 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 33) JBAS010280: Activating Infinispan subsystem.
      10:51:12,888 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 37) JBAS010260: Activating JGroups subsystem.
      10:51:12,906 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 48) JBAS013101: Activating Security Subsystem
      10:51:12,932 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 43) JBAS011940: Activating OSGi Subsystem
      10:51:12,938 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 42) JBAS011800: Activating Naming Subsystem
      10:51:12,958 INFO  [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
      10:51:12,965 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
      10:51:12,990 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 52) JBAS015537: Activating WebServices Extension
      10:51:13,003 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 29) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      10:51:13,025 INFO  [org.jboss.as.naming] (MSC service thread 1-7) JBAS011802: Starting Naming Service
      10:51:13,051 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
      10:51:13,191 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-7) JBoss Web Services - Stack CXF Server 4.0.2.GA
      10:51:13,261 INFO  [org.apache.coyote.ajp.AjpProtocol] (MSC service thread 1-3) Starting Coyote AJP/1.3 on ajp--3ffe_ffff_100_f101_0_0_0_2-2-8009
      10:51:13,262 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--3ffe_ffff_100_f101_0_0_0_2-2-8080
      10:51:13,330 INFO  [org.jboss.modcluster.ModClusterService] (MSC service thread 1-5) Initializing mod_cluster 1.2.1.Beta2
      10:51:13,364 INFO  [org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl] (MSC service thread 1-5) Listening to proxy advertisements on ff0e:0:0:0:0:0:0:1:23,364
      10:51:13,430 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 33) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      10:51:13,448 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 33) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      10:51:13,563 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /3ffe:ffff:100:f101:0:0:0:2%2:4447
      10:51:13,563 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /3ffe:ffff:100:f101:0:0:0:2%2:9999
      10:51:13,585 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory /tmp/serverB/standalone/deployments
      10:51:13,607 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      10:51:13,761 WARNING [org.jgroups.protocols.UDP] (pool-14-thread-1) send buffer of socket java.net.DatagramSocket@39126d91 was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
      10:51:13,762 WARNING [org.jgroups.protocols.UDP] (pool-14-thread-1) receive buffer of socket java.net.DatagramSocket@39126d91 was set to 20MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
      10:51:13,763 WARNING [org.jgroups.protocols.UDP] (pool-14-thread-1) send buffer of socket java.net.MulticastSocket@15e3d24a was set to 640KB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
      10:51:13,763 WARNING [org.jgroups.protocols.UDP] (pool-14-thread-1) receive buffer of socket java.net.MulticastSocket@15e3d24a was set to 25MB, but the OS only allocated 131.07KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
      10:51:13,768 INFO  [stdout] (pool-14-thread-1) 
      10:51:13,768 INFO  [stdout] (pool-14-thread-1) -------------------------------------------------------------------
      10:51:13,769 INFO  [stdout] (pool-14-thread-1) GMS: address=lenovo/web, cluster=web, physical address=3ffe:ffff:100:f101:0:0:0:2:55200
      10:51:13,770 INFO  [stdout] (pool-14-thread-1) -------------------------------------------------------------------
      10:51:15,992 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      10:51:15,997 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service thread 1-7) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be pasivated.
      10:51:16,170 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://[3ffe:ffff:100:f101:0:0:0:2%2]:9990
      10:51:16,171 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.2.Final-SNAPSHOT "Brontes" started in 4674ms - Started 134 of 268 services (133 services are passive or on-demand)
      

      Trying to access the console:

      [nrla@lenovo bin]$ ./jboss-cli.sh
      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
      [disconnected /] connect controller=3ffe:ffff:100:f101:0:0:0:2
      The controller is not available at controller=3ffe:ffff:100:f101:0:0:0:2
      [disconnected /] connect controller=3ffe:ffff:100:f101:0:0:0:2%2
      The port must be a valid non-negative integer: '[controller=3ffe:ffff:100:f101:0:0:0:2%2]'
      [disconnected /] connect controller=[3ffe:ffff:100:f101:0:0:0:2%2]
      The controller is not available at controller=[3ffe:ffff:100:f101:0:0:0:2%2]:9999
      [disconnected /] connect controller=[3ffe:ffff:100:f101:0:0:0:2%2]:9990
      The controller is not available at controller=[3ffe:ffff:100:f101:0:0:0:2%2]:9990
      [disconnected /] 
      

            olubyans@redhat.com Alexey Loubyansky
            rachmato@redhat.com Richard Achmatowicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: