How do I use a custom Tomcat version in Polyspace?

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?

 采纳的回答

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

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

版本

尚未输入任何版本。

Community Treasure Hunt

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

Start Hunting!

Translated by