Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
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
Solved! Go to Solution.
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
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
That or clearing the Windchill/tomcat/instances/instance-801x/work folder to force Windchill to recompile pages.
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
unless we are talking about a production server.
Thanks for your valuable inputs.
Best Regards,
Shrikant Bhosle
Thanks PetrH,
For your input.
I have somewhat similar question on the same topic.
Is it necessary to restart Windchill after each build of a jar file for a Java project?
Regards,
Shrikant Bhosle
Hello @SB_10566278
for jar file you need to restart Windchill, because you need to reload full jar packages
but you can add the class files in a codebase folder, instead of adding them to the jar package.
then you need to activate debug mode in the wt.properties.
if you set the java debug arg, then you can connect your IDE directly to the method server in debug mode.
Then recompilation can be loaded directly to the method server
here is the instructions how to set it CS96048 - How to build a development environment and perform remote debug using Eclipse in Windchill
PetrH
Thank you so much PetrH.
Appreciate your help.
Regards,
Shrikant Bhosle