Skip to main content
12-Amethyst
September 8, 2023
Solved

Windchill customization

  • September 8, 2023
  • 1 reply
  • 3565 views

Hi,

 

Is it necessary to restart Windchill after modifying the JSP file (e.g. method parameter is modified)?

If not are there any configurations that I need to on the Windchill server?

 

Regards,

Shrikant Bhosle

 

 

Best answer by HelesicPetr

Hello @SB_10566278 

OOTB configuration needs to restart the method server.

 

You can configure the tomcat to do not use a cache so yes you can configure system that update JPS does not need the restart

 

in a file <WTHOME>\tomcat\conf\web.xml

change a development param name to true , restart server and that's all.

search for <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>

 

<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>

 

hope this can help 

PetrH

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
September 8, 2023

Hello @SB_10566278 

OOTB configuration needs to restart the method server.

 

You can configure the tomcat to do not use a cache so yes you can configure system that update JPS does not need the restart

 

in a file <WTHOME>\tomcat\conf\web.xml

change a development param name to true , restart server and that's all.

search for <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>

 

<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>

 

hope this can help 

PetrH

avillanueva
23-Emerald I
23-Emerald I
September 8, 2023

That or clearing the Windchill/tomcat/instances/instance-801x/work folder to force Windchill to recompile pages.

HelesicPetr
22-Sapphire II
22-Sapphire II
September 8, 2023

Hi @avillanueva 

True, true but it is annoying to delete the cache each time if you change the JSP file 😄 

PS: the restart method server also needs to clean this cache .

PetrH