TestNG SeamTest using JBoss BRMS 5.3.1 Runtime throws exception

Solution Verified - Updated -

Issue

We are experiencing the following issue when executing unit testing using SeamTest under TestNG:

ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss:service=TransactionManager state=Create mode=Manual requiredState=Installed
java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
    at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)

It seems that the issue is caused by the following libraries: jcl-over-slf4j and slf4j-api. How to fix it?

Environment

  • JBoss Enterprise Business Rules Management System (BRMS) 5.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content