Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8358

(7.0.z) Remove e.printStackTrace() from ActiveMQActivationSpec.validate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.5.CR1, 7.0.5.GA
    • 7.0.1.CR1
    • ActiveMQ
    • None
    • EAP 7.0.5

      ActiveMQActivationSpec.validate() method should not call e.printStackTrace(); in catch block. It should be properly logged:

            try {
             ...
            catch (IntrospectionException e) {
               e.printStackTrace();
            }
      

      The same issue is in:
      InVMAcceptor.stop()
      NettyAcceptor.stop()
      ClusterManager.clear()
      ClusterManager.intercept()
      ColocatedHAManager.stop()
      ClusterConnectionImpl.disconnectRecord()
      ClusterConnectionImpl.removeRecord()
      ActiveMQServerImpl.freezeConnections()
      ColocatedActivation.allVotesCast()
      ColocatedActivation.getActivationChannelHandler()
      FileLockNodeManager.startLiveNode()
      InVMNodeManager.startLiveNode()
      RefsOperation.afterRollback()
      ServerSessionImpl.xaForget()
      SharedNothingBackupActivation.run()
      SharedStoreBackupActivation.run()
      ManagementServiceImpl.unregisterAcceptors()

              dtikhomi@redhat.com Dmitrii Tikhomirov
              rhn-support-bmaxwell Brad Maxwell
              Peter Mackay Peter Mackay
              Peter Mackay Peter Mackay
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: