Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Windchill 10 URL-Based Search

$
0
0

Any JSP page is compiled into Java by the tomcat engine. It decides to do this if there is no java code available in the work area or the date and timestamp of the source file is later than the current available compiled version. However this last check is only relevant if the tomcat is put into dev mode. If you type "tomcat" into the WHC then it gives you the command. As it has a very slight overhead (really nothing) a production system should never be put in dev mode, when we deploy new or updated JSP our install process deletes the tomcat cache for the pages concerned, Deleting the whole work directory is another option but it requires the tomcat engine to recompile all pages that mean a few moments waiting for each page the first time it is used.

 

Here is the extract from the WHC

 

   

 

Regards,

Simon

 

 

 

Running Tomcat in Development Mode

When developers are working on customizations to a solution, you can run Tomcat in development mode. In this mode, Tomcat automatically recompiles JSP files when changes are made.

To change to development mode:  



  1. Start a windchill shell and change to the Tomcat installation directory.
  2. Enter the following command:  ant -f config.xml configureJspEngine -Dmode=dev
  3. After development is complete, return to normal operation by entering

  4. ant -f config.xml configureJspEngine -Dmode=prod


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>