11-01-2018 06:30 AM
After running the configuration wizard for ERDAS APOLLO 2018, it is displaying an error: A batch process returned an unexpected exit code.
While studying the config log files, it showed Java related issue. I had installed JDK, registered the same in environment system variable and checked the java version in command prompt it showed
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
I have also attached the logfile. ERDAS APOLLO service is also not formed in services.
Thanks for help in advance.
Solved! Go to Solution.
11-08-2018 11:58 PM
Thanks for your reply. I configured another system with the following details at client end:
OS: Windows 8.1
Microsoft .net Framework : 4.6
Java SDK: 8 Update 191
The problem again resurfaced. Before configuration process, I checked, whether it had formed the ERDAS APOLLO TOMCAT service. It didn't show in the services list. So, I used the following command to create the service manually:
"C:\Program Files\Hexagon\ERDAS APOLLO\tomcat\bin\apolloservice.bat" install APOLLOTOMCAT
It created the service, but noted that JAVA_HOME is not set. Hence, I tried to run and check the following command:
cd C:\Program Files\Hexagon\ERDAS APOLLO\tomcat\bin
and ran startup.bat.
It gave error stating neither JAVA_HOME nor JRE_HOME set. Set environment variable. I tried to set the environment variable JAVA_HOME = c:\Program Files\Java\jdk1.8.0_191
Still error remained same...but it was resolved by setting the environment variable as below:
JAVA_HOME = C:\Program Files\Java\jdk1.8.0_191\
Then ran startup.bat command and JAVA was registered successfully for CATALINA_HOME.
02-15-2019 03:13 AM
Instead of creating environment variable JAVA_HOME = C:\Program Files\Java\jdk1.8.0_191\ . Update the Apollo Version to
Try this solution and it works better..
VIPALW KUMAR P