<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" 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 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'>I am trying to deploy a web service that uses Drools 4.0.1 to Tomcat 6
and Axis2 1.3. Does anybody know how to do this on Tomcat 6/Axis2.<o:p></o:p></span></font></p>

<pre><font size=2 face=Arial><span lang=EN-CA style='font-size:10.0pt;
font-family:Arial'>I have tried to place all the drools&#8217; jars (and its dependencies) in the axis2 lib directory but I keep getting java.lang.NoClassDefFoundError for all my fact objects. I have even tried to use the org.drools.rule.MapBackedClassLoader to load all my fact objects manually like it&#8217;s done in </span></font><font
face=Arial><span style='font-family:Arial'>BRMSPackageBuilder without any luck</span></font><font
face=Arial><span lang=EN-CA style='font-family:Arial'>.&nbsp; The only way to get the web service to work is to put my fact objects in the axis2 lib directory. One thing I haven&#8217;t tried is to compiled all the rules to Java and then deploy those with my web service.</span></font><font
face=Arial><span style='font-family:Arial'><o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'>Has anyone done this before or have any suggestions on how to get the
drools compiler to find fact objects on Tomcat/Axis2?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'>Thanks very much,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'>Len Carlsen<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-CA style='font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>