<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=096010617-08032007><FONT face=Arial
color=#0000ff size=2>Everything is deployed inside Apache
Tomcat.</FONT></SPAN></DIV><!-- Converted from text/rtf format --><BR><BR>
<P><SPAN lang=en-us><FONT face=Arial size=2>aj</FONT></SPAN> </P><BR>
<P><SPAN lang=en-us><FONT face=Arial
size=2>--------------------------------------------</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#0000ff size=2>Alan R Jones</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=2>Boeing S&IS Mission
Systems</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>Denver
Engineering Center (BDEC)</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
size=2>303.307.3415</FONT></SPAN> </P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Michael Neale
[mailto:michael.neale@gmail.com] <BR><B>Sent:</B> Wednesday, March 07, 2007
10:33 PM<BR><B>To:</B> Rules Users List<BR><B>Subject:</B> Re: [rules-users] Web
service deployment<BR></FONT><BR></DIV>
<DIV></DIV>What app server are you using? <BR><BR>Some app servers can have
different scopes for classes loaded in different ways. I am not sure of all of
them ;) <BR><BR>
<DIV><SPAN class=gmail_quote>On 3/8/07, <B class=gmail_sendername>Jones, Alan
R</B> <<A
href="mailto:alan.r.jones@boeing.com">alan.r.jones@boeing.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Yes, my
thoughts exactly -- the web service is packaged as an .aar which is nothing
more than a jar file. The workaround that i have seen mentioned is to place
the data object (Fact) inside a jar and place that into
axis2\WEB-INF\lib. That only causes more headaches since everything is
generated as xml beans and there is some collision
problem.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>I was
wondering if it's possible to get the classes needed by Drools onto the
classpath another way at web service runtime? This is all very strange
since the rules do correctly see the very same objects when i test them
inside eclipse (sans a deployed web service).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>I suppose
JBoss Rules does not really work inside any J2EE container, I thought it
should be a simple matter with Tomcat.</FONT></SPAN></DIV>
<DIV> </DIV><FONT face=Arial color=#0000ff size=2></FONT><BR><BR>
<P><SPAN lang=en-us><FONT face=Arial size=2>aj</FONT></SPAN> </P><BR>
<P><SPAN lang=en-us><FONT face=Arial
size=2>--------------------------------------------</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#0000ff size=2>Alan R Jones</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=2>Boeing S&IS Mission
Systems</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>Denver
Engineering Center (BDEC)</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
size=2>303.307.3415</FONT></SPAN> </P>
<DIV> </DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> Michael Neale [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:michael.neale@gmail.com"
target=_blank>michael.neale@gmail.com</A>] <BR><B>Sent:</B> Tuesday, March 06,
2007 6:39 PM<BR><B>To:</B> Rules Users List<BR><B>Subject:</B> Re:
[rules-users] Web service deployment<BR></FONT><BR></DIV>
<DIV><SPAN class=e id=q_1112d3221a0bfa83_1>
<DIV></DIV>sounds like the classes that are visible to axis are not visible to
rules - depends how you are packaging up your application - war or ear?
<BR><BR>
<DIV><SPAN class=gmail_quote>On 3/7/07, <B class=gmail_sendername>Jones, Alan
R </B><<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:alan.r.jones@boeing.com"
target=_blank>alan.r.jones@boeing.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV text="#000000" bgcolor="#ffffff">
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>Is there
a way to deploy JBoss Rules so that it's exposed as a web service in Axis2?
I keep getting server side errors where Drools is not able to
resolve/recognize the object passed into the rule. How can I get the objects
on the classpath properly for Drools to find it?</SPAN></FONT></DIV>
<DIV> </DIV><BR><BR>
<P><SPAN lang=en-us><FONT face=Arial size=2>aj</FONT></SPAN>
</P><BR></DIV><BR>_______________________________________________<BR>rules-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org"
target=_blank>rules-users@lists.jboss.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></DIV><BR>_______________________________________________<BR>rules-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>