So in Wildfly you have a default dir of wildfly/standalone/deployments. You can expand the axis2.war via the command using "jar xf axis2.war" , then use cp to put the aar into WEB-INF/services.
Wildfly uses marker files so you would use the command 'touch axis2.war.dodeploy" in the dir wildfly/standalone/deployments. Hope that helps. Regards, Robert On Fri, Oct 18, 2019 at 6:04 AM albert kao <albertk...@gmail.com> wrote: > $ cd $JBOSS_HOME/standalone > $ find . -name "WEB-INF" > ./tmp/vfs/temp/tempf5954914b39d17f7/content-ea2affcddba223fa/WEB-INF > ./tmp/vfs/temp/tempf5954914b39d17f7/content-8e00aac750ab0d8e/WEB-INF > > > $ ls -lrt > tmp/vfs/temp/tempf5954914b39d17f7/content-ea2affcddba223fa/WEB-INF/services > total 16 > -rw-rw-r-- 1 carmen carmen 9636 Oct 14 08:23 version-1.7.9.aar > -rw-rw-r-- 1 carmen carmen 17 Oct 14 08:23 services.list > > $ ls -lrt > tmp/vfs/temp/tempf5954914b39d17f7/content-8e00aac750ab0d8e/WEB-INF/services > ls: cannot access > 'tmp/vfs/temp/tempf5954914b39d17f7/content-8e00aac750ab0d8e/WEB-INF/services': > No such file or directory > > > I hesitate to put the aar file in the tmp directory of wildfly. > > On Fri, Oct 18, 2019 at 11:30 AM Tushar Kapila <tgkp...@gmail.com> wrote: > >> Where is your axis war deployed? >> >> Don't put in a folder where parent folder is protected or has spaces like >> Program files. >> >> Can make a folder like c:\j\tomcat >> Put tomcat, put exploded war, in there web-inf...copy aar file. >> >> On Fri, 18 Oct, 2019, 19:24 albert kao, <albertk...@gmail.com> wrote: >> >>> How to put the aar file in the WEB-INF/services directory manually >>> without the admin console? >>> >>> On Thu, Oct 17, 2019 at 9:44 AM robertlazarski . < >>> robertlazar...@gmail.com> wrote: >>> >>>> That is very similar to my server environments though I don't use the >>>> admin console. Been a while since I looked at that tutorial. Do you see any >>>> server side logs that would shed more light on the problem? >>>> >>>> The main idea is that you need to put the aar file in the >>>> WEB-INF/services directory. You can do that manually without the admin >>>> console for now as I don't know what the fix there is yet. >>>> >>>> Regards, >>>> Robert >>>> >>>> >>>> >>>> On Wed, Oct 16, 2019 at 1:43 AM albert kao <albertk...@gmail.com> >>>> wrote: >>>> >>>>> I am learning axis2 by doing the "POJO Web Services using Apache >>>>> Axis2". >>>>> WeatherService.aar was built successfully. >>>>> >>>>> I set the path to the WeatherService.aar in the Administration Console. >>>>> Then I click the upload icon. >>>>> The "No valid CSRF token found in request" message appear in the web >>>>> browser. >>>>> >>>>> >>>>> I completed the Axis2 Quick Start Guide successfully so my >>>>> configurations are correct. >>>>> >>>>> My configurations are: >>>>> axis2-1.7.9 Binary distribution. >>>>> axis2.war is built >>>>> Apache Ant(TM) version 1.10.1 >>>>> wildfly-15.0.1.Final >>>>> Apache Maven 3.6.0 >>>>> Java version: 1.8.0_202 >>>>> linux mint 18.3 >>>>> Default locale: en_CA, platform encoding: UTF-8 >>>>> OS name: "linux", version: "4.10.0-38-generic", arch: "amd64", family: >>>>> "unix" >>>>> >>>>>