You are welcome :) -- dims
On 3/8/07, Grimshaw, Jeffrey <[EMAIL PROTECTED]> wrote:
Wonderful! Setting that parameter worked beutifully and the service now works as expected. Thanks Davanum! --Jeff -----Original Message----- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 6:25 AM To: axis-user@ws.apache.org Subject: Re: [axis2] Lib cannot find classes in aar Please try setting the ServiceTCCL option to "composite". See example here [1] <parameter name="ServiceTCCL">composite</parameter> [1] http://ws.apache.org/axis2/1_1_1/pojoguide.html On 3/7/07, Grimshaw, Jeffrey <[EMAIL PROTECTED]> wrote: > UPDATE! > > If I package up my application classes in a jar file and place them in > webapps/axis-2/WEB-INF/lib it works fine. However, this is less than > ideal for a production deployment. > > Any suggestions about what I can do to package these files in the aar > will be very much appreciated. > > > --Jeff > > -----Original Message----- > From: Grimshaw, Jeffrey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 07, 2007 4:20 PM > To: axis-user@ws.apache.org > Subject: [axis2] Lib cannot find classes in aar > > I am attempting to use axis2 in conjunction with Jboss Rules to write > a service which executes some business rules. I debated about whether > to send this request to the rules list first, but I really think it's > an > axis2 problem. > > The service deploys just fine and wsdl is generated as it should be. > The problem I am having is that the Jboss Rules compiler (located in > /lib in the aar) cannot find the classes which implement the web > service (located in /com/mycompany/rules/servicename in the aar). To > muddy the waters further, I'm using a decision table (xls file) for > the rules themselves. This seems to be found and parsed OK, but the > resulting DRL cannot be compiled because the compiler cannot find the > implementation classes it needs. Should the *.jar files in /lib have > access to the service implementation classes located off the root? > > FWIW, here is the structure of my aar file: > > / > |- com/mycompany/rules/myservice (service *.class files) > | > |- lib (Jboss rules *.jar files) > | > |- meta-inf (services.xml, etc.) > > I have tried placing the class files in various places in the aar, to > no avail. I even went so far as jar'ing them up and putting the jar > in /lib. None of this has helped. I've also done the normal > triple-check on references, spelling arrors, etc. Any other ideas on > what's going on here? > > Thanks, > > Jeff Grimshaw > Sr. Programmer/Analyst > Green Point Mortgage > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]