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

Windchill customization

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

 

 

HelesicPetr
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

8 replies

HelesicPetr
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

Translate
avillanueva
23-Emerald II
September 8, 2023

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

Translate
HelesicPetr
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

Translate