Details

    • Steps to Reproduce:
      Hide

      mvn clean verify -Pitest on Wildly10 branch

      Show
      mvn clean verify -Pitest on Wildly10 branch

      Description

      Executing itest profile on Wildfly10 branch brings some warnings as:

      2015-12-17 23:06:06,128 WARN [org.apache.activemq.artemis.core.client] (Thread-1 (ActiveMQ-client-global-threads-1418530753)) AMQ212051: Invalid concurrent session usage. Sessions are not supposed to be used by more than one thread concurrently.: java.lang.Exception: trace
      at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.startCall(ClientSessionImpl.java:995)
      at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:205)
      at org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:124)
      at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.doSendx(ActiveMQMessageProducer.java:476)
      at org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:172)
      at org.hawkular.bus.common.MessageProcessor.send(MessageProcessor.java:130)
      at org.hawkular.bus.common.MessageProcessor.send(MessageProcessor.java:84)
      at org.hawkular.alerts.actions.bus.BusActionPluginSender.send(BusActionPluginSender.java:133)
      at org.hawkular.alerts.actions.email.EmailPlugin.sendResult(EmailPlugin.java:249)
      at org.hawkular.alerts.actions.email.EmailPlugin.process(EmailPlugin.java:266)
      at org.hawkular.alerts.actions.bus.BusActionPluginListener.onBasicMessage(BusActionPluginListener.java:72)
      at org.hawkular.alerts.actions.bus.BusActionPluginListener.onBasicMessage(BusActionPluginListener.java:40)
      at org.hawkular.bus.common.consumer.BasicMessageListener.onBasicMessage(BasicMessageListener.java:77)
      at org.hawkular.bus.common.consumer.BasicMessageListener.onMessage(BasicMessageListener.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      and

      2015-12-17 23:06:07,241 WARN [org.apache.activemq.artemis.jms.client] (Finalizer) AMQ122000: I''m closing a JMS connection you left open. Please make sure you close all JMS connections explicitly before letting them go out of scope! see stacktrace to find out where it was created: java.lang.Exception
      at org.apache.activemq.artemis.jms.client.ActiveMQConnection.<init>(ActiveMQConnection.java:155)
      at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:750)
      at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:233)
      at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:229)
      at org.hawkular.bus.common.ConnectionContextFactory.createConnection(ConnectionContextFactory.java:279)
      at org.hawkular.bus.common.ConnectionContextFactory.createOrReuseConnection(ConnectionContextFactory.java:239)
      at org.hawkular.bus.common.ConnectionContextFactory.createProducerConnectionContext(ConnectionContextFactory.java:94)
      at org.hawkular.alerts.actions.bus.BusActionPluginSender.init(BusActionPluginSender.java:99)
      at org.hawkular.alerts.actions.bus.BusActionPluginSender.send(BusActionPluginSender.java:131)
      at org.hawkular.alerts.actions.email.EmailPlugin.sendResult(EmailPlugin.java:249)
      at org.hawkular.alerts.actions.email.EmailPlugin.process(EmailPlugin.java:266)
      at org.hawkular.alerts.actions.bus.BusActionPluginListener.onBasicMessage(BusActionPluginListener.java:72)
      at org.hawkular.alerts.actions.bus.BusActionPluginListener.onBasicMessage(BusActionPluginListener.java:40)
      at org.hawkular.bus.common.consumer.BasicMessageListener.onBasicMessage(BasicMessageListener.java:77)
      at org.hawkular.bus.common.consumer.BasicMessageListener.onMessage(BasicMessageListener.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
      at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
      at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)

      These warnings are new compared with Wildfly9 and those are related to the changes into the hawkular-bus framework in Wildfly10.
      The plugins architecture re-uses session for sending JMS which can be a bad pattern in artemis implementation, so this issue needs to be investigated and updated into a proper pattern.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rutlucas Lucas Ponce
                Reporter:
                rutlucas Lucas Ponce
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: