5 Replies Latest reply on Jul 15, 2014 6:21 AM by nityanand

    Problem creating service org.hornetq:service=JBossASSecurityManagerService java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;

    nityanand

      Hi,

      I am trying to upgrade the HornetQ 2.4.0 Final into Jboss 4.2.2 version. When I start the server after upgrading the HQ libs & configuration provided under hornetq-2.4.0.Final/config/jboss-as-4/cluster, server is failing to start with below error.

      2014-07-14 02:55:57,637 WARN  [org.jboss.system.ServiceController] (main) Problem creating service org.hornetq:service=JBossASSecurityManagerService

      java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;

      I have also placed the jboss-logging-3.1.0.GA.jar into jboss lib.

      As I understand Jboss/server/lib has got the jboss-common.jar which has the Logger class but it doesn’t have the method required for HQ logging. Can someone throw some light on how to resolve this problem?