[jboss-jira] [JBoss JIRA] Created: (JBAS-8407) JBoss AS 6 failes to start with IPv6

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Mon Sep 13 12:12:12 EDT 2010


JBoss AS 6 failes to start with IPv6
------------------------------------

                 Key: JBAS-8407
                 URL: https://jira.jboss.org/browse/JBAS-8407
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JMX
            Reporter: Shelly McGowan
            Assignee: Scott Marlow
             Fix For: 6.0.0.CR1


due to MalformedURLException.  I'll attach the full server.log for reference.

Also note that the AS server start scripts, 
14:15:33,367 INFO  [SnmpAgentService] SNMP agent going active
14:15:33,383 ERROR [TrapEmitter] SNMP send error for localhost/127.0.0.1:1162: <java.security.InvalidParameterException: Buffer overflow error converting IP address>
14:15:33,640 WARN  [InvokerLocator] Host resolves to null in socket://3ffe:ffff:100:f101::1:3873?timeout=300000. Perhaps the host contains an invalid character.  See http://www.ietf.org/rfc/rfc2396.txt.
14:15:34,060 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
14:15:34,374 INFO  [JMXConnector] starting JMXConnector on host 3ffe:ffff:100:f101::1:1090
14:15:34,393 ERROR [JMXConnector] Could not start JMXConnector: java.net.MalformedURLException: Bad port number: "": java.lang.NumberFormatException: For input string: ""
        at javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:193) [:1.6.0_13]
        at org.jboss.system.server.jmx.JMXConnector.start(JMXConnector.java:143) [:6.0.0.20100721-M4 (Build SVNTag:JBoss_6.0.0.20100721-M4 date: 20100723)]

Note that the start scripts set java.net.preferIPv4Stack=true:
# Force IPv4 on Linux systems since IPv6 doesn't work correctly with jdk5 and lower
if [ "$linux" = "true" ]; then
   JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
fi



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list