[rules-users] Web service deployment

Michael Neale michael.neale at gmail.com
Thu Mar 8 00:32:51 EST 2007


What app server are you using?

Some app servers can have different scopes for classes loaded in different
ways. I am not sure of all of them ;)

On 3/8/07, Jones, Alan R <alan.r.jones at boeing.com> wrote:
>
>  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.
>
> 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).
>
> I suppose JBoss Rules does not really work inside any J2EE container, I
> thought it should be a simple matter with Tomcat.
>
>
>
> aj
>
> --------------------------------------------
> Alan R Jones
> Boeing S&IS Mission Systems
> Denver Engineering Center (BDEC)
> 303.307.3415
>
>
>  ------------------------------
> *From:* Michael Neale [mailto:michael.neale at gmail.com]
> *Sent:* Tuesday, March 06, 2007 6:39 PM
> *To:* Rules Users List
> *Subject:* Re: [rules-users] Web service deployment
>
> 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?
>
> On 3/7/07, Jones, Alan R <alan.r.jones at boeing.com> wrote:
> >
> >  Hi,
> >
> > 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?
> >
> >
> >
> > aj
> >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070308/8d9133bf/attachment.html 


More information about the rules-users mailing list