<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>I am trying to deploy the kie-drools-wb on Tomcat7, but I keep getting these errors.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>SEVERE: Error listenerStart<o:p></o:p></p><p class=MsoPlainText>Jul 23, 2014 10:03:26 AM org.apache.catalina.core.StandardContext<o:p></o:p></p><p class=MsoPlainText>startInternal<o:p></o:p></p><p class=MsoPlainText>SEVERE: Context [/rule-mgnt-6.0.1] startup failed due to previous errors Jul 23, 2014 10:03:26 AM org.apache.catalina.loader.WebappClassLoader<o:p></o:p></p><p class=MsoPlainText>clearReferencesThreads<o:p></o:p></p><p class=MsoPlainText>SEVERE: The web application [/rule-mgnt-6.0.1] appears to have started a thread named [pool-4-thread-1] but has failed to stop it. This is very likely to create a memory leak.<o:p></o:p></p><p class=MsoPlainText>Jul 23, 2014 10:03:26 AM org.apache.catalina.loader.WebappClassLoader<o:p></o:p></p><p class=MsoPlainText>checkThreadLocalMapForLeaks<o:p></o:p></p><p class=MsoPlainText>SEVERE: The web application [/rule-mgnt-6.0.1] created a ThreadLocal with key of type [org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider$1]<o:p></o:p></p><p class=MsoPlainText>(value<o:p></o:p></p><p class=MsoPlainText>[org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider$1@323acc6f])<o:p></o:p></p><p class=MsoPlainText>and a value of type [org.apache.catalina.core.ApplicationContextFacade]<o:p></o:p></p><p class=MsoPlainText>(value [org.apache.catalina.core.ApplicationContextFacade@3243a52c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.<o:p></o:p></p><p class=MsoPlainText>Jul 23, 2014 10:03:26 AM org.apache.catalina.loader.WebappClassLoader<o:p></o:p></p><p class=MsoPlainText>checkThreadLocalMapForLeaks<o:p></o:p></p><p class=MsoPlainText>SEVERE: The web application [/rule-mgnt-6.0.1] created a ThreadLocal with key of type [org.jboss.errai.config.util.ClassScanner$1] (value<o:p></o:p></p><p class=MsoPlainText>[org.jboss.errai.config.util.ClassScanner$1@7711057b]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I have follow the instructions provided from this link:http://drools.46999.n3.nabble.com/rules-users-Problems-deploying-war-td4029202.html<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>1. I have added these 3 jar files in my tomcat_home/lib directory<o:p></o:p></p><p class=MsoPlainText> a. javax.security.jacc-api-1.5.jar<o:p></o:p></p><p class=MsoPlainText> b. kie-tomcat-integration-6.1.0.CR2.jar<o:p></o:p></p><p class=MsoPlainText> c. slf4j-api-1.7.7.jar<o:p></o:p></p><p class=MsoPlainText>2. Modified the server.xml in tomcat_home/conf directory by adding the line below in the <Host> tag<o:p></o:p></p><p class=MsoPlainText> <Valve className="org.kie.integration.tomcat.JACCValve" /> 3. Added the following in tomcat-users.xml<o:p></o:p></p><p class=MsoPlainText> <role rolename="admin"/><o:p></o:p></p><p class=MsoPlainText> <role rolename="analyst"/><o:p></o:p></p><p class=MsoPlainText> <role rolename="manager-gui"/><o:p></o:p></p><p class=MsoPlainText> <role rolename="user"/><o:p></o:p></p><p class=MsoPlainText> <user username="admin" password="dummy" roles="admin"/><o:p></o:p></p><p class=MsoPlainText> <user username="tomcat" password="dummy2" roles="manager-gui"/> 4. Delete org.uberfire.security.auth.AuthenticationSource inside WEB-INF/classes/META-INF/services 5. Rename org.uberfire.security.auth.AuthenticationSource-TOMCAT-JEE-SECURITY to org.uberfire.security.auth.AuthenticationSource inside WEB-INF/classes/META-INF/services 6. Created a setenv.sh in tomcat_home/bin directory, which has this as it content<o:p></o:p></p><p class=MsoPlainText> export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=256m"<o:p></o:p></p><p class=MsoPlainText>7. Finally, uncomment the section in web.xml from the WAR file.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I am using Tomcat 7.0.54 and running on 64 bit Linux server. I would appreciate any suggestions.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thank You,</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Chieu Nguyen</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Chieu.nguyen@verizon.com</span><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>