Re: [Axis2] Dont get example POJOGUIDESPRING to run
robertlazarski <[email protected]> Fri, 6 Nov 2020 11:39:50 -1000
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBX0LLqCvu4+D7T5tDTBq33tkzQHHMEJjaYPeKgwsjWDYw@mail.gmail.com> |
You still have: Caused by: java.lang.ClassNotFoundException: sample.pojo.service.WeatherService What does this show? If that class is in the aar: jar xf WeatherService.aar Then: cd /var/lib/tomcat9/webapps/ find . -name WeatherService.class On Fri, Nov 6, 2020 at 11:35 AM Daniel Otto <[email protected]> wrote: > Here is the log file with two starts of the server. nothing comes > after that line... > > 2020-11-06 22:14:27,643 [main] INFO > org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled > 2020-11-06 22:14:27,815 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > soapmonitor-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar > 2020-11-06 22:14:27,828 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > mtompolicy-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar > 2020-11-06 22:14:27,842 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 > - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar > 2020-11-06 22:14:27,853 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > jaxws-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar > 2020-11-06 22:14:27,862 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > metadataExchange-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar > 2020-11-06 22:14:27,881 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > script-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar > 2020-11-06 22:14:27,915 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > addressing-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar > 2020-11-06 22:14:28,051 [main] ERROR > org.apache.axis2.deployment.ServiceDeployer - The WeatherSpringService.aar > service, which is not valid, caused The following error occurred during > schema generation: sample.pojo.service.WeatherService > org.apache.axis2.deployment.DeploymentException: The following error > occurred during schema generation: sample.pojo.service.WeatherService > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:289) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:622) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4871) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5180) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > at > java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) > at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773) > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) > at > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) > at > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) > at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > at > java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) > at > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at org.apache.catalina.startup.Catalina.start(Catalina.java:633) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) > Caused by: org.apache.axis2.deployment.DeploymentException: The following > error occurred during schema generation: sample.pojo.service.WeatherService > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:404) > ... 57 more > Caused by: org.apache.axis2.AxisFault: sample.pojo.service.WeatherService > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at org.apache.axis2.util.Utils.getServiceClass(Utils.java:780) > at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:412) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:396) > ... 57 more > Caused by: java.lang.ClassNotFoundException: > sample.pojo.service.WeatherService > at > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365) > at > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) > at java.base/java.lang.Class.forName0(Native Method) > at java.base/java.lang.Class.forName(Class.java:315) > at org.apache.axis2.util.Loader.loadClass(Loader.java:261) > at org.apache.axis2.util.Loader.loadClass(Loader.java:229) > at org.apache.axis2.util.Utils.getServiceClass(Utils.java:777) > ... 59 more > 2020-11-06 22:14:28,066 [main] INFO > org.apache.axis2.deployment.DeploymentEngine - > org.apache.axis2.deployment.DeploymentException: The following error > occurred during schema generation: sample.pojo.service.WeatherService > 2020-11-06 22:31:23,509 [main] INFO > org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled > 2020-11-06 22:31:24,137 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > soapmonitor-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar > 2020-11-06 22:31:24,207 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > mtompolicy-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar > 2020-11-06 22:31:24,454 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 > - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar > 2020-11-06 22:31:24,491 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > jaxws-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar > 2020-11-06 22:31:24,527 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > metadataExchange-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar > 2020-11-06 22:31:24,568 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > script-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar > 2020-11-06 22:31:24,699 [main] INFO > org.apache.axis2.deployment.ModuleDeployer - Deploying module: > addressing-1.7.9 - > file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar > 2020-11-06 22:31:25,356 [main] ERROR > org.apache.axis2.deployment.ServiceDeployer - The WeatherSpringService.aar > service, which is not valid, caused The following error occurred during > schema generation: sample.pojo.service.WeatherService > org.apache.axis2.deployment.DeploymentException: The following error > occurred during schema generation: sample.pojo.service.WeatherService > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:289) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:622) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4871) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5180) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978) > at > org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849) > at > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > at > java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) > at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773) > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) > at > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) > at > org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) > at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) > at > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > at > org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) > at > java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) > at > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) > at > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at org.apache.catalina.startup.Catalina.start(Catalina.java:633) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) > Caused by: org.apache.axis2.deployment.DeploymentException: The following > error occurred during schema generation: sample.pojo.service.WeatherService > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:404) > ... 57 more > Caused by: org.apache.axis2.AxisFault: sample.pojo.service.WeatherService > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) > at org.apache.axis2.util.Utils.getServiceClass(Utils.java:780) > at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:412) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:396) > ... 57 more > Caused by: java.lang.ClassNotFoundException: > sample.pojo.service.WeatherService > at > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365) > at > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) > at java.base/java.lang.Class.forName0(Native Method) > at java.base/java.lang.Class.forName(Class.java:315) > at org.apache.axis2.util.Loader.loadClass(Loader.java:261) > at org.apache.axis2.util.Loader.loadClass(Loader.java:229) > at org.apache.axis2.util.Utils.getServiceClass(Utils.java:777) > ... 59 more > 2020-11-06 22:31:25,425 [main] INFO > org.apache.axis2.deployment.DeploymentEngine - > org.apache.axis2.deployment.DeploymentException: The following error > occurred during schema generation: sample.pojo.service.WeatherService > > Am Fr., 6. Nov. 2020 um 22:29 Uhr schrieb robertlazarski < > [email protected]>: > >> Could you paste your log please in its entirety? Seems like it got >> clipped. I am expecting to see another error after this line: >> >> 2020-11-06 21:37:52,300 [main] INFO >> org.apache.axis2.deployment.DeploymentEngine - >> org.apache.axis2.deployment.DeploymentException: The following error >> occurred during schema generation: sample.pojo.service.WeatherService >> >> On Fri, Nov 6, 2020 at 11:20 AM Daniel Otto <[email protected]> >> wrote: >> >>> I have put the sample directory also in the /WEB-INF/classes folder. >>> Restarted the server and have the same problems as before. :/ >>> >>> Am Fr., 6. Nov. 2020 um 22:00 Uhr schrieb robertlazarski < >>> [email protected]>: >>> >>>> Try putting sample.pojo.service.WeatherService under WEB-INF/classes. >>>> >>>> On Fri, Nov 6, 2020 at 10:47 AM Daniel Otto <[email protected]> >>>> wrote: >>>> >>>>> After I used the new services.xml to built the service, the service >>>>> list shows this: >>>>> >>>>> [image: servicelist.png] >>>>> >>>>> The class sample.pojo.service.WeatherService is not in the aar because >>>>> I think it's from another example (pojoguide). So I put the samples >>>>> directory from the pojoguide example >>>>> AXIS2_HOME/samples/pojoguide/src/sample into the aar and deploy it again on >>>>> axis2. >>>>> Restart the server and nothing changed in the service list @ >>>>> http://localhost:8080/axis2/services/listServices >>>>> The log also looks the same for me: >>>>> >>>>> 2020-11-06 21:37:51,886 [main] INFO >>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>> 2020-11-06 21:37:52,040 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>> soapmonitor-1.7.9 - >>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>> 2020-11-06 21:37:52,059 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>> mtompolicy-1.7.9 - >>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>> 2020-11-06 21:37:52,084 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>> 2020-11-06 21:37:52,110 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>> jaxws-1.7.9 - >>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>> 2020-11-06 21:37:52,122 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>> metadataExchange-1.7.9 - >>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>> 2020-11-06 21:37:52,138 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>> script-1.7.9 - >>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>> 2020-11-06 21:37:52,163 [main] INFO >>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>> addressing-1.7.9 - >>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>> 2020-11-06 21:37:52,290 [main] ERROR >>>>> org.apache.axis2.deployment.ServiceDeployer - The WeatherSpringService.aar >>>>> service, which is not valid, caused The following error occurred during >>>>> schema generation: sample.pojo.service.WeatherService >>>>> org.apache.axis2.deployment.DeploymentException: The following error >>>>> occurred during schema generation: sample.pojo.service.WeatherService >>>>> at >>>>> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) >>>>> at >>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) >>>>> at >>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232) >>>>> at >>>>> org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154) >>>>> ... >>>>> 2020-11-06 21:37:52,300 [main] INFO >>>>> org.apache.axis2.deployment.DeploymentEngine - >>>>> org.apache.axis2.deployment.DeploymentException: The following error >>>>> occurred during schema generation: sample.pojo.service.WeatherService >>>>> >>>>> Am Fr., 6. Nov. 2020 um 20:40 Uhr schrieb robertlazarski < >>>>> [email protected]>: >>>>> >>>>>> Your applicationContext.xml and Spring seems to be fine now. >>>>>> >>>>>> This problem: >>>>>> >>>>>> Caused by: java.lang.ClassNotFoundException: >>>>>> sample.pojo.service.WeatherService >>>>>> >>>>>> Is because those classes are not under WEB-INF/classes ... the >>>>>> classes can be in the aar, but don't have to be. >>>>>> >>>>>> Does this link show the service as valid? >>>>>> >>>>>> http://localhost:8080/axis2/services/listServices >>>>>> >>>>>> I suppose this class sample.pojo.service.WeatherService is in the >>>>>> aar? >>>>>> >>>>>> The aar can be expanded, please paste what is in it. >>>>>> >>>>>> jar -xf WeatherSpringService.aar >>>>>> find . >>>>>> >>>>>> On Fri, Nov 6, 2020 at 8:16 AM Daniel Otto <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Another new 5 steps I have done. >>>>>>> >>>>>>> *1)* >>>>>>> When I start the server at my step 18) in the mail before, the log >>>>>>> looks good I think. Also here the service *isn't *showing as a >>>>>>> faulty service in the axis2 panel in my web browser. Like i mentioned it in >>>>>>> 16) the service is shown correctly after I load the >>>>>>> spring-expression-5.1.10.RELEASE.jar into >>>>>>> /tomcat9/webapps/axis2/WEB-INF/lib. >>>>>>> >>>>>>> 2020-11-06 18:09:41,006 [main] INFO >>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>> 2020-11-06 18:09:41,126 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> soapmonitor-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,136 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> mtompolicy-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,148 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,158 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> jaxws-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,166 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> metadataExchange-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,174 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> script-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,195 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> addressing-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>> 2020-11-06 18:09:41,425 [main] TRACE >>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>> Refreshing >>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext@5b265379, >>>>>>> started on Fri Nov 06 18:09:41 CET 2020 >>>>>>> 2020-11-06 18:09:41,476 [main] TRACE >>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>> XML bean definitions from class path resource [applicationContext.xml] >>>>>>> 2020-11-06 18:09:41,477 [main] TRACE >>>>>>> org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP >>>>>>> provider >>>>>>> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] >>>>>>> 2020-11-06 18:09:41,478 [main] TRACE >>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to resolve >>>>>>> XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [ >>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] >>>>>>> 2020-11-06 18:09:41,479 [main] TRACE >>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to locate >>>>>>> [spring-beans.dtd] in Spring jar on classpath >>>>>>> 2020-11-06 18:09:41,479 [main] TRACE >>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Found beans DTD [ >>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] in classpath: >>>>>>> spring-beans.dtd >>>>>>> 2020-11-06 18:09:41,503 [main] DEBUG >>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>> bean definitions from class path resource [applicationContext.xml] >>>>>>> 2020-11-06 18:09:41,503 [main] TRACE >>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>> bean definitions from location pattern [applicationContext.xml] >>>>>>> 2020-11-06 18:09:41,539 [main] TRACE >>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>> 'messageSource' bean, using [Empty MessageSource] >>>>>>> 2020-11-06 18:09:41,542 [main] TRACE >>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>> 'applicationEventMulticaster' bean, using >>>>>>> [SimpleApplicationEventMulticaster] >>>>>>> 2020-11-06 18:09:41,543 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Pre-instantiating singletons in >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory@1604ad0f: >>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>> of factory hierarchy >>>>>>> 2020-11-06 18:09:41,544 [main] DEBUG >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Creating shared instance of singleton bean 'applicationContext' >>>>>>> 2020-11-06 18:09:41,544 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Creating instance of bean 'applicationContext' >>>>>>> 2020-11-06 18:09:41,561 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Eagerly caching bean 'applicationContext' to allow for resolving potential >>>>>>> circular references >>>>>>> 2020-11-06 18:09:41,563 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Finished creating instance of bean 'applicationContext' >>>>>>> 2020-11-06 18:09:41,563 [main] DEBUG >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Creating shared instance of singleton bean 'weatherSpringService' >>>>>>> 2020-11-06 18:09:41,563 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Creating instance of bean 'weatherSpringService' >>>>>>> 2020-11-06 18:09:41,564 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Eagerly caching bean 'weatherSpringService' to allow for resolving >>>>>>> potential circular references >>>>>>> 2020-11-06 18:09:41,565 [main] DEBUG >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Creating shared instance of singleton bean 'weatherBean' >>>>>>> 2020-11-06 18:09:41,565 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Creating instance of bean 'weatherBean' >>>>>>> 2020-11-06 18:09:41,565 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Eagerly caching bean 'weatherBean' to allow for resolving potential >>>>>>> circular references >>>>>>> 2020-11-06 18:09:41,579 [main] TRACE >>>>>>> org.springframework.core.io.support.SpringFactoriesLoader - Loaded >>>>>>> [org.springframework.beans.BeanInfoFactory] names: >>>>>>> [org.springframework.beans.ExtendedBeanInfoFactory] >>>>>>> 2020-11-06 18:09:41,581 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>> for class [sample.spring.bean.Weather] >>>>>>> 2020-11-06 18:09:41,585 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>> PropertyDescriptors for class [sample.spring.bean.Weather] >>>>>>> 2020-11-06 18:09:41,585 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'class' of type [java.lang.Class] >>>>>>> 2020-11-06 18:09:41,593 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'forecast' of type [java.lang.String] >>>>>>> 2020-11-06 18:09:41,594 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'howMuchRain' of type [float] >>>>>>> 2020-11-06 18:09:41,594 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'rain' of type [boolean] >>>>>>> 2020-11-06 18:09:41,594 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'temperature' of type [float] >>>>>>> 2020-11-06 18:09:41,594 [main] DEBUG >>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>> caching class [sample.spring.bean.Weather] because it is not cache-safe >>>>>>> 2020-11-06 18:09:41,607 [main] TRACE >>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>> [float] using property editor >>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@414749f8 >>>>>>> ] >>>>>>> 2020-11-06 18:09:41,608 [main] TRACE >>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>> [boolean] using property editor >>>>>>> [org.springframework.beans.propertyeditors.CustomBooleanEditor@70d2a981 >>>>>>> ] >>>>>>> 2020-11-06 18:09:41,608 [main] TRACE >>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>> [float] using property editor >>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@414749f8 >>>>>>> ] >>>>>>> 2020-11-06 18:09:41,609 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Finished creating instance of bean 'weatherBean' >>>>>>> 2020-11-06 18:09:41,610 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>> for class [sample.spring.service.WeatherSpringService] >>>>>>> 2020-11-06 18:09:41,612 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>> PropertyDescriptors for class [sample.spring.service.WeatherSpringService] >>>>>>> 2020-11-06 18:09:41,612 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'class' of type [java.lang.Class] >>>>>>> 2020-11-06 18:09:41,612 [main] TRACE >>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>> 'weather' of type [sample.spring.bean.Weather] >>>>>>> 2020-11-06 18:09:41,612 [main] DEBUG >>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>> caching class [sample.spring.service.WeatherSpringService] because it is >>>>>>> not cache-safe >>>>>>> 2020-11-06 18:09:41,613 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Finished creating instance of bean 'weatherSpringService' >>>>>>> 2020-11-06 18:09:41,613 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Returning cached instance of singleton bean 'weatherBean' >>>>>>> 2020-11-06 18:09:41,615 [main] TRACE >>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>> 'lifecycleProcessor' bean, using [DefaultLifecycleProcessor] >>>>>>> 2020-11-06 18:09:41,615 [main] TRACE >>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>> Returning cached instance of singleton bean 'lifecycleProcessor' >>>>>>> 2020-11-06 18:09:41,618 [main] TRACE >>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>> 'systemProperties' >>>>>>> 2020-11-06 18:09:41,618 [main] TRACE >>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>> 'systemEnvironment' >>>>>>> 2020-11-06 18:09:41,618 [main] TRACE >>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Could not >>>>>>> find key 'spring.liveBeansView.mbeanDomain' in any property source >>>>>>> 2020-11-06 18:09:41,635 [main] INFO >>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>> WeatherSpringService.aar - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpringService.aar >>>>>>> >>>>>>> *2)* >>>>>>> After my step 18) I try to run the RPC client in >>>>>>> AXIS2_HOME/samples/pojoguidespring/ with the command "ant rpc.client" and >>>>>>> the following error log appear after the log which I have shown above: >>>>>>> >>>>>>> 020-11-06 18:10:11,075 [http-nio-8080-exec-6] ERROR >>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred >>>>>>> while trying to invoke service method null >>>>>>> org.apache.axis2.AxisFault: Spring context file cannot be located >>>>>>> for AxisService >>>>>>> at >>>>>>> org.apache.axis2.extensions.spring.util.ApplicationContextUtil.getSpringApplicationContext(ApplicationContextUtil.java:120) >>>>>>> at >>>>>>> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier.getServiceObject(SpringAppContextAwareObjectSupplier.java:47) >>>>>>> at org.apache.axis2.util.Utils.createServiceObject(Utils.java:702) >>>>>>> at >>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:173) >>>>>>> at >>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:210) >>>>>>> at >>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:79) >>>>>>> at >>>>>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) >>>>>>> at >>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:106) >>>>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:169) >>>>>>> at >>>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178) >>>>>>> at >>>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:164) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>> at >>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) >>>>>>> at >>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) >>>>>>> at >>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) >>>>>>> at >>>>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) >>>>>>> at >>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) >>>>>>> at >>>>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) >>>>>>> at >>>>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) >>>>>>> at >>>>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>>>>> at >>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) >>>>>>> at >>>>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>>>>> at >>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >>>>>>> at >>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >>>>>>> at >>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>> at java.base/java.lang.Thread.run(Thread.java:834) >>>>>>> >>>>>>> *3)* >>>>>>> I have no applicationContext in my axis2.war. In my >>>>>>> WeatherSpringService.aar there is one. I think this is the reason why I >>>>>>> don't need to load the applicationContext.xml by myself into the axis2 >>>>>>> directory? >>>>>>> Sry, I overlooked the invitation to post the file listing, here it >>>>>>> is from /tomcat9/webapps/axis2 >>>>>>> >>>>>>> . >>>>>>> ./axis2-web >>>>>>> ./axis2-web/Error >>>>>>> ./axis2-web/Error/error500.jsp >>>>>>> ./axis2-web/Error/AuthError.html >>>>>>> ./axis2-web/Error/error404.jsp >>>>>>> ./axis2-web/Error/GenError.html >>>>>>> ./axis2-web/images >>>>>>> ./axis2-web/images/axis.gif >>>>>>> ./axis2-web/images/asf-logo.gif >>>>>>> ./axis2-web/images/axis.jpg >>>>>>> ./axis2-web/images/axis_l.jpg >>>>>>> ./axis2-web/HappyAxis.jsp >>>>>>> ./axis2-web/index.jsp >>>>>>> ./axis2-web/MainFrame.jsp >>>>>>> ./axis2-web/error.jsp >>>>>>> ./axis2-web/css >>>>>>> ./axis2-web/css/axis-style.css >>>>>>> ./WEB-INF >>>>>>> ./WEB-INF/services >>>>>>> ./WEB-INF/services/WeatherSpringService.aar >>>>>>> ./WEB-INF/services/services.list >>>>>>> ./WEB-INF/tags >>>>>>> ./WEB-INF/tags/status.tag >>>>>>> ./WEB-INF/modules >>>>>>> ./WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>> ./WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>> ./WEB-INF/modules/ping-1.7.9.mar >>>>>>> ./WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>> ./WEB-INF/modules/mex-1.7.9.mar >>>>>>> ./WEB-INF/modules/scripting-1.7.9.mar >>>>>>> ./WEB-INF/modules/modules.list >>>>>>> ./WEB-INF/modules/addressing-1.7.9.mar >>>>>>> ./WEB-INF/lib >>>>>>> ./WEB-INF/lib/spring-core-5.1.10.RELEASE.jar >>>>>>> ./WEB-INF/lib/apache-mime4j-core-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-saaj-1.7.9.jar >>>>>>> ./WEB-INF/lib/axis2-jibx-1.7.9.jar >>>>>>> ./WEB-INF/lib/commons-fileupload-1.3.3.jar >>>>>>> ./WEB-INF/lib/axis2-adb-1.7.9.jar >>>>>>> ./WEB-INF/lib/woden-core-1.0M10.jar >>>>>>> ./WEB-INF/lib/jaxb-api-2.2.6.jar >>>>>>> ./WEB-INF/lib/axis2-fastinfoset-1.7.9.jar >>>>>>> ./WEB-INF/lib/geronimo-jta_1.1_spec-1.1.jar >>>>>>> ./WEB-INF/lib/geronimo-jaxws_2.2_spec-1.0.jar >>>>>>> ./WEB-INF/lib/geronimo-jta-LICENSE.txt >>>>>>> ./WEB-INF/lib/tribes-LICENSE.txt >>>>>>> ./WEB-INF/lib/jibx-bind-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-transport-udp-1.7.9.jar >>>>>>> ./WEB-INF/lib/axis2-transport-http-1.7.9.jar >>>>>>> ./WEB-INF/lib/axis2-metadata-1.7.9.jar >>>>>>> ./WEB-INF/lib/gson-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-transport-mail-1.7.9.jar >>>>>>> ./WEB-INF/lib/bcel-LICENSE.txt >>>>>>> ./WEB-INF/lib/httpcore-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-transport-xmpp-1.7.9.jar >>>>>>> ./WEB-INF/lib/axiom-jaxb-1.2.21.jar >>>>>>> ./WEB-INF/lib/jaxws-tools-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-kernel-1.7.9.jar >>>>>>> ./WEB-INF/lib/commons-httpclient-3.1.jar >>>>>>> ./WEB-INF/lib/axis2-transport-jms-1.7.9.jar >>>>>>> ./WEB-INF/lib/wsdl4j-LICENSE.txt >>>>>>> ./WEB-INF/lib/jsr311-api-LICENSE.txt >>>>>>> ./WEB-INF/lib/taglibs-standard-impl-1.2.5.jar >>>>>>> ./WEB-INF/lib/axiom-impl-1.2.21.jar >>>>>>> ./WEB-INF/lib/xalan-2.7.0.jar >>>>>>> ./WEB-INF/lib/jsr311-api-1.1.1.jar >>>>>>> ./WEB-INF/lib/stax2-api-3.1.1.jar >>>>>>> ./WEB-INF/lib/juli-LICENSE.txt >>>>>>> ./WEB-INF/lib/axiom-LICENSE.txt >>>>>>> ./WEB-INF/lib/mex-1.7.9-impl.jar >>>>>>> ./WEB-INF/lib/axis2-corba-1.7.9.jar >>>>>>> ./WEB-INF/lib/axiom-api-1.2.21.jar >>>>>>> ./WEB-INF/lib/geronimo-annotation-LICENSE.txt >>>>>>> ./WEB-INF/lib/geronimo-ws-metadata-LICENSE.txt >>>>>>> ./WEB-INF/lib/jaxb-impl-2.2.6.jar >>>>>>> ./WEB-INF/lib/axis2-soapmonitor-servlet-1.7.9.jar >>>>>>> ./WEB-INF/lib/httpclient-LICENSE.txt >>>>>>> ./WEB-INF/lib/jettison-LICENSE.txt >>>>>>> ./WEB-INF/lib/jaxen-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-json-1.7.9.jar >>>>>>> ./WEB-INF/lib/commons-io-2.1.jar >>>>>>> ./WEB-INF/lib/jaxws-tools-2.2.6.jar >>>>>>> ./WEB-INF/lib/geronimo-annotation_1.0_spec-1.1.jar >>>>>>> ./WEB-INF/lib/woodstox-core-asl-LICENSE.txt >>>>>>> ./WEB-INF/lib/xml-resolver-LICENSE.txt >>>>>>> ./WEB-INF/lib/commons-fileupload-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-jaxws-1.7.9.jar >>>>>>> ./WEB-INF/lib/spring-expression-5.1.10.RELEASE.jar >>>>>>> ./WEB-INF/lib/xml-resolver-1.2.jar >>>>>>> ./WEB-INF/lib/mail-LICENSE.txt >>>>>>> ./WEB-INF/lib/geronimo-jaxws-LICENSE.txt >>>>>>> ./WEB-INF/lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar >>>>>>> ./WEB-INF/lib/geronimo-saaj-LICENSE.txt >>>>>>> ./WEB-INF/lib/httpclient-4.5.3.jar >>>>>>> ./WEB-INF/lib/xmlbeans-2.6.0.jar >>>>>>> ./WEB-INF/lib/jalopy-LICENSE.txt >>>>>>> ./WEB-INF/lib/xalan-LICENSE.txt >>>>>>> ./WEB-INF/lib/commons-httpclient-LICENSE.txt >>>>>>> ./WEB-INF/lib/apache-mime4j-core-0.7.2.jar >>>>>>> ./WEB-INF/lib/wsdl4j-1.6.2.jar >>>>>>> ./WEB-INF/lib/axis2-clustering-1.7.9.jar >>>>>>> ./WEB-INF/lib/jettison-1.3.8.jar >>>>>>> ./WEB-INF/lib/commons-logging-1.1.1.jar >>>>>>> ./WEB-INF/lib/antlr-2.7.7.jar >>>>>>> ./WEB-INF/lib/axis2-transport-local-1.7.9.jar >>>>>>> ./WEB-INF/lib/commons-cli-LICENSE.txt >>>>>>> ./WEB-INF/lib/gson-2.1.jar >>>>>>> ./WEB-INF/lib/neethi-LICENSE.txt >>>>>>> ./WEB-INF/lib/commons-logging-LICENSE.txt >>>>>>> ./WEB-INF/lib/jaxb-xjc-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-mtompolicy-1.7.9.jar >>>>>>> ./WEB-INF/lib/mail-1.4.jar >>>>>>> ./WEB-INF/lib/axis2-xmlbeans-1.7.9.jar >>>>>>> ./WEB-INF/lib/commons-io-LICENSE.txt >>>>>>> ./WEB-INF/lib/commons-codec-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-codegen-1.7.9.jar >>>>>>> ./WEB-INF/lib/woodstox-core-asl-4.2.0.jar >>>>>>> ./WEB-INF/lib/commons-codec-1.2.jar >>>>>>> ./WEB-INF/lib/juli-6.0.53.jar >>>>>>> ./WEB-INF/lib/xmlschema-core-LICENSE.txt >>>>>>> ./WEB-INF/lib/spring-context-5.1.10.RELEASE.jar >>>>>>> ./WEB-INF/lib/axis2-transport-base-1.7.9.jar >>>>>>> ./WEB-INF/lib/jaxb-xjc-2.2.6.jar >>>>>>> ./WEB-INF/lib/activation-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-transport-tcp-1.7.9.jar >>>>>>> ./WEB-INF/lib/woden-core-LICENSE.txt >>>>>>> ./WEB-INF/lib/antlr-2-LICENSE.txt >>>>>>> ./WEB-INF/lib/geronimo-saaj_1.3_spec-1.0.1.jar >>>>>>> ./WEB-INF/lib/stax2-api.LICENSE.txt >>>>>>> ./WEB-INF/lib/jibx-run-1.2.jar >>>>>>> ./WEB-INF/lib/jaxb-impl-LICENSE.txt >>>>>>> ./WEB-INF/lib/jaxb-api-LICENSE.txt >>>>>>> ./WEB-INF/lib/axiom-dom-1.2.21.jar >>>>>>> ./WEB-INF/lib/log4j-1.2.15.jar >>>>>>> ./WEB-INF/lib/neethi-3.0.3.jar >>>>>>> ./WEB-INF/lib/taglibs-standard-spec-1.2.5.jar >>>>>>> ./WEB-INF/lib/jibx-run-LICENSE.txt >>>>>>> ./WEB-INF/lib/log4j-LICENSE.txt >>>>>>> ./WEB-INF/lib/xmlbeans-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-jaxbri-1.7.9.jar >>>>>>> ./WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar >>>>>>> ./WEB-INF/lib/geronimo-stax-api-LICENSE.txt >>>>>>> ./WEB-INF/lib/axis2-spring-1.7.9.jar >>>>>>> ./WEB-INF/lib/spring-beans-5.1.10.RELEASE.jar >>>>>>> ./WEB-INF/lib/tribes-6.0.53.jar >>>>>>> ./WEB-INF/lib/httpcore-4.4.6.jar >>>>>>> ./WEB-INF/lib/axis2-LICENSE.txt >>>>>>> ./WEB-INF/lib/jaxen-1.1.6.jar >>>>>>> ./WEB-INF/lib/activation-1.1.jar >>>>>>> ./WEB-INF/lib/xmlschema-core-2.2.1.jar >>>>>>> ./WEB-INF/conf >>>>>>> ./WEB-INF/conf/axis2.xml >>>>>>> ./WEB-INF/include >>>>>>> ./WEB-INF/include/adminfooter.jsp >>>>>>> ./WEB-INF/include/header.inc >>>>>>> ./WEB-INF/include/link-footer.inc >>>>>>> ./WEB-INF/include/adminheader.jsp >>>>>>> ./WEB-INF/include/footer.inc >>>>>>> ./WEB-INF/include/LeftFrame.jsp >>>>>>> ./WEB-INF/include/link-footer.jsp >>>>>>> ./WEB-INF/include/adminfooter.inc >>>>>>> ./WEB-INF/include/httpbase.jsp >>>>>>> ./WEB-INF/classes >>>>>>> ./WEB-INF/classes/log4j.properties >>>>>>> ./WEB-INF/classes/commons-logging.properties >>>>>>> ./WEB-INF/classes/org >>>>>>> ./WEB-INF/classes/org/apache >>>>>>> ./WEB-INF/classes/org/apache/axis2 >>>>>>> ./WEB-INF/classes/org/apache/axis2/transport >>>>>>> ./WEB-INF/classes/org/apache/axis2/transport/http >>>>>>> >>>>>>> ./WEB-INF/classes/org/apache/axis2/transport/http/AxisAdminServlet.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/CSRFTokenCache.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/ActionResult.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/ActionHandler.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/StatusCache$1.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/StatusCache.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/AxisAdminServlet.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/Status.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/Action.class >>>>>>> >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/CSRFPreventionResponseWrapper.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/Redirect.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/View.class >>>>>>> ./WEB-INF/classes/org/apache/axis2/webapp/AdminActions.class >>>>>>> ./WEB-INF/classes/META-INF >>>>>>> ./WEB-INF/classes/META-INF/NOTICE >>>>>>> ./WEB-INF/classes/META-INF/DEPENDENCIES >>>>>>> ./WEB-INF/classes/META-INF/LICENSE >>>>>>> ./WEB-INF/views >>>>>>> ./WEB-INF/views/admin >>>>>>> ./WEB-INF/views/admin/SelectService.jsp >>>>>>> ./WEB-INF/views/admin/listModules.jsp >>>>>>> ./WEB-INF/views/admin/listSingleService.jsp >>>>>>> ./WEB-INF/views/admin/engageToServiceGroup.jsp >>>>>>> ./WEB-INF/views/admin/engageToOperation.jsp >>>>>>> ./WEB-INF/views/admin/listServiceGroups.jsp >>>>>>> ./WEB-INF/views/admin/admin.jsp >>>>>>> ./WEB-INF/views/admin/viewContexts.jsp >>>>>>> ./WEB-INF/views/admin/engageGlobally.jsp >>>>>>> ./WEB-INF/views/admin/activateService.jsp >>>>>>> ./WEB-INF/views/admin/engageToService.jsp >>>>>>> ./WEB-INF/views/admin/upload.jsp >>>>>>> ./WEB-INF/views/admin/Login.jsp >>>>>>> ./WEB-INF/views/admin/viewOperationSpecificChains.jsp >>>>>>> ./WEB-INF/views/admin/globalModules.jsp >>>>>>> ./WEB-INF/views/admin/viewphases.jsp >>>>>>> ./WEB-INF/views/admin/viewServiceContext.jsp >>>>>>> ./WEB-INF/views/admin/errorModule.jsp >>>>>>> ./WEB-INF/views/admin/viewGlobalChains.jsp >>>>>>> ./WEB-INF/views/admin/deactivateService.jsp >>>>>>> ./WEB-INF/views/admin/editServiceParameters.jsp >>>>>>> ./WEB-INF/views/admin/viewServiceGroupContext.jsp >>>>>>> ./WEB-INF/views/admin/listServices.jsp >>>>>>> ./WEB-INF/views/listFaultyService.jsp >>>>>>> ./WEB-INF/views/listServices.jsp >>>>>>> ./WEB-INF/web.xml >>>>>>> ./org >>>>>>> ./org/apache >>>>>>> ./org/apache/axis2 >>>>>>> ./org/apache/axis2/soapmonitor >>>>>>> ./org/apache/axis2/soapmonitor/applet >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet.class >>>>>>> >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$ServiceFilterPanel.class >>>>>>> >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTableModel.class >>>>>>> >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorTextArea.class >>>>>>> >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorPage.class >>>>>>> >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorFilter.class >>>>>>> >>>>>>> ./org/apache/axis2/soapmonitor/applet/SOAPMonitorApplet$SOAPMonitorData.class >>>>>>> ./META-INF >>>>>>> ./META-INF/war-tracker >>>>>>> ./META-INF/MANIFEST.MF >>>>>>> >>>>>>> *4)* >>>>>>> When I change the contents of my >>>>>>> AXIS2_HOME/samples/pojoguidespring/src/META-INF/services.xml to your latest >>>>>>> posted one and I built the aar file with ant and deploy it on axis2, the >>>>>>> following error log is shown up: >>>>>>> >>>>>>> 2020-11-06 18:53:12,766 [main] INFO >>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>> 2020-11-06 18:53:12,895 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> soapmonitor-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>> 2020-11-06 18:53:12,904 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> mtompolicy-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>> 2020-11-06 18:53:12,914 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>> 2020-11-06 18:53:12,921 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> jaxws-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>> 2020-11-06 18:53:12,927 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> metadataExchange-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>> 2020-11-06 18:53:12,930 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> script-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>> 2020-11-06 18:53:12,949 [main] INFO >>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>> addressing-1.7.9 - >>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>> 2020-11-06 18:53:13,052 [main] ERROR >>>>>>> org.apache.axis2.deployment.ServiceDeployer - The WeatherSpringService.aar >>>>>>> service, which is not valid, caused The following error occurred during >>>>>>> schema generation: sample.pojo.service.WeatherService >>>>>>> org.apache.axis2.deployment.DeploymentException: The following error >>>>>>> occurred during schema generation: sample.pojo.service.WeatherService >>>>>>> at >>>>>>> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:441) >>>>>>> at >>>>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) >>>>>>> at >>>>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232) >>>>>>> at >>>>>>> org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154) >>>>>>> at >>>>>>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149) >>>>>>> at >>>>>>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585) >>>>>>> at >>>>>>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164) >>>>>>> at >>>>>>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) >>>>>>> at >>>>>>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >>>>>>> at >>>>>>> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136) >>>>>>> at >>>>>>> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:289) >>>>>>> at >>>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) >>>>>>> at >>>>>>> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:622) >>>>>>> at >>>>>>> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4871) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5180) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) >>>>>>> at >>>>>>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978) >>>>>>> at >>>>>>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849) >>>>>>> at >>>>>>> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) >>>>>>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) >>>>>>> at >>>>>>> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) >>>>>>> at >>>>>>> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) >>>>>>> at >>>>>>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773) >>>>>>> at >>>>>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) >>>>>>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) >>>>>>> at >>>>>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) >>>>>>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) >>>>>>> at >>>>>>> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) >>>>>>> at >>>>>>> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) >>>>>>> at >>>>>>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>> at >>>>>>> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) >>>>>>> at >>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>> at org.apache.catalina.startup.Catalina.start(Catalina.java:633) >>>>>>> at >>>>>>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native >>>>>>> Method) >>>>>>> at >>>>>>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>>>>>> at >>>>>>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> at java.base/java.lang.reflect.Method.invoke(Method.java:566) >>>>>>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) >>>>>>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) >>>>>>> Caused by: org.apache.axis2.deployment.DeploymentException: The >>>>>>> following error occurred during schema generation: >>>>>>> sample.pojo.service.WeatherService >>>>>>> at >>>>>>> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:404) >>>>>>> ... 57 more >>>>>>> Caused by: org.apache.axis2.AxisFault: >>>>>>> sample.pojo.service.WeatherService >>>>>>> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) >>>>>>> at org.apache.axis2.util.Utils.getServiceClass(Utils.java:780) >>>>>>> at >>>>>>> org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:412) >>>>>>> at >>>>>>> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:396) >>>>>>> ... 57 more >>>>>>> Caused by: java.lang.ClassNotFoundException: >>>>>>> sample.pojo.service.WeatherService >>>>>>> at >>>>>>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365) >>>>>>> at >>>>>>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) >>>>>>> at java.base/java.lang.Class.forName0(Native Method) >>>>>>> at java.base/java.lang.Class.forName(Class.java:315) >>>>>>> at org.apache.axis2.util.Loader.loadClass(Loader.java:261) >>>>>>> at org.apache.axis2.util.Loader.loadClass(Loader.java:229) >>>>>>> at org.apache.axis2.util.Utils.getServiceClass(Utils.java:777) >>>>>>> ... 59 more >>>>>>> 2020-11-06 18:53:13,060 [main] INFO >>>>>>> org.apache.axis2.deployment.DeploymentEngine - >>>>>>> org.apache.axis2.deployment.DeploymentException: The following error >>>>>>> occurred during schema generation: sample.pojo.service.WeatherService >>>>>>> >>>>>>> *5)* >>>>>>> When I should add the following content >>>>>>> >>>>>>> <listener> >>>>>>> >>>>>>> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> >>>>>>> </listener> >>>>>>> <context-param> >>>>>>> <param-name>contextConfigLocation</param-name> >>>>>>> <param-value>/WEB-INF/applicationContext.xml</param-value> >>>>>>> </context-param> >>>>>>> >>>>>>> in my /tomcat9/webapps/axis2/web.xml I have no directory for my >>>>>>> applicationContext.xml because it is in the >>>>>>> /tomcat9/webapps/axis2/services/WeatherSpringService.aar archive. >>>>>>> >>>>>>> >>>>>>> Am Fr., 6. Nov. 2020 um 16:02 Uhr schrieb robertlazarski < >>>>>>> [email protected]>: >>>>>>> >>>>>>>> As mentioned, you may have already had a working config after step >>>>>>>> 18. >>>>>>>> >>>>>>>> If you are still stuck, along with the latest services.xml I >>>>>>>> pasted, try adding this to your web.xml - use >>>>>>>> /WEB-INF/classes/applicationContext.xml for your correct path or whatever >>>>>>>> it is. >>>>>>>> >>>>>>>> <listener> >>>>>>>> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> >>>>>>>> </listener> >>>>>>>> <context-param> >>>>>>>> <param-name>contextConfigLocation</param-name> >>>>>>>> <param-value>/WEB-INF/applicationContext.xml</param-value> >>>>>>>> </context-param> >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Nov 6, 2020 at 4:53 AM robertlazarski < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Your logs from step 18 shows the applicationContext.xml loaded >>>>>>>>> with no errors. You may have had a working config somehow at that point. >>>>>>>>> >>>>>>>>> Did you try to invoke your web service after step 18? >>>>>>>>> >>>>>>>>> I asked for a file listing since you seemed to have more than one >>>>>>>>> applicationContext.xml file in your war. Maybe not, but you should confirm >>>>>>>>> that. >>>>>>>>> >>>>>>>>> After step 18 ... >>>>>>>>> >>>>>>>>> If the aar is invalid, the logs you pasted don't show why. Is that >>>>>>>>> the entire log output? >>>>>>>>> >>>>>>>>> There is more than one way to configure axis2 for Spring. If you >>>>>>>>> already are loading the applicationContext.xml as shown in your step 18, >>>>>>>>> you don't want to do a SpringInit class invocation. >>>>>>>>> >>>>>>>>> If you are still stuck after step 18, try this services.xml that >>>>>>>>> assumes Spring is already loaded. >>>>>>>>> >>>>>>>>> <service name="WeatherService" scope="application"> >>>>>>>>> <description> >>>>>>>>> Weather POJO Service >>>>>>>>> </description> >>>>>>>>> <parameter >>>>>>>>> name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter> >>>>>>>>> <parameter >>>>>>>>> name="SpringBeanName">weatherSpringService</parameter> >>>>>>>>> <messageReceivers> >>>>>>>>> <messageReceiver >>>>>>>>> mep="http://www.w3.org/ns/wsdl/in-only" >>>>>>>>> >>>>>>>>> class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/> >>>>>>>>> <messageReceiver >>>>>>>>> mep="http://www.w3.org/ns/wsdl/in-out" >>>>>>>>> class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> >>>>>>>>> </messageReceivers> >>>>>>>>> <parameter name="ServiceClass"> >>>>>>>>> sample.pojo.service.WeatherService >>>>>>>>> </parameter> >>>>>>>>> </service> >>>>>>>>> >>>>>>>>> On Fri, Nov 6, 2020 at 2:21 AM Daniel Otto < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> The contents of the axis2.war in cd /var/lib/tomcat9/webapps/ are >>>>>>>>>> the same as in the WAR distribution which I downloaded from >>>>>>>>>> the download-site of axis2, nothing changed so far. >>>>>>>>>> >>>>>>>>>> So I should use the services.xml from another example? I have >>>>>>>>>> done this, built with ant again, deployed the new .aar file and the service >>>>>>>>>> is shown up again as faulty service in the servicelist in the axis2 panel >>>>>>>>>> on the web browser. >>>>>>>>>> I will write down all 26 steps I have done so far, possibly here >>>>>>>>>> you can see something obviously incorrect in the way I think the example >>>>>>>>>> pojoguidespring should run... >>>>>>>>>> >>>>>>>>>> 1) download and extract the WAR and the binary distribution of >>>>>>>>>> axis2 >>>>>>>>>> 2) install tomcat9 with APT >>>>>>>>>> 3) cp the axis2.war to /var/lib/tomcat9/webapps/ >>>>>>>>>> 4) cd AXIS2_HOME/samples/pojoguidespring/ >>>>>>>>>> 5) nano build.xml and change the source url from the three jar >>>>>>>>>> files to urls from maven which are functional and use a never version >>>>>>>>>> spring-core-5.1.10.RELEASE.jar for example >>>>>>>>>> 6) ant >>>>>>>>>> 7) cp >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/target/WeatherSpringService.aar /var/lib/tomcat9/webapps/axis2/WEB-INF/services/ >>>>>>>>>> 8) copy the loaded *.jars from >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/lib to >>>>>>>>>> /var/Lib/tomcat9/webapps/axis2/WEB-INF/lib >>>>>>>>>> 9) service is still faulty at this point >>>>>>>>>> 10) add these lines in the log4j.properties in >>>>>>>>>> /var/lib/tomcat9/webapps/axis2/WEB-INF/classes for better error log >>>>>>>>>> log4j.rootCategory=INFO, CONSOLE, LOGFILE >>>>>>>>>> log4j.appender.LOGFILE.File=/var/lib/tomcat9/logs/axis2.log >>>>>>>>>> 11) stop and start tomcat again >>>>>>>>>> 12) found the error >>>>>>>>>> 2020-11-06 12:37:43,367 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ServiceDeployer - The >>>>>>>>>> WeatherSpringService.aar service, which is not valid, caused >>>>>>>>>> java.lang.NoClassDefFoundError: >>>>>>>>>> org/springframework/expression/PropertyAccessor >>>>>>>>>> 13) watch at findjars.com for >>>>>>>>>> org/springframework/expression/PropertyAccessor >>>>>>>>>> 14) download spring-expression-5.1.10.RELEASE.jar and mv to >>>>>>>>>> /var/lib/tomcat9/webapps/axis2/WEB-INF/lib/ >>>>>>>>>> 15) restart tomcat9 >>>>>>>>>> 16) service now is deployed correctly. It is shown in the service >>>>>>>>>> list at the axis2 panel in a browser and the logfile has no errors shown up. >>>>>>>>>> 17) add the following line in >>>>>>>>>> /var/lib/tomcat9/webapps/axis2/WEB-INF/classes /log4j.properties >>>>>>>>>> log4j.logger.org.springframework=TRACE >>>>>>>>>> 18) restarted the server and got this log. (Btw no >>>>>>>>>> applicationContext.xml is copied by me right now) >>>>>>>>>> >>>>>>>>>> 2020-11-06 12:47:51,018 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>> 2020-11-06 12:47:51,184 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,200 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,219 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,227 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,235 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,242 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> script-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,270 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> addressing-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>> 2020-11-06 12:47:51,561 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>> Refreshing >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext@6d4f29a4, >>>>>>>>>> started on Fri Nov 06 12:47:51 CET 2020 >>>>>>>>>> 2020-11-06 12:47:51,680 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>> XML bean definitions from class path resource [applicationContext.xml] >>>>>>>>>> 2020-11-06 12:47:51,682 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP >>>>>>>>>> provider >>>>>>>>>> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] >>>>>>>>>> 2020-11-06 12:47:51,685 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to resolve >>>>>>>>>> XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [ >>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] >>>>>>>>>> 2020-11-06 12:47:51,685 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to locate >>>>>>>>>> [spring-beans.dtd] in Spring jar on classpath >>>>>>>>>> 2020-11-06 12:47:51,686 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Found beans DTD [ >>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] in >>>>>>>>>> classpath: spring-beans.dtd >>>>>>>>>> 2020-11-06 12:47:51,741 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>>>>> bean definitions from class path resource [applicationContext.xml] >>>>>>>>>> 2020-11-06 12:47:51,742 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>>>>> bean definitions from location pattern [applicationContext.xml] >>>>>>>>>> 2020-11-06 12:47:51,788 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>> 'messageSource' bean, using [Empty MessageSource] >>>>>>>>>> 2020-11-06 12:47:51,792 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>> 'applicationEventMulticaster' bean, using >>>>>>>>>> [SimpleApplicationEventMulticaster] >>>>>>>>>> 2020-11-06 12:47:51,794 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Pre-instantiating singletons in >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory@13acb4: >>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>> of factory hierarchy >>>>>>>>>> 2020-11-06 12:47:51,795 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating shared instance of singleton bean 'applicationContext' >>>>>>>>>> 2020-11-06 12:47:51,796 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating instance of bean 'applicationContext' >>>>>>>>>> 2020-11-06 12:47:51,830 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Eagerly caching bean 'applicationContext' to allow for resolving potential >>>>>>>>>> circular references >>>>>>>>>> 2020-11-06 12:47:51,834 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Finished creating instance of bean 'applicationContext' >>>>>>>>>> 2020-11-06 12:47:51,834 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating shared instance of singleton bean 'weatherSpringService' >>>>>>>>>> 2020-11-06 12:47:51,834 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating instance of bean 'weatherSpringService' >>>>>>>>>> 2020-11-06 12:47:51,834 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Eagerly caching bean 'weatherSpringService' to allow for resolving >>>>>>>>>> potential circular references >>>>>>>>>> 2020-11-06 12:47:51,840 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating shared instance of singleton bean 'weatherBean' >>>>>>>>>> 2020-11-06 12:47:51,840 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating instance of bean 'weatherBean' >>>>>>>>>> 2020-11-06 12:47:51,841 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Eagerly caching bean 'weatherBean' to allow for resolving potential >>>>>>>>>> circular references >>>>>>>>>> 2020-11-06 12:47:51,861 [main] TRACE >>>>>>>>>> org.springframework.core.io.support.SpringFactoriesLoader - Loaded >>>>>>>>>> [org.springframework.beans.BeanInfoFactory] names: >>>>>>>>>> [org.springframework.beans.ExtendedBeanInfoFactory] >>>>>>>>>> 2020-11-06 12:47:51,863 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>>>>> for class [sample.spring.bean.Weather] >>>>>>>>>> 2020-11-06 12:47:51,879 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>>>>> PropertyDescriptors for class [sample.spring.bean.Weather] >>>>>>>>>> 2020-11-06 12:47:51,880 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'class' of type [java.lang.Class] >>>>>>>>>> 2020-11-06 12:47:51,902 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'forecast' of type [java.lang.String] >>>>>>>>>> 2020-11-06 12:47:51,903 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'howMuchRain' of type [float] >>>>>>>>>> 2020-11-06 12:47:51,903 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'rain' of type [boolean] >>>>>>>>>> 2020-11-06 12:47:51,904 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'temperature' of type [float] >>>>>>>>>> 2020-11-06 12:47:51,909 [main] DEBUG >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>>>>> caching class [sample.spring.bean.Weather] because it is not cache-safe >>>>>>>>>> 2020-11-06 12:47:51,936 [main] TRACE >>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>> [float] using property editor >>>>>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@15f12e7b >>>>>>>>>> ] >>>>>>>>>> 2020-11-06 12:47:51,941 [main] TRACE >>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>> [boolean] using property editor >>>>>>>>>> [org.springframework.beans.propertyeditors.CustomBooleanEditor@f0ead61 >>>>>>>>>> ] >>>>>>>>>> 2020-11-06 12:47:51,942 [main] TRACE >>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>> [float] using property editor >>>>>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@15f12e7b >>>>>>>>>> ] >>>>>>>>>> 2020-11-06 12:47:51,943 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Finished creating instance of bean 'weatherBean' >>>>>>>>>> 2020-11-06 12:47:51,945 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>>>>> for class [sample.spring.service.WeatherSpringService] >>>>>>>>>> 2020-11-06 12:47:51,951 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>>>>> PropertyDescriptors for class [sample.spring.service.WeatherSpringService] >>>>>>>>>> 2020-11-06 12:47:51,952 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'class' of type [java.lang.Class] >>>>>>>>>> 2020-11-06 12:47:51,953 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'weather' of type [sample.spring.bean.Weather] >>>>>>>>>> 2020-11-06 12:47:51,953 [main] DEBUG >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>>>>> caching class [sample.spring.service.WeatherSpringService] because it is >>>>>>>>>> not cache-safe >>>>>>>>>> 2020-11-06 12:47:51,954 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Finished creating instance of bean 'weatherSpringService' >>>>>>>>>> 2020-11-06 12:47:51,954 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Returning cached instance of singleton bean 'weatherBean' >>>>>>>>>> 2020-11-06 12:47:51,958 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>> 'lifecycleProcessor' bean, using [DefaultLifecycleProcessor] >>>>>>>>>> 2020-11-06 12:47:51,958 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Returning cached instance of singleton bean 'lifecycleProcessor' >>>>>>>>>> 2020-11-06 12:47:51,962 [main] TRACE >>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>>>>> 'systemProperties' >>>>>>>>>> 2020-11-06 12:47:51,962 [main] TRACE >>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>>>>> 'systemEnvironment' >>>>>>>>>> 2020-11-06 12:47:51,962 [main] TRACE >>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Could not >>>>>>>>>> find key 'spring.liveBeansView.mbeanDomain' in any property source >>>>>>>>>> 2020-11-06 12:47:52,005 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>> WeatherSpringService.aar - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpringService.aar >>>>>>>>>> 2020-11-06 12:47:52,024 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>> version-1.7.9.aar - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/version-1.7.9.aar >>>>>>>>>> >>>>>>>>>> 19) cp >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/target/classes/applicationContext.xml >>>>>>>>>> /var/lib/tomcat9/target/classes >>>>>>>>>> 20) restarted the server, nothing changed in the log >>>>>>>>>> 21) add "classpath*:" in >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/src/sample/spring/service/Springinit.java >>>>>>>>>> 22) ant in /AXIS2_HOME/samples/pojoguidespring/ again and cp >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/target/WeatherSpringService.aar /var/lib/tomcat9/webapps/axis2/WEB-INF/services/ >>>>>>>>>> >>>>>>>>>> 23) restarted the server and got this log >>>>>>>>>> >>>>>>>>>> 2020-11-06 13:08:27,031 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>> 2020-11-06 13:08:27,129 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,136 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,150 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,170 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,182 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,194 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> script-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,220 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>> addressing-1.7.9 - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>> 2020-11-06 13:08:27,419 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>> Refreshing >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext@278e721e, >>>>>>>>>> started on Fri Nov 06 13:08:27 CET 2020 >>>>>>>>>> 2020-11-06 13:08:27,523 [main] TRACE >>>>>>>>>> org.springframework.core.io.support.PathMatchingResourcePatternResolver - >>>>>>>>>> Resolved classpath location [applicationContext.xml] to resources [URL >>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml], >>>>>>>>>> URL >>>>>>>>>> [jar:file:/tmp/axis2-tmp-10320043896353072767.tmp/axis216220064735562797682WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>> 2020-11-06 13:08:27,528 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>> XML bean definitions from URL >>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml] >>>>>>>>>> 2020-11-06 13:08:27,539 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP >>>>>>>>>> provider >>>>>>>>>> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] >>>>>>>>>> 2020-11-06 13:08:27,545 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to resolve >>>>>>>>>> XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [ >>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] >>>>>>>>>> 2020-11-06 13:08:27,546 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to locate >>>>>>>>>> [spring-beans.dtd] in Spring jar on classpath >>>>>>>>>> 2020-11-06 13:08:27,548 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Found beans DTD [ >>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] in >>>>>>>>>> classpath: spring-beans.dtd >>>>>>>>>> 2020-11-06 13:08:27,588 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>>>>> bean definitions from URL >>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml] >>>>>>>>>> 2020-11-06 13:08:27,589 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>> XML bean definitions from URL >>>>>>>>>> [jar:file:/tmp/axis2-tmp-10320043896353072767.tmp/axis216220064735562797682WeatherSpringService.aar!/applicationContext.xml] >>>>>>>>>> 2020-11-06 13:08:27,591 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP >>>>>>>>>> provider >>>>>>>>>> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] >>>>>>>>>> 2020-11-06 13:08:27,595 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to resolve >>>>>>>>>> XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [ >>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] >>>>>>>>>> 2020-11-06 13:08:27,595 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to locate >>>>>>>>>> [spring-beans.dtd] in Spring jar on classpath >>>>>>>>>> 2020-11-06 13:08:27,596 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Found beans DTD [ >>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] in >>>>>>>>>> classpath: spring-beans.dtd >>>>>>>>>> 2020-11-06 13:08:27,605 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Overriding bean definition for bean 'applicationContext' with a different >>>>>>>>>> definition: replacing [Generic bean: class >>>>>>>>>> [org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder]; >>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>> defined in URL >>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml]] >>>>>>>>>> with [Generic bean: class >>>>>>>>>> [org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder]; >>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>> defined in URL >>>>>>>>>> [jar:file:/tmp/axis2-tmp-10320043896353072767.tmp/axis216220064735562797682WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>> 2020-11-06 13:08:27,607 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Overriding bean definition for bean 'weatherSpringService' with an >>>>>>>>>> equivalent definition: replacing [Generic bean: class >>>>>>>>>> [sample.spring.service.WeatherSpringService]; scope=; abstract=false; >>>>>>>>>> lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; >>>>>>>>>> primary=false; factoryBeanName=null; factoryMethodName=null; >>>>>>>>>> initMethodName=null; destroyMethodName=null; defined in URL >>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml]] >>>>>>>>>> with [Generic bean: class [sample.spring.service.WeatherSpringService]; >>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>> defined in URL >>>>>>>>>> [jar:file:/tmp/axis2-tmp-10320043896353072767.tmp/axis216220064735562797682WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>> 2020-11-06 13:08:27,610 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Overriding bean definition for bean 'weatherBean' with an equivalent >>>>>>>>>> definition: replacing [Generic bean: class [sample.spring.bean.Weather]; >>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>> defined in URL >>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml]] >>>>>>>>>> with [Generic bean: class [sample.spring.bean.Weather]; scope=; >>>>>>>>>> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>> defined in URL >>>>>>>>>> [jar:file:/tmp/axis2-tmp-10320043896353072767.tmp/axis216220064735562797682WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>> 2020-11-06 13:08:27,611 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 0 >>>>>>>>>> bean definitions from URL >>>>>>>>>> [jar:file:/tmp/axis2-tmp-10320043896353072767.tmp/axis216220064735562797682WeatherSpringService.aar!/applicationContext.xml] >>>>>>>>>> 2020-11-06 13:08:27,611 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>>>>> bean definitions from location pattern [classpath*:applicationContext.xml] >>>>>>>>>> 2020-11-06 13:08:27,674 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>> 'messageSource' bean, using [Empty MessageSource] >>>>>>>>>> 2020-11-06 13:08:27,677 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>> 'applicationEventMulticaster' bean, using >>>>>>>>>> [SimpleApplicationEventMulticaster] >>>>>>>>>> 2020-11-06 13:08:27,679 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Pre-instantiating singletons in >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory@38138629: >>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>> of factory hierarchy >>>>>>>>>> 2020-11-06 13:08:27,680 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating shared instance of singleton bean 'applicationContext' >>>>>>>>>> 2020-11-06 13:08:27,681 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating instance of bean 'applicationContext' >>>>>>>>>> 2020-11-06 13:08:27,700 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Eagerly caching bean 'applicationContext' to allow for resolving potential >>>>>>>>>> circular references >>>>>>>>>> 2020-11-06 13:08:27,705 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Finished creating instance of bean 'applicationContext' >>>>>>>>>> 2020-11-06 13:08:27,706 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating shared instance of singleton bean 'weatherSpringService' >>>>>>>>>> 2020-11-06 13:08:27,706 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating instance of bean 'weatherSpringService' >>>>>>>>>> 2020-11-06 13:08:27,707 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Eagerly caching bean 'weatherSpringService' to allow for resolving >>>>>>>>>> potential circular references >>>>>>>>>> 2020-11-06 13:08:27,709 [main] DEBUG >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating shared instance of singleton bean 'weatherBean' >>>>>>>>>> 2020-11-06 13:08:27,709 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Creating instance of bean 'weatherBean' >>>>>>>>>> 2020-11-06 13:08:27,710 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Eagerly caching bean 'weatherBean' to allow for resolving potential >>>>>>>>>> circular references >>>>>>>>>> 2020-11-06 13:08:27,720 [main] TRACE >>>>>>>>>> org.springframework.core.io.support.SpringFactoriesLoader - Loaded >>>>>>>>>> [org.springframework.beans.BeanInfoFactory] names: >>>>>>>>>> [org.springframework.beans.ExtendedBeanInfoFactory] >>>>>>>>>> 2020-11-06 13:08:27,722 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>>>>> for class [sample.spring.bean.Weather] >>>>>>>>>> 2020-11-06 13:08:27,727 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>>>>> PropertyDescriptors for class [sample.spring.bean.Weather] >>>>>>>>>> 2020-11-06 13:08:27,728 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'class' of type [java.lang.Class] >>>>>>>>>> 2020-11-06 13:08:27,734 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'forecast' of type [java.lang.String] >>>>>>>>>> 2020-11-06 13:08:27,734 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'howMuchRain' of type [float] >>>>>>>>>> 2020-11-06 13:08:27,734 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'rain' of type [boolean] >>>>>>>>>> 2020-11-06 13:08:27,734 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'temperature' of type [float] >>>>>>>>>> 2020-11-06 13:08:27,734 [main] DEBUG >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>>>>> caching class [sample.spring.bean.Weather] because it is not cache-safe >>>>>>>>>> 2020-11-06 13:08:27,751 [main] TRACE >>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>> [float] using property editor >>>>>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@3a19b933 >>>>>>>>>> ] >>>>>>>>>> 2020-11-06 13:08:27,760 [main] TRACE >>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>> [boolean] using property editor >>>>>>>>>> [org.springframework.beans.propertyeditors.CustomBooleanEditor@c0ef9a8 >>>>>>>>>> ] >>>>>>>>>> 2020-11-06 13:08:27,760 [main] TRACE >>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>> [float] using property editor >>>>>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@3a19b933 >>>>>>>>>> ] >>>>>>>>>> 2020-11-06 13:08:27,761 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Finished creating instance of bean 'weatherBean' >>>>>>>>>> 2020-11-06 13:08:27,762 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>>>>> for class [sample.spring.service.WeatherSpringService] >>>>>>>>>> 2020-11-06 13:08:27,765 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>>>>> PropertyDescriptors for class [sample.spring.service.WeatherSpringService] >>>>>>>>>> 2020-11-06 13:08:27,766 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'class' of type [java.lang.Class] >>>>>>>>>> 2020-11-06 13:08:27,766 [main] TRACE >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>> 'weather' of type [sample.spring.bean.Weather] >>>>>>>>>> 2020-11-06 13:08:27,766 [main] DEBUG >>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>>>>> caching class [sample.spring.service.WeatherSpringService] because it is >>>>>>>>>> not cache-safe >>>>>>>>>> 2020-11-06 13:08:27,767 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Finished creating instance of bean 'weatherSpringService' >>>>>>>>>> 2020-11-06 13:08:27,767 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Returning cached instance of singleton bean 'weatherBean' >>>>>>>>>> 2020-11-06 13:08:27,769 [main] TRACE >>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>> 'lifecycleProcessor' bean, using [DefaultLifecycleProcessor] >>>>>>>>>> 2020-11-06 13:08:27,769 [main] TRACE >>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>> Returning cached instance of singleton bean 'lifecycleProcessor' >>>>>>>>>> 2020-11-06 13:08:27,772 [main] TRACE >>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>>>>> 'systemProperties' >>>>>>>>>> 2020-11-06 13:08:27,773 [main] TRACE >>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>>>>> 'systemEnvironment' >>>>>>>>>> 2020-11-06 13:08:27,774 [main] TRACE >>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Could not >>>>>>>>>> find key 'spring.liveBeansView.mbeanDomain' in any property source >>>>>>>>>> 2020-11-06 13:08:27,793 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>> WeatherSpringService.aar - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpringService.aar >>>>>>>>>> 2020-11-06 13:08:27,800 [main] INFO >>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>> version-1.7.9.aar - >>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/version-1.7.9.aar >>>>>>>>>> >>>>>>>>>> 24) changing the contents of services.xml in >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/src/META-INF to the contents of the >>>>>>>>>> services.xml file in AXIS2_HOME/samples/pojoguide/src/META-INF >>>>>>>>>> 25) ant in /AXIS2_HOME/samples/pojoguidespring/ again and cp >>>>>>>>>> AXIS2_HOME/samples/pojoguidespring/target/WeatherSpringService.aar /var/lib/tomcat9/webapps/axis2/WEB-INF/services/ >>>>>>>>>> 26) restarted the server and the service is shown up as faulty >>>>>>>>>> service in the axis2 panel on a web browser >>>>>>>>>> >>>>>>>>>> Am Fr., 6. Nov. 2020 um 01:46 Uhr schrieb robertlazarski < >>>>>>>>>> [email protected]>: >>>>>>>>>> >>>>>>>>>>> Looks like you are loading the applicationContext.xml file, then >>>>>>>>>>> unheedingly loading it again in a SpringInit class. >>>>>>>>>>> >>>>>>>>>>> I am guessing that since there are two service.xml files in the >>>>>>>>>>> POJO tutorial for two separate ways to load Srping, this other one better >>>>>>>>>>> matches your config. >>>>>>>>>>> >>>>>>>>>>> <service name="WeatherService" scope="application"> >>>>>>>>>>> <description> >>>>>>>>>>> Weather POJO Service >>>>>>>>>>> </description> >>>>>>>>>>> <messageReceivers> >>>>>>>>>>> <messageReceiver >>>>>>>>>>> mep="http://www.w3.org/ns/wsdl/in-only" >>>>>>>>>>> class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/> >>>>>>>>>>> <messageReceiver >>>>>>>>>>> mep="http://www.w3.org/ns/wsdl/in-out" >>>>>>>>>>> class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> >>>>>>>>>>> </messageReceivers> >>>>>>>>>>> <parameter name="ServiceClass"> >>>>>>>>>>> sample.pojo.service.WeatherService >>>>>>>>>>> </parameter> >>>>>>>>>>> </service> >>>>>>>>>>> >>>>>>>>>>> What are the contents of the war file? >>>>>>>>>>> >>>>>>>>>>> cd /var/lib/tomcat9/webapps/axis2 >>>>>>>>>>> find . >>>>>>>>>>> >>>>>>>>>>> On Thu, Nov 5, 2020 at 11:23 AM Daniel Otto < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> You mean I should add the wildcard: >>>>>>>>>>>> >>>>>>>>>>>> *ClassPathXmlApplicationContext appCtx = new >>>>>>>>>>>> ClassPathXmlApplicationContext*(new String[] >>>>>>>>>>>> {"*classpath*:applicationContext.xml*"}, >>>>>>>>>>>> false); >>>>>>>>>>>> >>>>>>>>>>>> in the source file SpringInit.java, run ant again and deploy >>>>>>>>>>>> the new WeatherSpringService.aar on axis2? So I have done that. I also have >>>>>>>>>>>> add the line >>>>>>>>>>>> log4j.logger.org.springframework=TRACE >>>>>>>>>>>> in the WEB-INF/classes/log4j.properties file. The error now >>>>>>>>>>>> seems to be the same to me, and I think the applicationContext.xml would be >>>>>>>>>>>> found and loaded, like it is shown in the logfile: >>>>>>>>>>>> >>>>>>>>>>>> 2020-11-05 22:15:47,138 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>>>> 2020-11-05 22:15:47,312 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,329 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,342 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,350 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,356 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,361 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>> script-1.7.9 - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,394 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>> addressing-1.7.9 - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>>>> 2020-11-05 22:15:47,686 [main] TRACE >>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>> Refreshing >>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext@1c645e05, >>>>>>>>>>>> started on Thu Nov 05 22:15:47 CET 2020 >>>>>>>>>>>> 2020-11-05 22:15:47,767 [main] TRACE >>>>>>>>>>>> org.springframework.core.io.support.PathMatchingResourcePatternResolver - >>>>>>>>>>>> Resolved classpath location [applicationContext.xml] to resources [URL >>>>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml], >>>>>>>>>>>> URL >>>>>>>>>>>> [jar:file:/tmp/axis2-tmp-1700414997883174032.tmp/axis29848126902597901752WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>>>> 2020-11-05 22:15:47,767 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>>>> XML bean definitions from URL >>>>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml] >>>>>>>>>>>> 2020-11-05 22:15:47,769 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP >>>>>>>>>>>> provider >>>>>>>>>>>> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] >>>>>>>>>>>> 2020-11-05 22:15:47,771 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to resolve >>>>>>>>>>>> XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [ >>>>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] >>>>>>>>>>>> 2020-11-05 22:15:47,771 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to locate >>>>>>>>>>>> [spring-beans.dtd] in Spring jar on classpath >>>>>>>>>>>> 2020-11-05 22:15:47,773 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Found beans DTD [ >>>>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] in >>>>>>>>>>>> classpath: spring-beans.dtd >>>>>>>>>>>> 2020-11-05 22:15:47,806 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>>>>>>> bean definitions from URL >>>>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml] >>>>>>>>>>>> 2020-11-05 22:15:47,807 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>>>> XML bean definitions from URL >>>>>>>>>>>> [jar:file:/tmp/axis2-tmp-1700414997883174032.tmp/axis29848126902597901752WeatherSpringService.aar!/applicationContext.xml] >>>>>>>>>>>> 2020-11-05 22:15:47,808 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP >>>>>>>>>>>> provider >>>>>>>>>>>> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] >>>>>>>>>>>> 2020-11-05 22:15:47,814 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to resolve >>>>>>>>>>>> XML entity with public ID [-//SPRING//DTD BEAN//EN] and system ID [ >>>>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] >>>>>>>>>>>> 2020-11-05 22:15:47,815 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Trying to locate >>>>>>>>>>>> [spring-beans.dtd] in Spring jar on classpath >>>>>>>>>>>> 2020-11-05 22:15:47,815 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.BeansDtdResolver - Found beans DTD [ >>>>>>>>>>>> http://www.springframework.org/dtd/spring-beans.dtd] in >>>>>>>>>>>> classpath: spring-beans.dtd >>>>>>>>>>>> 2020-11-05 22:15:47,819 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Overriding bean definition for bean 'applicationContext' with a different >>>>>>>>>>>> definition: replacing [Generic bean: class >>>>>>>>>>>> [org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder]; >>>>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>>>> defined in URL >>>>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml]] >>>>>>>>>>>> with [Generic bean: class >>>>>>>>>>>> [org.apache.axis2.extensions.spring.receivers.ApplicationContextHolder]; >>>>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>>>> defined in URL >>>>>>>>>>>> [jar:file:/tmp/axis2-tmp-1700414997883174032.tmp/axis29848126902597901752WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>>>> 2020-11-05 22:15:47,820 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Overriding bean definition for bean 'weatherSpringService' with an >>>>>>>>>>>> equivalent definition: replacing [Generic bean: class >>>>>>>>>>>> [sample.spring.service.WeatherSpringService]; scope=; abstract=false; >>>>>>>>>>>> lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; >>>>>>>>>>>> primary=false; factoryBeanName=null; factoryMethodName=null; >>>>>>>>>>>> initMethodName=null; destroyMethodName=null; defined in URL >>>>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml]] >>>>>>>>>>>> with [Generic bean: class [sample.spring.service.WeatherSpringService]; >>>>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>>>> defined in URL >>>>>>>>>>>> [jar:file:/tmp/axis2-tmp-1700414997883174032.tmp/axis29848126902597901752WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>>>> 2020-11-05 22:15:47,821 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Overriding bean definition for bean 'weatherBean' with an equivalent >>>>>>>>>>>> definition: replacing [Generic bean: class [sample.spring.bean.Weather]; >>>>>>>>>>>> scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>>>> defined in URL >>>>>>>>>>>> [file:/var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml]] >>>>>>>>>>>> with [Generic bean: class [sample.spring.bean.Weather]; scope=; >>>>>>>>>>>> abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; >>>>>>>>>>>> autowireCandidate=true; primary=false; factoryBeanName=null; >>>>>>>>>>>> factoryMethodName=null; initMethodName=null; destroyMethodName=null; >>>>>>>>>>>> defined in URL >>>>>>>>>>>> [jar:file:/tmp/axis2-tmp-1700414997883174032.tmp/axis29848126902597901752WeatherSpringService.aar!/applicationContext.xml]] >>>>>>>>>>>> 2020-11-05 22:15:47,821 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 0 >>>>>>>>>>>> bean definitions from URL >>>>>>>>>>>> [jar:file:/tmp/axis2-tmp-1700414997883174032.tmp/axis29848126902597901752WeatherSpringService.aar!/applicationContext.xml] >>>>>>>>>>>> 2020-11-05 22:15:47,821 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 3 >>>>>>>>>>>> bean definitions from location pattern [classpath*:applicationContext.xml] >>>>>>>>>>>> 2020-11-05 22:15:47,883 [main] TRACE >>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>>>> 'messageSource' bean, using [Empty MessageSource] >>>>>>>>>>>> 2020-11-05 22:15:47,889 [main] TRACE >>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>>>> 'applicationEventMulticaster' bean, using >>>>>>>>>>>> [SimpleApplicationEventMulticaster] >>>>>>>>>>>> 2020-11-05 22:15:47,901 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Pre-instantiating singletons in >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory@752eeec: >>>>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>>>> of factory hierarchy >>>>>>>>>>>> 2020-11-05 22:15:47,905 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Creating shared instance of singleton bean 'applicationContext' >>>>>>>>>>>> 2020-11-05 22:15:47,905 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Creating instance of bean 'applicationContext' >>>>>>>>>>>> 2020-11-05 22:15:47,934 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Eagerly caching bean 'applicationContext' to allow for resolving potential >>>>>>>>>>>> circular references >>>>>>>>>>>> 2020-11-05 22:15:47,946 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Finished creating instance of bean 'applicationContext' >>>>>>>>>>>> 2020-11-05 22:15:47,946 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Creating shared instance of singleton bean 'weatherSpringService' >>>>>>>>>>>> 2020-11-05 22:15:47,946 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Creating instance of bean 'weatherSpringService' >>>>>>>>>>>> 2020-11-05 22:15:47,957 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Eagerly caching bean 'weatherSpringService' to allow for resolving >>>>>>>>>>>> potential circular references >>>>>>>>>>>> 2020-11-05 22:15:47,960 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Creating shared instance of singleton bean 'weatherBean' >>>>>>>>>>>> 2020-11-05 22:15:47,961 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Creating instance of bean 'weatherBean' >>>>>>>>>>>> 2020-11-05 22:15:47,962 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Eagerly caching bean 'weatherBean' to allow for resolving potential >>>>>>>>>>>> circular references >>>>>>>>>>>> 2020-11-05 22:15:47,974 [main] TRACE >>>>>>>>>>>> org.springframework.core.io.support.SpringFactoriesLoader - Loaded >>>>>>>>>>>> [org.springframework.beans.BeanInfoFactory] names: >>>>>>>>>>>> [org.springframework.beans.ExtendedBeanInfoFactory] >>>>>>>>>>>> 2020-11-05 22:15:47,975 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>>>>>>> for class [sample.spring.bean.Weather] >>>>>>>>>>>> 2020-11-05 22:15:47,983 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>>>>>>> PropertyDescriptors for class [sample.spring.bean.Weather] >>>>>>>>>>>> 2020-11-05 22:15:47,983 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'class' of type [java.lang.Class] >>>>>>>>>>>> 2020-11-05 22:15:47,997 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'forecast' of type [java.lang.String] >>>>>>>>>>>> 2020-11-05 22:15:47,997 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'howMuchRain' of type [float] >>>>>>>>>>>> 2020-11-05 22:15:47,998 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'rain' of type [boolean] >>>>>>>>>>>> 2020-11-05 22:15:47,998 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'temperature' of type [float] >>>>>>>>>>>> 2020-11-05 22:15:47,999 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>>>>>>> caching class [sample.spring.bean.Weather] because it is not cache-safe >>>>>>>>>>>> 2020-11-05 22:15:48,011 [main] TRACE >>>>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>>>> [float] using property editor >>>>>>>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@5f971e3d >>>>>>>>>>>> ] >>>>>>>>>>>> 2020-11-05 22:15:48,013 [main] TRACE >>>>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>>>> [boolean] using property editor >>>>>>>>>>>> [org.springframework.beans.propertyeditors.CustomBooleanEditor@79cb6e98 >>>>>>>>>>>> ] >>>>>>>>>>>> 2020-11-05 22:15:48,014 [main] TRACE >>>>>>>>>>>> org.springframework.beans.TypeConverterDelegate - Converting String to >>>>>>>>>>>> [float] using property editor >>>>>>>>>>>> [org.springframework.beans.propertyeditors.CustomNumberEditor@5f971e3d >>>>>>>>>>>> ] >>>>>>>>>>>> 2020-11-05 22:15:48,015 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Finished creating instance of bean 'weatherBean' >>>>>>>>>>>> 2020-11-05 22:15:48,017 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo >>>>>>>>>>>> for class [sample.spring.service.WeatherSpringService] >>>>>>>>>>>> 2020-11-05 22:15:48,020 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Caching >>>>>>>>>>>> PropertyDescriptors for class [sample.spring.service.WeatherSpringService] >>>>>>>>>>>> 2020-11-05 22:15:48,020 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'class' of type [java.lang.Class] >>>>>>>>>>>> 2020-11-05 22:15:48,021 [main] TRACE >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Found bean property >>>>>>>>>>>> 'weather' of type [sample.spring.bean.Weather] >>>>>>>>>>>> 2020-11-05 22:15:48,021 [main] DEBUG >>>>>>>>>>>> org.springframework.beans.CachedIntrospectionResults - Not strongly >>>>>>>>>>>> caching class [sample.spring.service.WeatherSpringService] because it is >>>>>>>>>>>> not cache-safe >>>>>>>>>>>> 2020-11-05 22:15:48,021 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Finished creating instance of bean 'weatherSpringService' >>>>>>>>>>>> 2020-11-05 22:15:48,022 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Returning cached instance of singleton bean 'weatherBean' >>>>>>>>>>>> 2020-11-05 22:15:48,023 [main] TRACE >>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - No >>>>>>>>>>>> 'lifecycleProcessor' bean, using [DefaultLifecycleProcessor] >>>>>>>>>>>> 2020-11-05 22:15:48,024 [main] TRACE >>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>> Returning cached instance of singleton bean 'lifecycleProcessor' >>>>>>>>>>>> 2020-11-05 22:15:48,027 [main] TRACE >>>>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>>>>>>> 'systemProperties' >>>>>>>>>>>> 2020-11-05 22:15:48,028 [main] TRACE >>>>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Searching >>>>>>>>>>>> for key 'spring.liveBeansView.mbeanDomain' in PropertySource >>>>>>>>>>>> 'systemEnvironment' >>>>>>>>>>>> 2020-11-05 22:15:48,028 [main] TRACE >>>>>>>>>>>> org.springframework.core.env.PropertySourcesPropertyResolver - Could not >>>>>>>>>>>> find key 'spring.liveBeansView.mbeanDomain' in any property source >>>>>>>>>>>> 2020-11-05 22:15:48,043 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>>>> WeatherSpringService.aar - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpringService.aar >>>>>>>>>>>> 2020-11-05 22:15:48,050 [main] INFO >>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>>>> version-1.7.9.aar - >>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/version-1.7.9.aar >>>>>>>>>>>> 2020-11-05 22:16:21,547 [http-nio-8080-exec-1] ERROR >>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred >>>>>>>>>>>> while trying to invoke service method null >>>>>>>>>>>> org.apache.axis2.AxisFault: Spring context file cannot be >>>>>>>>>>>> located for AxisService >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.extensions.spring.util.ApplicationContextUtil.getSpringApplicationContext(ApplicationContextUtil.java:120) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier.getServiceObject(SpringAppContextAwareObjectSupplier.java:47) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.util.Utils.createServiceObject(Utils.java:702) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:173) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:210) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:79) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:106) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:169) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:164) >>>>>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) >>>>>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>>>>>>>>>> at >>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >>>>>>>>>>>> at >>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >>>>>>>>>>>> at >>>>>>>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>>>>>>> at java.base/java.lang.Thread.run(Thread.java:834) >>>>>>>>>>>> >>>>>>>>>>>> Am Do., 5. Nov. 2020 um 16:43 Uhr schrieb robertlazarski < >>>>>>>>>>>> [email protected]>: >>>>>>>>>>>> >>>>>>>>>>>>> Also, put spring in trace mode in your >>>>>>>>>>>>> WEB-INF/classes/log4j.properties >>>>>>>>>>>>> >>>>>>>>>>>>> log4j.logger.org.springframework=TRACE >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, Nov 5, 2020 at 5:33 AM robertlazarski < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Sorry I was seeing a previous error. >>>>>>>>>>>>>> >>>>>>>>>>>>>> You are still getting: >>>>>>>>>>>>>> >>>>>>>>>>>>>> occurred while trying to invoke service method null >>>>>>>>>>>>>> org.apache.axis2.AxisFault: Spring context file cannot be >>>>>>>>>>>>>> located for AxisService >>>>>>>>>>>>>> >>>>>>>>>>>>>> Try expanding your classpath in your startUp method by using >>>>>>>>>>>>>> a wildcard, * . >>>>>>>>>>>>>> >>>>>>>>>>>>>> *ClassPathXmlApplicationContext appCtx = new >>>>>>>>>>>>>> ClassPathXmlApplicationContext*(new String[] >>>>>>>>>>>>>> {"*classpath*:applicationContext.xml*"}, >>>>>>>>>>>>>> false); >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, Nov 5, 2020 at 5:24 AM robertlazarski < >>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> This is the current error: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> WeatherSpringService.aar service, which is not valid, caused >>>>>>>>>>>>>>> java.lang.NoClassDefFoundError: >>>>>>>>>>>>>>> org/springframework/context/support/ClassPathXmlApplicationContext >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Try placing spring-context-5.1.10.RELEASE.jar in you >>>>>>>>>>>>>>> WEB-INF/lib dir. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Wed, Nov 4, 2020 at 9:52 PM Daniel Otto < >>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I moved the applicationContext.xml from WEB-INF directory >>>>>>>>>>>>>>>> into WEB-INF/classes/, but nothing changed in the error log. :/ Is there >>>>>>>>>>>>>>>> something else I could have missed? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 2020-11-05 08:25:34,979 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,058 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,063 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,086 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,094 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,101 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,109 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>> script-1.7.9 - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,121 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>> addressing-1.7.9 - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,397 [main] INFO >>>>>>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>>>>>>>> XML bean definitions from class path resource [applicationContext.xml] >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,435 [main] INFO >>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - Bean >>>>>>>>>>>>>>>> factory for application context >>>>>>>>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1269777529]: >>>>>>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory >>>>>>>>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>>>>>>>> of BeanFactory hierarchy >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,446 [main] INFO >>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - 3 >>>>>>>>>>>>>>>> beans defined in application context >>>>>>>>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1269777529] >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,452 [main] INFO >>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>>>>>> Unable to locate MessageSource with name 'messageSource': using default >>>>>>>>>>>>>>>> [org.springframework.context.support.DelegatingMessageSource@78f7f351 >>>>>>>>>>>>>>>> ] >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,454 [main] INFO >>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>>>>>> Unable to locate ApplicationEventMulticaster with name >>>>>>>>>>>>>>>> 'applicationEventMulticaster': using default >>>>>>>>>>>>>>>> [org.springframework.context.event.SimpleApplicationEventMulticaster@4942cabd >>>>>>>>>>>>>>>> ] >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,455 [main] INFO >>>>>>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>>>>>> Pre-instantiating singletons in factory >>>>>>>>>>>>>>>> [org.springframework.beans.factory.support.DefaultListableBeanFactory >>>>>>>>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>>>>>>>> of BeanFactory hierarchy] >>>>>>>>>>>>>>>> 2020-11-05 08:25:35,531 [main] INFO >>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>>>>>>>> WeatherSpringService.aar - >>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpringService.aar >>>>>>>>>>>>>>>> 2020-11-05 08:25:49,091 [http-nio-8080-exec-7] ERROR >>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred >>>>>>>>>>>>>>>> while trying to invoke service method null >>>>>>>>>>>>>>>> org.apache.axis2.AxisFault: Spring context file cannot be >>>>>>>>>>>>>>>> located for AxisService >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.extensions.spring.util.ApplicationContextUtil.getSpringApplicationContext(ApplicationContextUtil.java:120) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier.getServiceObject(SpringAppContextAwareObjectSupplier.java:47) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.util.Utils.createServiceObject(Utils.java:702) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:173) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:210) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:79) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:106) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:169) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:164) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:660) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:741) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>>>>>>>>>>> at java.base/java.lang.Thread.run(Thread.java:834) >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Am Do., 5. Nov. 2020 um 00:15 Uhr schrieb robertlazarski < >>>>>>>>>>>>>>>> [email protected]>: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Looking more at your error, you are trying to load spring >>>>>>>>>>>>>>>>> via a SpringInit class, which loads the file from the classloader instead >>>>>>>>>>>>>>>>> of, alternatively, via web.xml. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Try: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> /var/lib/tomcat9/webapps/axis2/WEB-INF/classes/applicationContext.xml >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Wed, Nov 4, 2020, 12:06 Daniel Otto < >>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> You are right. I have missed the applicationContext.xml >>>>>>>>>>>>>>>>>> file. Now I have created the file in the directory >>>>>>>>>>>>>>>>>> /var/lib/tomcat9/webapps/axis2/WEB-INF/ with the content from >>>>>>>>>>>>>>>>>> https://axis.apache.org/axis2/java/core/docs/pojoguide.html >>>>>>>>>>>>>>>>>> The axis2 log now looks like this: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:06,878 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:06,978 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:06,985 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:06,997 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,005 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,012 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,017 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>> script-1.7.9 - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,031 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>> addressing-1.7.9 - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,236 [main] INFO >>>>>>>>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>>>>>>>>>> XML bean definitions from class path resource [applicationContext.xml] >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,272 [main] INFO >>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - Bean >>>>>>>>>>>>>>>>>> factory for application context >>>>>>>>>>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1548692313]: >>>>>>>>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory >>>>>>>>>>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>>>>>>>>>> of BeanFactory hierarchy >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,276 [main] INFO >>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - 3 >>>>>>>>>>>>>>>>>> beans defined in application context >>>>>>>>>>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1548692313] >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,278 [main] INFO >>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>>>>>>>> Unable to locate MessageSource with name 'messageSource': using default >>>>>>>>>>>>>>>>>> [org.springframework.context.support.DelegatingMessageSource@2e221340 >>>>>>>>>>>>>>>>>> ] >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,279 [main] INFO >>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>>>>>>>> Unable to locate ApplicationEventMulticaster with name >>>>>>>>>>>>>>>>>> 'applicationEventMulticaster': using default >>>>>>>>>>>>>>>>>> [org.springframework.context.event.SimpleApplicationEventMulticaster@6f3f1cb9 >>>>>>>>>>>>>>>>>> ] >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,280 [main] INFO >>>>>>>>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>>>>>>>> Pre-instantiating singletons in factory >>>>>>>>>>>>>>>>>> [org.springframework.beans.factory.support.DefaultListableBeanFactory >>>>>>>>>>>>>>>>>> defining beans [applicationContext,weatherSpringService,weatherBean]; root >>>>>>>>>>>>>>>>>> of BeanFactory hierarchy] >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:07,318 [main] INFO >>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>>>>>>>>>> WeatherSpringService.aar - >>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpringService.aar >>>>>>>>>>>>>>>>>> 2020-11-04 23:00:15,661 [http-nio-8080-exec-1] ERROR >>>>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred >>>>>>>>>>>>>>>>>> while trying to invoke service method null >>>>>>>>>>>>>>>>>> org.apache.axis2.AxisFault: Spring context file cannot be >>>>>>>>>>>>>>>>>> located for AxisService >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.extensions.spring.util.ApplicationContextUtil.getSpringApplicationContext(ApplicationContextUtil.java:120) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier.getServiceObject(SpringAppContextAwareObjectSupplier.java:47) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.util.Utils.createServiceObject(Utils.java:702) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:173) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:210) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:79) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:106) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:169) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:164) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:660) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:741) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>>>>>>>>>>>>> at java.base/java.lang.Thread.run(Thread.java:834) >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Am Mi., 4. Nov. 2020 um 22:01 Uhr schrieb robertlazarski < >>>>>>>>>>>>>>>>>> [email protected]>: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Looks like you are missing the applicationContext.xml, >>>>>>>>>>>>>>>>>>> as shown in the guide: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> https://axis.apache.org/axis2/java/core/docs/pojoguide.html >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Please verify this file exists: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> /var/lib/tomcat9/webapps/axis2/WEB-INF/applicationContext.xml >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Wed, Nov 4, 2020 at 9:05 AM Daniel Otto < >>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> *a)* I have added all the *.jar files, which are >>>>>>>>>>>>>>>>>>>> needed to build the service with ant in the >>>>>>>>>>>>>>>>>>>> tomcat/webapps/axis2/WEB-INF/lib directory. The service is now correctly >>>>>>>>>>>>>>>>>>>> listed in the servicelist like the screenshot below shows. But I have >>>>>>>>>>>>>>>>>>>> another error. Eventually I miss to add something in phases in the >>>>>>>>>>>>>>>>>>>> axis2.xml? >>>>>>>>>>>>>>>>>>>> [image: servicelist.png] >>>>>>>>>>>>>>>>>>>> *b)* When I go to the directory >>>>>>>>>>>>>>>>>>>> $AXIS2_HOME/samples/pojoguidespring and run the client with "ant >>>>>>>>>>>>>>>>>>>> rpc.client" than the following error occurs: (axis2.log) >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:00,963 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,087 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,099 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,116 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>>>>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,126 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,136 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,145 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>> script-1.7.9 - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:01,158 [main] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>> addressing-1.7.9 - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,374 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading >>>>>>>>>>>>>>>>>>>> XML bean definitions from class path resource [applicationContext.xml] >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,406 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - Bean >>>>>>>>>>>>>>>>>>>> factory for application context >>>>>>>>>>>>>>>>>>>> [org.springframework.context.support.ClassPathXmlApplic> >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,411 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - 3 >>>>>>>>>>>>>>>>>>>> beans defined in application context >>>>>>>>>>>>>>>>>>>> [org.springframework.context.support.ClassPathXmlAppl> >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,414 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>>>>>>>>>> Unable to locate MessageSource with name 'messageSource': using default >>>>>>>>>>>>>>>>>>>> [org.springframework> >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,415 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext - >>>>>>>>>>>>>>>>>>>> Unable to locate ApplicationEventMulticaster with name >>>>>>>>>>>>>>>>>>>> 'applicationEventMulticaster': using > >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,416 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.springframework.beans.factory.support.DefaultListableBeanFactory - >>>>>>>>>>>>>>>>>>>> Pre-instantiating singletons in factory >>>>>>>>>>>>>>>>>>>> [org.springframework.beans.factory.support.Default> >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:21,485 [Timer-1] INFO >>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - Deploying Web service: >>>>>>>>>>>>>>>>>>>> WeatherSpringService.aar - >>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/services/WeatherSpri> >>>>>>>>>>>>>>>>>>>> 2020-11-04 19:19:55,427 [http-nio-8080-exec-2] ERROR >>>>>>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver - Exception occurred >>>>>>>>>>>>>>>>>>>> while trying to invoke service method null >>>>>>>>>>>>>>>>>>>> org.apache.axis2.AxisFault: Spring context file cannot >>>>>>>>>>>>>>>>>>>> be located for AxisService >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.extensions.spring.util.ApplicationContextUtil.getSpringApplicationContext(ApplicationContextUtil.java:120) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier.getServiceObject(SpringAppContextAwareObjectSupplier.java:47) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.util.Utils.createServiceObject(Utils.java:702) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:173) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:210) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:79) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:106) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:169) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:178) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:164) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:660) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:741) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>> java.base/java.lang.Thread.run(Thread.java:834) >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Am Mo., 2. Nov. 2020 um 08:15 Uhr schrieb >>>>>>>>>>>>>>>>>>>> robertlazarski <[email protected]>: >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> WEB-INF/lib >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On Fri, Oct 30, 2020, 00:37 Daniel Otto < >>>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Where do I miss it? >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Am Fr., 30. Okt. 2020 um 01:48 Uhr schrieb >>>>>>>>>>>>>>>>>>>>>> robertlazarski <[email protected]>: >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Looks like you are >>>>>>>>>>>>>>>>>>>>>>> missing spring-context-5.1.10.RELEASE.jar. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> On Thu, Oct 29, 2020, 00:59 Daniel Otto < >>>>>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> *1) This is the output in the axis2.log**:* >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,330 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ClusterBuilder - Clustering has been disabled >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,415 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>>>>>> soapmonitor-1.7.9 - >>>>>>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/soapmonitor-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,422 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>>>>>> mtompolicy-1.7.9 - >>>>>>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mtompolicy-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,434 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: ping-1.7.9 >>>>>>>>>>>>>>>>>>>>>>>> - file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/ping-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,440 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>>>>>> jaxws-1.7.9 - >>>>>>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,447 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>>>>>> metadataExchange-1.7.9 - >>>>>>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/mex-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,451 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>>>>>> script-1.7.9 - >>>>>>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/scripting-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,464 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ModuleDeployer - Deploying module: >>>>>>>>>>>>>>>>>>>>>>>> addressing-1.7.9 - >>>>>>>>>>>>>>>>>>>>>>>> file:/var/lib/tomcat9/webapps/axis2/WEB-INF/modules/addressing-1.7.9.mar >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,633 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ServiceDeployer - The >>>>>>>>>>>>>>>>>>>>>>>> WeatherSpringService.aar service, which is not valid, caused >>>>>>>>>>>>>>>>>>>>>>>> java.lang.NoClassDefFoundError: >>>>>>>>>>>>>>>>>>>>>>>> org/springframework/context/support/ClassPathXmlApplicationContext >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> sample.spring.service.SpringInit.startUp(SpringInit.java:61) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ServiceBuilder.startupServiceLifecycle(ServiceBuilder.java:942) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:444) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:117) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:289) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:622) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4871) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5180) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.Catalina.start(Catalina.java:633) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native >>>>>>>>>>>>>>>>>>>>>>>> Method) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.lang.reflect.Method.invoke(Method.java:566) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:478) >>>>>>>>>>>>>>>>>>>>>>>> Caused by: java.lang.ClassNotFoundException: Class >>>>>>>>>>>>>>>>>>>>>>>> Not found : >>>>>>>>>>>>>>>>>>>>>>>> org.springframework.context.support.ClassPathXmlApplicationContext >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:96) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentClassLoader.loadClass(DeploymentClassLoader.java:277) >>>>>>>>>>>>>>>>>>>>>>>> at >>>>>>>>>>>>>>>>>>>>>>>> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) >>>>>>>>>>>>>>>>>>>>>>>> ... 61 more >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> 2020-10-29 11:48:22,638 [main] INFO >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentEngine - >>>>>>>>>>>>>>>>>>>>>>>> org.apache.axis2.deployment.DeploymentException: >>>>>>>>>>>>>>>>>>>>>>>> java.lang.NoClassDefFoundError: >>>>>>>>>>>>>>>>>>>>>>>> org/springframework/context/support/ClassPathXmlApplicationContext >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> *2) and this is in the .aar* >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> applicationContext.xml >>>>>>>>>>>>>>>>>>>>>>>> META-INF/ >>>>>>>>>>>>>>>>>>>>>>>> MANIFEST.MF >>>>>>>>>>>>>>>>>>>>>>>> services.xml >>>>>>>>>>>>>>>>>>>>>>>> sample/ >>>>>>>>>>>>>>>>>>>>>>>> spring/ >>>>>>>>>>>>>>>>>>>>>>>> bean/ >>>>>>>>>>>>>>>>>>>>>>>> Weather.class >>>>>>>>>>>>>>>>>>>>>>>> service/ >>>>>>>>>>>>>>>>>>>>>>>> SpringInit.class >>>>>>>>>>>>>>>>>>>>>>>> WeatherSpringService.class >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Am Do., 29. Okt. 2020 um 04:53 Uhr schrieb >>>>>>>>>>>>>>>>>>>>>>>> robertlazarski <[email protected]>: >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> In your log4j.properties file, try adding an >>>>>>>>>>>>>>>>>>>>>>>>> absolute path which I expect will give you an axis2.log at that location >>>>>>>>>>>>>>>>>>>>>>>>> with some clues on why WeatherSpringService.aar is having problems. >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> log4j.appender.LOGFILE.File=/ >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> >>>>>>> Windmühlenstraße 35//615 >>>>>>> 04107 Leipzig >>>>>>> >>>>>>> Mobilfunk: 0176 57723225 >>>>>>> >>>>>>> [email protected] >>>>>>> >>>>>>> >>>>>>> Der Inhalt dieser E-Mail, einschließlich seiner Anhänge, ist >>>>>>> vertraulich und ausschließlich für den bezeichneten Empfänger bestimmt. >>>>>>> Wenn Sie nicht der vorgesehene Empfänger dieser E-Mail oder dessen >>>>>>> berechtigter Vertreter sind, so beachten Sie bitte, dass jede Form der >>>>>>> Kenntnisnahme, der Nutzung, der Veröffentlichung, der Vervielfältigung oder >>>>>>> Weitergabe unzulässig ist. Ich bitte Sie in diesem Fall, sich mit dem >>>>>>> Absender dieser E-Mail in Verbindung zu setzen. Vielen Dank für Ihre >>>>>>> Unterstützung. >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> Windmühlenstraße 35//615 >>>>> 04107 Leipzig >>>>> >>>>> Mobilfunk: 0176 57723225 >>>>> >>>>> [email protected] >>>>> >>>>> >>>>> Der Inhalt dieser E-Mail, einschließlich seiner Anhänge, ist >>>>> vertraulich und ausschließlich für den bezeichneten Empfänger bestimmt. >>>>> Wenn Sie nicht der vorgesehene Empfänger dieser E-Mail oder dessen >>>>> berechtigter Vertreter sind, so beachten Sie bitte, dass jede Form der >>>>> Kenntnisnahme, der Nutzung, der Veröffentlichung, der Vervielfältigung oder >>>>> Weitergabe unzulässig ist. Ich bitte Sie in diesem Fall, sich mit dem >>>>> Absender dieser E-Mail in Verbindung zu setzen. Vielen Dank für Ihre >>>>> Unterstützung. >>>>> >>>> >>> >>> -- >>> >>> >>> Windmühlenstraße 35//615 >>> 04107 Leipzig >>> >>> Mobilfunk: 0176 57723225 >>> >>> [email protected] >>> >>> >>> Der Inhalt dieser E-Mail, einschließlich seiner Anhänge, ist vertraulich >>> und ausschließlich für den bezeichneten Empfänger bestimmt. Wenn Sie nicht >>> der vorgesehene Empfänger dieser E-Mail oder dessen berechtigter Vertreter >>> sind, so beachten Sie bitte, dass jede Form der Kenntnisnahme, der Nutzung, >>> der Veröffentlichung, der Vervielfältigung oder Weitergabe unzulässig ist. >>> Ich bitte Sie in diesem Fall, sich mit dem Absender dieser E-Mail in >>> Verbindung zu setzen. Vielen Dank für Ihre Unterstützung. >>> >> > > -- > > > Windmühlenstraße 35//615 > 04107 Leipzig > > Mobilfunk: 0176 57723225 > > [email protected] > > > Der Inhalt dieser E-Mail, einschließlich seiner Anhänge, ist vertraulich > und ausschließlich für den bezeichneten Empfänger bestimmt. Wenn Sie nicht > der vorgesehene Empfänger dieser E-Mail oder dessen berechtigter Vertreter > sind, so beachten Sie bitte, dass jede Form der Kenntnisnahme, der Nutzung, > der Veröffentlichung, der Vervielfältigung oder Weitergabe unzulässig ist. > Ich bitte Sie in diesem Fall, sich mit dem Absender dieser E-Mail in > Verbindung zu setzen. Vielen Dank für Ihre Unterstützung. >
servicelist.png
(image/png, 93 KB) - not displayed
servicelist.png
(image/png, 93.5 KB) - not displayed