[
https://jira.jboss.org/browse/JBAS-8407?page=com.atlassian.jira.plugin.sy...
]
Richard Achmatowicz commented on JBAS-8407:
-------------------------------------------
There are a few points to note in this log:
(i) SNMP trap emitter is starting with an IPv4 address, despite the fact that an IPv6 bind
address was specified. As far as I remember, the SNMP trap emitter implementation was not
IPv6 compatible.
(ii) InvokerLocator is being incorrectly initialised using a malformed URL which results
in WARN (and which effectively breaks this functionality, as it probably dow defaults to
localhost)
(iii) JMX error, again due to bad URL being specified
JBoss AS 6 fails 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
Attachments: ipv6-server.log.gz
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