Skip to main content
1-Visitor
August 27, 2025
Solved

What changes require a restart?

  • August 27, 2025
  • 4 replies
  • 376 views
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.13

How would I know whether or not a change to code in my codebase requires a restart of windchill to deploy? For instance, some customizations/changes can be deployed when windchill is up and will take effect and others require windchill to be down. So how do I tell whether or not deployable code requires a restart?
    Best answer by HelesicPetr

    Hi @AG_10348570 

    If you use an IDE and debug mode for coding, your ide is connected to the method server.

    Each compilation tries to deploy the modification to the vm memory and a change is instantly applied but there are several changes that require file class deploy and restart.

     

    • Adding a public method in the class 
    • Removing a method in the class
    • Renaming a method in the class

    All this changes need the restart

    HelesicPetr_0-1756462284807.png

    With following information the change is applied

    HelesicPetr_3-1756462351659.png

    With following information restart is needed

    HelesicPetr_2-1756462336894.png

    PetrH

    4 replies

    24-Ruby III
    August 27, 2025

    Similar discussion - "Is it possible to modify the code and without a restart of method server see the new reflected changes?": https://community.ptc.com/t5/Windchill-Customization/Is-it-possible-to-modify-the-code-and-without-a-restart-of/td-p/52028 

    avillanueva
    23-Emerald I
    23-Emerald I
    August 27, 2025

    Generally yes, code changes will require restart since the class might have been loaded into the JVM memory already. There are some exceptions. 

    https://www.ptc.com/en/support/article/CS35160?source=search That article talks about property files changes (like site.xconf changes). If the classes are new and not invoked yet, likely no restart is needed. If you are updating existing classes with modification, I would restart. If you are doing JSP changes, you can set tomcat to run in development mode. Any modifications will cause the JSP to be recompiled which is handly not having to clear work cache all the time.

    https://www.ptc.com/en/support/article/CS30396?source=search

     

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    August 29, 2025

    Hi @AG_10348570 

    If you use an IDE and debug mode for coding, your ide is connected to the method server.

    Each compilation tries to deploy the modification to the vm memory and a change is instantly applied but there are several changes that require file class deploy and restart.

     

    • Adding a public method in the class 
    • Removing a method in the class
    • Renaming a method in the class

    All this changes need the restart

    HelesicPetr_0-1756462284807.png

    With following information the change is applied

    HelesicPetr_3-1756462351659.png

    With following information restart is needed

    HelesicPetr_2-1756462336894.png

    PetrH

    Community Moderator
    September 8, 2025

    Hello @AG_10348570

     

    It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

    Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

    Thanks,
    Vivek N.
    Community Moderation Team.