<?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 Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967525#M30002</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/9388"&gt;@angian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the detailed reply!&lt;/P&gt;
&lt;P&gt;The note you wrote about removing hardcoded JvmMs and JvmMx is interesting as I noticed myself in "server.log" that they were appended to the Tomcat startup and had no idea where this was coming from. I also could not find any SAS documentation saying to remove these two options - any idea why?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check your suggestion soon.&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 04:53:25 GMT</pubDate>
    <dc:creator>EyalGonen</dc:creator>
    <dc:date>2025-05-27T04:53:25Z</dc:date>
    <item>
      <title>Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967428#M29994</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/bicdc/9.4/bisag/n0dmcsej9auu5an1pqtm7wx2dqpy.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/bicdc/9.4/bisag/n0dmcsej9auu5an1pqtm7wx2dqpy.htm&lt;/A&gt;&amp;nbsp;SAS Web App services need to be rebuilt when changing configuration options such as Xmx Java option in wrapper.conf file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed that the &lt;EM&gt;same&lt;/EM&gt; Xmx value is specified both in conf\wrapper.conf and also in bin\setenv.bat files of SASServer1_1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Questions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Why does this parameter (and others) appear in both files? Does SAS Web Appserver read/execute both files and if so in which order?&lt;/P&gt;
&lt;P&gt;2. Do I need to change Xmx in both files or is it enough to change only in one of them (in which)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; The instructions say to rebuild the service if a change is done to the wrapper.conf file which makes question 2 above even more interesting&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 14:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967428#M29994</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2025-05-25T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967430#M29995</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;The reason is that the Web App Servers can be started/operated in several ways: with the windows service, with the individual command, etc. That's the reason why both confit files exist and why both should be maintained keeping always the same configurations. The best practice is of course the wrapper.conf, however, as far as I know, due to some traditional scripting and operations it has been decided that both need to remain. But probably its best if someone from SAS answers you that one.&lt;BR /&gt;&lt;BR /&gt;I hope this answers your questions?&lt;BR /&gt;</description>
      <pubDate>Sun, 25 May 2025 17:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967430#M29995</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2025-05-25T17:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967482#M29997</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;&amp;nbsp; although not sure this answers my questions.&lt;/P&gt;
&lt;P&gt;The scenario I am asking about is when SAS Web App Servers are installed as Windows Services on Windows server machine.&lt;/P&gt;
&lt;P&gt;I don't understand what exactly "setenv.bat" is used for and whether it needs to be in sync with "wrapper.conf" and also does changing "setenv.bat" requires rebuilding web apps on Windows or only when modifying "wrapper.conf".&lt;/P&gt;
&lt;P&gt;Specifically, if I want to increase the Xmx value do I need to modify in both and then rebuild the service or maybe by modifying only "setenv.bat" I can avoid the need to rebuild the service?&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 08:07:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967482#M29997</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2025-05-26T08:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967524#M30001</link>
      <description>&lt;P&gt;The&amp;nbsp;JVM_OPTS arguments in&amp;nbsp;setenv.bat are not used when&amp;nbsp;&lt;SPAN&gt;rebuilding the service.&amp;nbsp; I would advise leaving that file alone, in M7 it is used to setup env variables used by other scripts/commands.&lt;BR /&gt;If you want to change&amp;nbsp;Xmx Xms etc change them in the corresponding&amp;nbsp;wrapper.conf for the target&amp;nbsp;WebAppServer prior to running the&amp;nbsp;powershell -file .\SASServiceCtl.ps1 -action install...&amp;nbsp;&lt;BR /&gt;NOTE:&amp;nbsp; you also need to remove the following hardcoded values from SASServiceCtl.ps&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Removed hardcoded&lt;BR /&gt;"--JvmMs 1024 " +&lt;BR /&gt;"--JvmMx 4096 "&lt;BR /&gt;Else the service will not be updated with the values from the wrapper.conf.&amp;nbsp; Once you re-install the service you can verify your changes by running&lt;BR /&gt;"D:\Program Files\SASHome\SASWebApplicationServer\9.4\apache-tomcat-9.0.55\bin\tomcat9w.exe" //ES//SAS-Config-Lev1-SASServer1_1-WebAppServer&lt;BR /&gt;The initial and max memory from the Java tab should be blank but you will see your updated values in the Java Options: box&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 04:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967524#M30001</guid>
      <dc:creator>angian</dc:creator>
      <dc:date>2025-05-27T04:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967525#M30002</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/9388"&gt;@angian&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the detailed reply!&lt;/P&gt;
&lt;P&gt;The note you wrote about removing hardcoded JvmMs and JvmMx is interesting as I noticed myself in "server.log" that they were appended to the Tomcat startup and had no idea where this was coming from. I also could not find any SAS documentation saying to remove these two options - any idea why?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will check your suggestion soon.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 04:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967525#M30002</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2025-05-27T04:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967553#M30004</link>
      <description>&lt;P&gt;I don't see it in the official doc but looks like Tech Support has recently created a KB&lt;BR /&gt;&lt;A href="https://sas.service-now.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0036153" target="_blank"&gt;https://sas.service-now.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0036153&lt;/A&gt;&lt;BR /&gt;I would hope this is either documented or fixed in M8+&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 02:42:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967553#M30004</guid>
      <dc:creator>angian</dc:creator>
      <dc:date>2025-05-28T02:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967575#M30005</link>
      <description>&lt;P&gt;The problem in that KB article was fixed in M8.&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 12:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967575#M30005</guid>
      <dc:creator>ronf_sas</dc:creator>
      <dc:date>2025-05-28T12:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding rebuilding Windows services for SAS Web App Servers in SAS 9.4M7</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967577#M30006</link>
      <description>&lt;P&gt;&amp;nbsp;I faced this problem in 9.4M7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The article is wrong as it says "&lt;SPAN&gt;This is a known issue for SAS&lt;/SPAN&gt;&lt;SUP&gt;®&lt;/SUP&gt;&lt;SPAN&gt;&amp;nbsp;9.4M8 on Microsoft Windows." when it should state that this is a known issue for SAS 9.4M7 and was fixed in SAS 9.4M8.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 12:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Questions-regarding-rebuilding-Windows-services-for-SAS-Web-App/m-p/967577#M30006</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2025-05-28T12:16:45Z</dc:date>
    </item>
  </channel>
</rss>

