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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

How to add JAVA OPTIONS in Thingworx tomcat service

Velkumar
19-Tanzanite

How to add JAVA OPTIONS in Thingworx tomcat service

Hi all,

 

I have installed Thingworx Navigate 8.5 using executable. To debug Thingworx Extension, I need to add JAVA OPTIONS arguments in tomcat service.  There are two bat files in Thingworx installation folder, service.bat & tomcat_windows_service.bat in which one I need add JAVA_OPTIONS and how can I reinstall service.

 

Could any one help me with this. Thanks in advance.

 

/VR

5 REPLIES 5

Hello @Velkumar 

 

Thank you for opening post to community. Please refer the below article , I hope it will resolve your issue.

https://www.ptc.com/en/support/article/CS195506

 

In case of further concern,please feel free to revert.

 

Thanks

Velkumar
19-Tanzanite
(To:odukiya)

Hi @odukiya 

 

Thanks for sharing details. Tomcat and Thingworx are configured already and running. I'm looking for a way to add addition JVM arguments to debug custom Thingworx extension.

 

/VR 

vinakumar
12-Amethyst
(To:Velkumar)

Hi ,

 

You can try adding the Java options in setEnv.bat file placed under bin folder of tomcat and see if that helps to meet your requirement.

Velkumar
19-Tanzanite
(To:vinakumar)

Hi @vinakumar 

 

I'm not able to find 'setEnv.bat' in tomcat bin folder. PFB PNG for reference

 

Velkumar_0-1590495519534.png

/VR

Hello @Velkumar 

 

If you are not able to find it ,It is recommended that you create a file named setenv.bat (Windows) or setenv.sh (Linux) and place it in the Tomcat bin directory.With this file (which is run by the catalina.bat and catalina.sh scripts), you can change the following Tomcat environment settings with the JAVA_OPTS variable.

In case you still face any issue, please revert

 

Thanks

Om Dukiya

Announcements


Top Tags