{"id":1330,"date":"2008-05-15T16:43:33","date_gmt":"2008-05-15T23:43:33","guid":{"rendered":"https:\/\/blogs.plm.automation.siemens.com\/t5\/Polarion-Blog\/How-to-Start-Polarion-as-a-Service\/ba-p\/380602"},"modified":"2026-03-26T05:37:23","modified_gmt":"2026-03-26T09:37:23","slug":"how-to-start-polarion-as-a-service","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/polarion\/how-to-start-polarion-as-a-service\/","title":{"rendered":"How to Start Polarion as a Service"},"content":{"rendered":"<p>To start Polarion as service you should perform following steps:<br \/>\n<UL><br \/>\n\t<LI>Download the Windows XP Professional Ressource Kit. There is a version, which Microsoft request Money for it. I searched with Google and found a resource kit for Windows Server 2003, which applies also for Windows XP Professional, which can be downloaded from the WEB.<\/LI><br \/>\n\t<LI>It contains a little tool, called sc.exe. It gives the possibility to install programs as service. Use the following arguments:<SPAN style=\"color: #0000ff;\"><br \/>\nsc create Polarion binpath= &#8220;C:ProgrammePolarion 3.1polarionpolarion.exe&#8221; type= share start= auto depend= Apache2Polarion<\/SPAN><br \/>\nThe identifier of the parameters include the \u2018=\u2019 at the end. The space to the parameter value is mandatory. The command inserts also the dependency to apache appropriately.<\/LI><br \/>\n\t<LI>The so created service will terminate when you log off. To hinder this, you need to add the option &#8220;-Xrs&#8221; to the java environment. With this option java will not listen to the terminal. The options for the java.exe are specified in the file polarion.ini file in<br \/>\n\/polarion\/polarion.ini. Just append a new line with the option.<\/LI><br \/>\n\t<LI>In the next step I opened the Computer Manager and edited the newly created service. I assigned it to the local account &#8220;Polarion&#8221; and inserted the password of that account. The Computer Manager itself added the right for the account to run services.<br \/>\n<EM>Pay attention that the account is set to \u201cmay not change password\u201d and \u201cpassword never expires\u201d.<\/EM><\/LI><br \/>\n<\/UL><br \/>\nThat&#8217;s it. You are now ready to start the service from the Computer Manager. It will not die, when you log off, it will start when the computer is started.<\/p>\n<p><STRONG>Attention:<\/STRONG> The Computer Manager will complain that Polarion does not start. Polarion takes a lot of time to start. The Computer Manager should be more patient, but it is not. Check the Task Manager to see Polarion running. It is a java.exe running on the account you assigned it to.<\/p>\n<p><STRONG>Attention II:<\/STRONG> The Computer Manager will not be able to stop Polarion, because it believes Polarion is not running. To stop Polarion you have to use the stop tool provided by Polarion.<\/p>\n<p>Best Wishes<br \/>\nMatthias<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To start Polarion as service you should perform following steps:<\/p>\n<p>\t Download the Windows XP Professional Ressource Kit. There is a version, which Microsoft request Money for it. I searched with Goog&#8230;<\/p>\n","protected":false},"author":68985,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[],"class_list":["post-1330","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/users\/68985"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/comments?post=1330"}],"version-history":[{"count":1,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1330\/revisions"}],"predecessor-version":[{"id":1331,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/1330\/revisions\/1331"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/media?parent=1330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/categories?post=1330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/tags?post=1330"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/industry?post=1330"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/product?post=1330"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/coauthors?post=1330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}