Hi Finian ; I am sorry that I did not look into EchoNonBlockingDualClient codes but the engaging client side module can be done as follows; 1. You can create a configurationContext using a given repository and that repo can have modules dir and which may have addressing module in it. 2. In the client side you can drop your addressing.mar in the same location where you have drop axis2.jar , and create serviceClient without given repo.
Finian O'Boyle wrote: >Thanks for that Deepal. I am using Tomcat and I have addressing-0.95.mar in >webapp/axis2/WEB-INF/modules. The problem occurs before anything gets to >Tomcat or the Axis2 server - it is in Eclipse within the >EchoNonBlockingDualClient, which raises the "module not found" error when it >executes the following statement: > > sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); > >I've watched using tcpmon and there is no traffic through it before the >error occurs. > >It seems that the client can't find the module - I've tried putting it >everywhere that the client might find it from Eclipse, but so far >unsuccessfully. > >Thank you for your help in trying to sort this out. > >Finian > > > >-----Original Message----- >From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] >Sent: 08 April 2006 15:56 >To: [email protected] >Subject: Re: [Axis2] 0.95 WS-Addressing web SERVICE-SIDE: module not found > >If your server is tomcat then put the addressing-0.95.mar into > webapp/axis2/WEB-INF/modules directory. > >else if you are using simpeleHTTP server then , put the >addressing-0.95.mar inside modules directory. > example > ConfigiurationCoentxt configct= >ConfigurationConetxtFactory.createConfigurationContextFromFileSystem("Reposi >torPath" >,null) > so if you put the addressing--.mar inside the modules directory there >in the repo it should work. > > > >Finian O'Boyle wrote: > > > >>I've tried putting addressing-0.95.mar all over my system, but with no >> >> >luck. > > >>I'm still getting the "module not found" error. I'm using the war >>distribution, but I've also got the other distributions unpacked on my >>system for reference. >> >>Finian >> >>-----Original Message----- >>From: Roman Weidlich [mailto:[EMAIL PROTECTED] >>Sent: 07 April 2006 22:14 >>To: [email protected] >>Subject: Re: [Axis2] 0.95 WS-Addressing web SERVICE-SIDE: module not found >> >>copied addressing-0.95.mar to >> >> tomcat\webapps\axis2\WEB-INF\lib >> >>but if the web service tries to invoke an NonBlockingDual to another ws >>it prints >> >> WS1: org.apache.axis2.AxisFault: Module not found >> >>to the tomcat output. >> >>at client-side the addressing-0.95.mar in the lib dir works, but in the >>war distribution not... >> >> >> >> >> > > > -- Thanks, Deepal ................................................................ ~Future is Open~
