[wildfly-dev] Netty 4.0.12 messages

Frank Langelage frank.langelage at osnanet.de
Tue Dec 3 18:12:22 EST 2013


After today's upgrade of HornetQ and Netty to V4 I see this in my logs:
03.12. 20:10:09,207 FINE 
[io.netty.util.internal.logging.InternalLoggerFactory#<clinit>] Using 
java.util.logging as the default logging framework
03.12. 20:10:10,032 FINE 
[io.netty.util.internal.PlatformDependent#isRoot0] Could not determine 
the current UID using /usr/bin/id; attempting to bind at privileged ports.
03.12. 20:10:10,038 FINE 
[io.netty.util.internal.PlatformDependent#isRoot0] UID: non-root (failed 
to bind at any privileged ports)
03.12. 20:10:10,263 FINE 
[io.netty.util.internal.PlatformDependent#javaVersion0] Java version: 7
03.12. 20:10:10,265 FINE 
[io.netty.util.internal.PlatformDependent#hasUnsafe0] 
-Dio.netty.noUnsafe: false
03.12. 20:10:10,273 FINE 
[io.netty.util.internal.PlatformDependent0#<clinit>] 
java.nio.ByteBuffer.cleaner: unavailable
03.12. 20:10:10,493 FINE 
[io.netty.util.internal.PlatformDependent0#<clinit>] 
java.nio.Buffer.address: unavailable
03.12. 20:10:10,495 FINE 
[io.netty.util.internal.PlatformDependent#hasUnsafe0] sun.misc.Unsafe: 
unavailable
03.12. 20:10:10,502 FINE 
[io.netty.util.internal.PlatformDependent#hasJavassist0] 
-Dio.netty.noJavassist: false
03.12. 20:10:10,505 FINE 
[io.netty.util.internal.PlatformDependent#hasJavassist0] Javassist: 
unavailable
03.12. 20:10:10,506 FINE 
[io.netty.util.internal.PlatformDependent#hasJavassist0] You don't have 
Javassist in your class path or you don't have enough permission to load 
dynamically generated classes.  Please check the configuration for 
better performance.
03.12. 20:10:10,508 FINE 
[io.netty.util.internal.PlatformDependent#<clinit>] 
-Dio.netty.noPreferDirect: true
03.12. 20:10:10,509 INFO 
[io.netty.util.internal.PlatformDependent#<clinit>] Your platform does 
not provide complete low-level API for accessing direct buffers 
reliably. Unless explicitly requested, heap buffer will always be 
preferred to avoid potential system unstability.
03.12. 20:10:10,532 FINE [io.netty.util.ResourceLeakDetector#<clinit>] 
-Dio.netty.noResourceLeakDetection: false
03.12. 20:10:14,125 FINE 
[io.netty.channel.MultithreadEventLoopGroup#<clinit>] 
-Dio.netty.eventLoopThreads: 4
03.12. 20:10:14,208 FINE [io.netty.channel.nio.NioEventLoop#<clinit>] 
-Dio.netty.noKeySetOptimization: false
03.12. 20:10:14,209 FINE [io.netty.channel.nio.NioEventLoop#<clinit>] 
-Dio.netty.selectorAutoRebuildThreshold: 512
03.12. 20:10:14,249 FINE 
[io.netty.buffer.PooledByteBufAllocator#<clinit>] 
-Dio.netty.allocator.numHeapArenas: 2
03.12. 20:10:14,250 FINE 
[io.netty.buffer.PooledByteBufAllocator#<clinit>] 
-Dio.netty.allocator.numDirectArenas: 2
03.12. 20:10:14,252 FINE 
[io.netty.buffer.PooledByteBufAllocator#<clinit>] 
-Dio.netty.allocator.pageSize: 8192
03.12. 20:10:14,253 FINE 
[io.netty.buffer.PooledByteBufAllocator#<clinit>] 
-Dio.netty.allocator.maxOrder: 11
03.12. 20:10:14,254 FINE 
[io.netty.buffer.PooledByteBufAllocator#<clinit>] 
-Dio.netty.allocator.chunkSize: 16777216
03.12. 20:10:14,300 FINE 
[io.netty.util.internal.ThreadLocalRandom#newSeed] 
-Dio.netty.initialSeedUniquifier: 0xe6abbdc3bd390fb7
03.12. 20:10:14,360 FINE  [io.netty.util.NetUtil#<clinit>] Loopback 
interface: lo0
03.12. 20:10:14,362 FINE  [io.netty.util.NetUtil#<clinit>] Loopback 
address: /127.0.0.1 (primary)

Okay, /usr/bin/id -u or /bin/id -u etc. are not working on Solaris. 
Therefore /usr/xpg4/bin/id -u would have to be added.
But running without root access only binding to 127.0.0.1 should be 
sufficient, or?

But why is javassist is not found?

Or should I simply reduce log level for io.netty to simply hide these 
messages?



More information about the wildfly-dev mailing list