Bug 724672 (BRMS-570) - SLF4j packaged in jboss-brms.war causes ERROR "Class path contains multiple SLF4J bindings"
Summary: SLF4j packaged in jboss-brms.war causes ERROR "Class path contains multiple S...
Keywords:
Status: VERIFIED
Alias: BRMS-570
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0 GA
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: BRMS 5.2.0.GA
Assignee: manstis
QA Contact: Jiri Locker
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-16 10:11 UTC by Lami Akagwu
Modified: 2023-05-15 19:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
SLF4j jar files were incorrectly packaged in jboss-brms.war and caused initialization errors. These jars have been removed and the problem no longer persists.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-570 0 Major Closed SLF4j packaged in jboss-brms.war causes ERROR "Class path contains multiple SLF4J bindings" 2014-04-25 01:28:46 UTC

Description Lami Akagwu 2011-03-16 10:11:50 UTC
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000006kZea
Steps to Reproduce: start brms-standalone using the default profile
securitylevel_name: Public

With a brms standalone install, the following error appears in the server logs
--
16:11:30,691 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
16:11:30,691 ERROR [STDERR] SLF4J: Found binding in [vfszip:/opt/jboss/brms-standalone-5.1.0/jboss-as-web/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
16:11:30,691 ERROR [STDERR] SLF4J: Found binding in [vfszip:/opt/jboss/brms-standalone-5.1.0/jboss-as-web/server/default/deploy/jboss-brms.war/WEB-INF/lib/slf4j-log4j12-1.6.0.jar/org/slf4j/impl/StaticLoggerBinder.class] 
--
SLF4j should not be packaged with jboss-brms.war

A similar issue is raised in https://issues.jboss.org/browse/JBAS-8541

Comment 1 Jiri Locker 2011-03-18 15:06:03 UTC
Link: Added: This issue duplicates BRMS-432


Comment 2 Tihomir Surdilovic 2011-04-12 04:52:16 UTC
BRMS-standalone should not include the slf4j jars...agreed. Simple workaround could be to go to /brms-standalone-5.1.0.GA/jboss-as-web/server/default/deploy/jboss-brms.war/WEB-INF/lib and delete slf4j-api-1.6.0.jar and slf4j-log4j12-1.6.0.jar.


Comment 3 Rick Wagner 2011-08-25 19:12:04 UTC
GSS prioritizes 'High'.

Comment 4 Ryan Zhang 2011-09-01 02:29:24 UTC
This  issue is no longer existed in BRMS 5.2.0. 
flag: jboss‑brms‑5.2.0 can be removed.

Comment 5 Lukáš Petrovický 2011-09-01 06:36:43 UTC
Ok, moving it to MODIFIED so that we can make sure it is gone.

Comment 6 lcarlon 2011-09-13 04:47:52 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
https://bugzilla.redhat.com/show_bug.cgi?id=724672

SLF4j jar files were incorrectly packaged in jboss-brms.war and caused start errors. These jars have been removed and the problem no longer persists.

Comment 7 lcarlon 2011-09-14 04:27:19 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,3 +1 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=724672
-
 SLF4j jar files were incorrectly packaged in jboss-brms.war and caused start errors. These jars have been removed and the problem no longer persists.

Comment 8 lcarlon 2011-09-19 04:42:18 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-SLF4j jar files were incorrectly packaged in jboss-brms.war and caused start errors. These jars have been removed and the problem no longer persists.+SLF4j jar files were packaged in jboss-brms.war and caused initialization errors. These jars have been removed and the problem no longer persists.

Comment 9 Jiri Locker 2011-09-22 15:42:08 UTC
Fix verified in 5.2.0 ER4.

Comment 10 lcarlon 2011-09-22 23:05:17 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-SLF4j jar files were packaged in jboss-brms.war and caused initialization errors. These jars have been removed and the problem no longer persists.+SLF4j jar files were incorrectly packaged in jboss-brms.war and caused initialization errors. These jars have been removed and the problem no longer persists.


Note You need to log in before you can comment on or make changes to this bug.