[jboss-jira] [JBoss JIRA] (DROOLS-908) Class load error with slf4j-api on Tomcat8

Maciej Swiderski (JIRA) issues at jboss.org
Thu Sep 10 06:43:00 EDT 2015


    [ https://issues.jboss.org/browse/DROOLS-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107344#comment-13107344 ] 

Maciej Swiderski commented on DROOLS-908:
-----------------------------------------

Timo,

one question why you try to deploy ee7 version of kie server on tomcat instead of webc (which is tailored for web containers)? Our tests do not show any issues when running on current version of kie server webc on top of tomcat with slf4j api and slf4j-jdk14 being in tomcat/lib folder.

> Class load error with slf4j-api on Tomcat8
> ------------------------------------------
>
>                 Key: DROOLS-908
>                 URL: https://issues.jboss.org/browse/DROOLS-908
>             Project: Drools
>          Issue Type: Bug
>          Components: kie server
>    Affects Versions: 6.3.0.CR2
>         Environment: apache-tomcat-8.0.26
>            Reporter: Timo Riikonen
>            Assignee: Edson Tirelli
>
> Installation instructions request that slf4j-api JAR file is copied to Tomcats lib directory. And correctly also as the Tomcat won't start if it is not in there.
> But then this API conflicts with the same API in kie-server-6.3.0.CR2-ee7.
> I did a quick fix that seemed to solve this:
> # Removed kie-server WAR file from tomcat webapps directory, so that it won't undo the next step.
> # Deleted the problem file webapps/kie-server-6.3.0.CR2-ee7/WEB-INF/lib/slf4j-api-1.7.2.jar
> I considered removing the jar file from Drools project, but that is likely to cause other errors, so I decided to leave this to the experts (= you guys).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list