How do I use a custom Tomcat version in Polyspace?

36 views (last 30 days)
I would like to upgrade Tomcat to a newer version because of some security vulnerabilities in the version that ships with Polyspace. How do I use a custom Tomcat version?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Nov 2024 at 0:00
Edited: MathWorks Support Team on 8 Nov 2024 at 21:09
As of MATLAB R2022b, Polyspace Metrics is deprecated. Thus, Polyspace no longer depends on Tomcat in MATLAB R2022b and later releases.
For MATLAB releases prior to R2022b, Polyspace Metrics uses Tomcat 8.0.22 to run the Polyspace Metrics web interface.  If you want to use your own version of Tomcat, you can specify a custom Tomcat server in the daemon configuration file. To add your custom tomcat web server, add the following line to the daemon configuration file. 
tomcat_install_dir = <path/to/tomcat>
The daemon configuration file is located in: 
  • Windows — %APPDATA%\Polyspace_RLDatas\polyspace.conf 
  • Linux — /etc/Polyspace/polyspace.conf

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!