Is the JRE a requirement for running webgisdr?

580
4
04-06-2020 11:52 AM
Dixie_MDavis
Occasional Contributor

Hello, all.

I tried to run the webgisdr utility on a separate server from our primary Portal and got an error about the JAVA_HOME environment not being set.  I checked the environment variables on our primary Portal and JAVA_HOME is not set there, but Java looks to be available from the Portal's install path ($install_dir\framework\runtime\jre).

We are setting up a disaster recovery configuration with primary and secondary Enterprise servers.  I read on this resource that the webgisdr utility could be copied and run from a different server than the server installed with Portal.

https://enterprise.arcgis.com/en/portal/10.7/administer/windows/overview-disaster-recovery-replicati...

Java is not installed on the server we would to use to run the utility.  Is Java a requirement for using webgisdr?

 

Thanks in advance for any help you can provide.  Best, Dixie.

0 Kudos
4 Replies
JonathanQuinn
Esri Frequent Contributor

The DR tool does require a JRE to run. By default, it uses the Java runtime installed with Portal. You'll need to install Java on the machine you're moving the DR tool to.

Dixie_MDavis
Occasional Contributor

Thanks for the information, Jonathan.  Java is not mentioned as a requirement in the documentation referenced above. 

Thanks again.

0 Kudos
NicolasGIS
Regular Contributor

Hello @Dixie_MDavis,

I noticed this error as well when running webgisdr right after having installed ArcGIS Enterprise.
After a reboot of the server, it works.

Java is deployed with ArcGIS Enterprise and environment variables are set but a reboot is required to pick them up I believe.

0 Kudos
Dixie_MDavis
Occasional Contributor

Hello, @NicolasGIS .

Thanks for your response, but I was attempting to run the webgisdr utility from a separate server that did not have any of the ESRI Enterprise software installed.  It also did not have Java installed. 

At that point I had not seen in the documentation that Java was a requirement to run the webgisdr utility.

Glad all worked out for you.  Best, Dixie.

0 Kudos