- Tomcat can be configured to run in development mode to aid developers that are working on customizations for a Windchill solution
- In this mode, Tomcat checks each JSP file continuously and automatically recompiles it on the fly if it has been updated, eliminating the need for restarts to apply the changes
- Note: In this mode, modify Java files still need method server restart
- To reconfigure Tomcat to run in development mode, do the following:
- Start a Windchill Shell and change folder to the Tomcat installation directory, eg. <WT_HOME>/tomcat
- Execute the following command in the shell:
ant -f config.xml configureJspEngine -Dmode=dev
- Restart Tomcat (release 9.1 or earlier) or Windchill (release 10.0 or newer)
- To revert back to production mode, do the following:
- Start a Windchill Shell and change folder to the Tomcat installation directory as described above.
- Execute the following command in the shell:
ant -f config.xml configureJspEngine -Dmode=prod
- Restart Tomcat (release 9.1 or earlier) or Windchill (release 10.0 or newer)
windchill 设置为开发模式
最新推荐文章于 2024-09-25 10:59:43 发布