In the tomcat case you do not need to have .axis2 directory , we have completely solve the problem of creating .axis2 directory in 0.95 , if you dont mind can you please have a look at 0.95 :)
Yariel Ramos Moreno wrote: > I'm using the war that comes with axis 0.94 release, I didn't make any > modification to it. The addressing.mar file is under WEB-INF/modules > and home/.axis2/modules directories and in my web application/WEB-INF > directory I made a copy of .axis directory. > > http:/localhost:8080/axis2/listServices doesn't show any faulty > service. Even more, the web service work very well when I use it from > a standalone application outside de container. > > > > On 3/20/06, *robert lazarski* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Are you using the war that comes with the .94 release? Or are you > trying to use your own war? Are the .mar files under > WEB-INF/modules really from the .94 version? > > One more thing: does http:/localhost:8080/axis2/listServices show > any faulty services ? > > > HTH, > Robert > http://www.braziloutsource.com/ > > On 3/19/06, * Yariel Ramos Moreno* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi Robert: > > I've done what you say: copy .axis directory and all it's > content to WEB-INF and still throwing the same exception. Is > there another solution??? > > Thanks very much... > > > On 3/19/06, *robert lazarski* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > The /home/myuser/.axis2 is relevant. AFAIK, only outside a > servlet container. So you still apparently, somehow, have > repository problems. Your WEB-INF/ showld match your > /home/myuser/.axis2 . > > See this article on the repository and other issues that > axis2 users sometimes have: > > http://www.developer.com/open/article.php/10930_3589126_1 > > HTH, > Robert > http://www.braziloutsource.com/ > > > On 3/19/06, *Yariel Ramos Moreno* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi: > > This is the second time I wrote about this problem, > but the situation is diferent now. > > I have an Axis2 (0.94 release) web service. It is > working fine. Also, I have a web application in wich > the service is invoked. When I do this, I get the > followin exception: > > Module validation failed module.xml not found for > the module : addressing; nested exception is: > org.apache.axis2.deployment.DeploymentException: > module.xml not found for the module : addressing > org.apache.axis2.deployment.DeploymentException : > module.xml not found for the module : addressing; > nested exception is: > org.apache.axis2.deployment.DeploymentException: > module.xml not found for the module : addressing; > nested exception is: > org.apache.axis2.deployment.DeploymentException : > module.xml not found for the module : addressing; > nested exception is: > org.apache.axis2.deployment.DeploymentException: > module.xml not found for the module : addressing > at > org.apache.axis2.deployment.DeploymentEngine.load > (DeploymentEngine.java:542) > at > > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:56) > at > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext > (ConfigurationContextFactory.java:39) > at > > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:53) > at org.apache.axis2.client.ServiceClient > .<init>(ServiceClient.java:86) > at > > org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:148) > at > > facade.struts.model.NewsServiceClient.invokeService(NewsServiceClient.java:23) > at > > facade.struts.model.NewsService.getNewsFrom(NewsService.java:93) > at > facade.struts.action.MenuAction.execute(MenuAction.java:68) > at > > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java > :484) > at > > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) > at > > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > at org.apache.struts.action.ActionServlet.doGet > (ActionServlet.java:507) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:252) > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java > :213) > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:105) > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:869) > at > > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) > at > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java > :527) > at > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run (Thread.java:595) > Caused by: > org.apache.axis2.deployment.DeploymentException: > module.xml not found for the module : addressing; > nested exception is: > org.apache.axis2.deployment.DeploymentException: > module.xml not found for the module : addressing > at > > org.apache.axis2.deployment.repository.util.ArchiveReader.creatModuleArchivefromResource(ArchiveReader.java:193) > at > > org.apache.axis2.engine.AxisConfiguration.loadModulefromResources > (AxisConfiguration.java:385) > at > > org.apache.axis2.engine.AxisConfiguration.engageModule(AxisConfiguration.java:328) > at > > org.apache.axis2.deployment.DeploymentEngine.engageModules(DeploymentEngine.java:502) > at > > org.apache.axis2.deployment.DeploymentEngine.load(DeploymentEngine.java:537) > ... 28 more > Caused by: > org.apache.axis2.deployment.DeploymentException: > module.xml not found for the module : addressing > at > > org.apache.axis2.deployment.repository.util.ArchiveReader.creatModuleArchivefromResource(ArchiveReader.java:158) > ... 32 more > > But when I use the same client code from the main > method of a simple class, outside the web application > and the tomcat server, it work fine. > > I have made everything conserning with the .axis2 > directory (it is created, with the respective modules > directory and address.mar file inside it). > > Any idea about this? Do anyone have a solution to this > problem? I need some help very quickly. > > Thanks and regards... > > > > > -- Thanks, Deepal ................................................................ ~Future is Open~
