{"id":991,"date":"2017-12-02T07:18:07","date_gmt":"2017-12-02T07:18:07","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=991"},"modified":"2020-01-09T09:26:21","modified_gmt":"2020-01-09T09:26:21","slug":"installing-jboss-as-a-service","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/installing-jboss-as-a-service\/","title":{"rendered":"Installing JBoss as a service"},"content":{"rendered":"<p><strong>applicationPackaging created the topic: Installing JBoss as a service<\/strong><br \/>\nI&#8217;m evaluating the Advanced Installer product, and I&#8217;m trying to create a simple installer that will install jboss as a service. I added the unzipped jboss distribution to the &#8220;Files and Folders&#8221;, created an entry under &#8220;Java Products&#8221; to create an executable to launch Jboss, and created an entry under &#8220;Services to Install&#8221; to install it as a service. After verifying that the correct Windows account is selected to start the service and the correct permissions are assigned to the product installation directory, I receive an error saying that the service didn&#8217;t respond within the timeout of 30000 ms. No jboss log files are generated, and I&#8217;m not sure how to get additional debugging information. If I double click the .exe that is generated for the &#8220;Java Product&#8221;, it doesn&#8217;t seem to take any action (although I do believe it is launching the jvm since I initially received some errors due to memory configuration that I was able to correct). I&#8217;m evaluating Advanced Installer to see if we can get off the old InstallShield X that we&#8217;re currently using which relies on JavaService.exe to install jboss as a service. This works fine and I&#8217;m guessing this might be an alternative way of installing jboss as a service using Advanced Installer custom actions, but I was really hoping to use the &#8220;Java Products&#8221; and &#8220;Services&#8221; to do this so that I can take advantage of the Advanced Installer features to start\/stop services. If anyone has successfully created an installer to install jboss as a service, I&#8217;d appreciate some help (or a sample project if available).<\/p>\n<p><strong>applicationPackaging replied the topic: Re: Installing JBoss as a service<\/strong><br \/>\nOn the Java Products page, select your java product, go to Settings tab and make sure &#8220;Win32 Service&#8221; is selected in the &#8220;Type&#8221; field under the &#8220;Application&#8221; group.<\/p>\n<p>Please let me know how this worked for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>applicationPackaging created the topic: Installing JBoss as a service I&#8217;m evaluating the Advanced Installer product, and I&#8217;m trying to create a simple installer that will install jboss as a service&#8230;. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[250],"class_list":["post-991","post","type-post","status-publish","format-standard","hentry","category-general","tag-service"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=991"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/991\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/991\/revisions\/992"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}