cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Not able start Apache start after Installation of ThingWorx Navigate bundle giving errors.

Shripad
7-Bedrock

Not able start Apache start after Installation of ThingWorx Navigate bundle giving errors.

Hi, 

 

Not able start Apache start after Installation of ThingWorx Navigate bundle giving errors.

 

D:\PTC\ThingworxNavigate\tomcat\apache-tomcat-8.5.23\bin>startup.bat
ECHO is off.
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program

 

Env veriable set as 

JAVA_HOME= C:\Program Files\Java\jdk1.8.0_192

JRE_HOME= C:\Program Files\Java\jre1.8.0_192

CATALINA_HOME= D:\PTC\ThingworxNavigate\tomcat\apache-tomcat-8.5.23

 

Added following details in PATH

C:\Program Files\Java\jdk1.8.0_192\bin;C:\Program Files\Java\jre1.8.0_192\bin;%CATALINA_HOME%\lib

 

Apache installation directory is - D:\PTC\ThingworxNavigate\tomcat\apache-tomcat-8.5.23

 

Any input to fix the issue?

 

Best Regards,

-Shripad

1 ACCEPTED SOLUTION

Accepted Solutions

Hi All,

 

Thanks for looking in the issue.

 

I m able to fix the issue by setting JRE home in setenv.bat file.

 

I don't know is this right way or not , because all all env variables are set properly even the issue was persistence.

 

Any other input from you guys or comment on my fix?

 

Best Regards,

-Shripad

View solution in original post

3 REPLIES 3
mbidave
5-Regular Member
(To:Shripad)

Do you see any exception / error log message in catalina.log? 

ckalmanovich
5-Regular Member
(To:Shripad)

Just to be sure, can you check if the environment variables that you mentioned are recognized in the console that you're running startup.bat from?

Consoles only know the environment variables that were set before the console was started (or those variables that were specifically set in that console with the "set" command).

 

In that console window, run this command: echo %JRE_HOME%

It should output the path that you mentioned in your post. If it's not recognized it will output "%JRE_HOME%".

Hi All,

 

Thanks for looking in the issue.

 

I m able to fix the issue by setting JRE home in setenv.bat file.

 

I don't know is this right way or not , because all all env variables are set properly even the issue was persistence.

 

Any other input from you guys or comment on my fix?

 

Best Regards,

-Shripad

Top Tags