Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-3172

[jms-pool] Expected example output is lost in heaps of superfluous trace logging

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 2.10.4.GA
    • jms-pool
    • False
    • False

                      Connection connection = poolingFactory.createConnection(System.getProperty("USER"), System.getProperty("PASSWORD"));
      
      java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled
      	at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31)
      	at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:253)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:247)
      	at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:294)
      	at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:88)
      	at io.netty.util.internal.ClassInitializerUtil.tryLoadClasses(ClassInitializerUtil.java:32)
      	at io.netty.channel.epoll.Native.<clinit>(Native.java:72)
      	at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:40)
      	at org.apache.qpid.jms.transports.netty.EpollSupport.isAvailable(EpollSupport.java:37)
      	at org.apache.qpid.jms.transports.netty.NettyTcpTransport.connect(NettyTcpTransport.java:141)
      	at org.apache.qpid.jms.provider.amqp.AmqpProvider.connect(AmqpProvider.java:231)
      	at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:162)
      	at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:213)
      	at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:200)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory.createProviderConnection(JmsPoolConnectionFactory.java:661)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory$1.makeObject(JmsPoolConnectionFactory.java:108)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory$1.makeObject(JmsPoolConnectionFactory.java:105)
      	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.create(GenericKeyedObjectPool.java:784)
      	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.addObject(GenericKeyedObjectPool.java:336)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory.createJmsPoolConnection(JmsPoolConnectionFactory.java:715)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory.createConnection(JmsPoolConnectionFactory.java:247)
      	at org.messaginghub.jms.example.HelloWorld.main(HelloWorld.java:60)
      2022-01-27 14:42:56,232 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
      2022-01-27 14:42:56,233 [main] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable
      java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @158d2680
      	at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)
      	at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:558)
      	at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:375)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:366)
      	at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:294)
      	at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:88)
      	at io.netty.util.internal.ClassInitializerUtil.tryLoadClasses(ClassInitializerUtil.java:32)
      	at io.netty.channel.epoll.Native.<clinit>(Native.java:72)
      	at io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:40)
      	at org.apache.qpid.jms.transports.netty.EpollSupport.isAvailable(EpollSupport.java:37)
      	at org.apache.qpid.jms.transports.netty.NettyTcpTransport.connect(NettyTcpTransport.java:141)
      	at org.apache.qpid.jms.provider.amqp.AmqpProvider.connect(AmqpProvider.java:231)
      	at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:162)
      	at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:213)
      	at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:200)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory.createProviderConnection(JmsPoolConnectionFactory.java:661)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory$1.makeObject(JmsPoolConnectionFactory.java:108)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory$1.makeObject(JmsPoolConnectionFactory.java:105)
      	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.create(GenericKeyedObjectPool.java:784)
      	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.addObject(GenericKeyedObjectPool.java:336)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory.createJmsPoolConnection(JmsPoolConnectionFactory.java:715)
      	at org.messaginghub.pooled.jms.JmsPoolConnectionFactory.createConnection(JmsPoolConnectionFactory.java:247)
      	at org.messaginghub.jms.example.HelloWorld.main(HelloWorld.java:60)
      

        1. test.log
          198 kB
          Jiri Daněk

              rhn-support-tbish Tim Bish
              jdanek@redhat.com Jiri Daněk
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: