Where the webapp folder in a default apache installation of fedora?

5726
5
Jump to solution
08-15-2015 04:38 PM
NicholasReseburg1
New Contributor III

I've been spinning my wheels for hours now on google.

I am trying to install a webadaptor instance on Fedora 22 64 bit and all the pages i am googling  are just "install arcgis.war into default webapp folder" but i can't find where that is!

i even checked the friggin httpd/conf file and there is no mention.  a whereis command on my server looking for webapp produced nothing.

can someone tell me where the default webapp folder for apache is?  i can assure you i didn't do anything fancy with my apache installation and just accepted the defaults.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
NicholasReseburg1
New Contributor III

The answer is in the

$CATALINA_HOME variable! in my case /var/lib/tomcatx folder.

when you look up the variable, you get where the home dir is then you can find the webapp dir.

not sure why my "find" command didn't work, but hopefully this helps someone else

thanks for your help, guys!

View solution in original post

5 Replies
NicholasReseburg1
New Contributor III

i should add that i successfully installed the webadapter on the machine, i just got to the step where i need to deploy arcgis.war in the webapp directory.

0 Kudos
ChrisSmith7
Frequent Contributor

I use ArcGIS Server on Windows/IIS - I could help you all day with that! Regarding Fedora...  Is it by chance under /var/www or /usr/share?

0 Kudos
NicholasReseburg1
New Contributor III

Chris,

thanks for the reply.  It is not in either of those locations (i put the war files in both places, no go).

0 Kudos
ChrisSmith7
Frequent Contributor

Hrmm, interesting. So you are on step 7 of the installation guide?

Installing the ArcGIS Web Adaptor (Java Platform) on Linux

  1. Insert the ArcGIS for Server (Linux) media into the appropriate drive and browse to the folder where the ArcGIS Web Adaptor (Java Platform) is located. Launch the setup program from this location.
  2. Evaluate the Introduction dialog box and click Next to continue.
  3. Review the license agreement and accept if you agree. Click Next to continue with the installation.
  4. Click Next to accept the default location, or click Choose to specify the installation folder.
  5. Review the summary information and click Install to begin the installation.
  6. When completed, click Done to exit the wizard.
  7. Navigate to the ArcGIS Web Adaptor installation folder. Deploy the arcgis.war file to your Java application server. For instructions on how to deploy a .war file, please refer to the documentation for your Java application server.
  8. Optionally, if you want to deploy multiple Web Adaptors on the host machine, redeploy the arcgis.war file as necessary. Keep in mind that if you're deploying multiple Web Adaptors on the same web site (port), they need to use different names. For example, two Web Adaptors named arcgis cannot exist on the same web site. If you want multiple Web Adaptors with the same name, you'll need to install them on separate web sites (ports).
  9. Connect the ArcGIS Web Adaptor to your ArcGIS Server site by completing the steps in Configuring the Web Adaptor after installation.

If that's the case, I'm wondering that if the installation went ok (steps 1-6) whether or not you can find the configuration script mentioned on the "configuration after installation" page. What happens if you search for "ConfigureWebAdaptor.sh"?

0 Kudos
NicholasReseburg1
New Contributor III

The answer is in the

$CATALINA_HOME variable! in my case /var/lib/tomcatx folder.

when you look up the variable, you get where the home dir is then you can find the webapp dir.

not sure why my "find" command didn't work, but hopefully this helps someone else

thanks for your help, guys!