Everything is deployed inside Apache Tomcat.
aj
--------------------------------------------
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
303.307.3415
________________________________
From: Michael Neale [mailto:michael.neale@gmail.com]
Sent: Wednesday, March 07, 2007 10:33 PM
To: Rules Users List
Subject: Re: [rules-users] Web service deployment
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(a)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@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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users