<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Reload WRS files without restarting Method Server? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1035941#M10525</link>
    <description>&lt;P&gt;Version: Windchill 13.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Case: Updating a custom WRS domain.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to do quite a lot of trial-and-error on my custom WRS domain, mainly manipulating .js files. Restarting MS every time to pick up my changes is annoying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since those scripts are interpreted by Nashorn anyway, I thought... maybe there's some magic trick (e.g. calling some MBean method) to reload them without restarting MS every time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2025 13:17:21 GMT</pubDate>
    <dc:creator>Constantine</dc:creator>
    <dc:date>2025-09-26T13:17:21Z</dc:date>
    <item>
      <title>Reload WRS files without restarting Method Server?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1035941#M10525</link>
      <description>&lt;P&gt;Version: Windchill 13.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Case: Updating a custom WRS domain.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to do quite a lot of trial-and-error on my custom WRS domain, mainly manipulating .js files. Restarting MS every time to pick up my changes is annoying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since those scripts are interpreted by Nashorn anyway, I thought... maybe there's some magic trick (e.g. calling some MBean method) to reload them without restarting MS every time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 13:17:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1035941#M10525</guid>
      <dc:creator>Constantine</dc:creator>
      <dc:date>2025-09-26T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reload WRS files without restarting Method Server?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1036649#M10553</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/304626"&gt;@Constantine&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.&lt;BR /&gt;&lt;BR /&gt;Also, feel free to add any additional information you think might be relevant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 14:02:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1036649#M10553</guid>
      <dc:creator>Catalina</dc:creator>
      <dc:date>2025-10-02T14:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reload WRS files without restarting Method Server?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1036818#M10562</link>
      <description>&lt;P&gt;At the end of the day I didn't find a good solution, so I fired up my Java debugger and moved the code from JS files into Java classes instead. This way I can do trial and error on my OData endpoints without restarting the server thanks to JVM code hot swapping. The latter has its own limitations, but it takes away 90% of the pain associated with restarting the MS.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 13:34:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1036818#M10562</guid>
      <dc:creator>Constantine</dc:creator>
      <dc:date>2025-10-03T13:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reload WRS files without restarting Method Server?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1036920#M10565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/304626"&gt;@Constantine&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Its great to know what you have found some approach . I am interested to know&amp;nbsp; how did you achieved it in the java classes . can&amp;nbsp; you please elaborate about this&amp;nbsp;&lt;SPAN&gt;JVM code hot swapping approach&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 05:28:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Reload-WRS-files-without-restarting-Method-Server/m-p/1036920#M10565</guid>
      <dc:creator>MS_9630520</dc:creator>
      <dc:date>2025-10-06T05:28:15Z</dc:date>
    </item>
  </channel>
</rss>

