It's all about the answers!

Ask a question

How to make jazz apps as windows services after installation


Pallavi Deore (38150) | asked Aug 26 '22, 2:26 a.m.
edited Aug 26 '22, 2:37 a.m.

 Hello All,

I have installed 702 version on windows.
Can you please suggest me, how i can make all jazz apps as windows service.
I went through details given in below ibm document.

But not clear where and how to add the cmd mentioned in above document.

Thanks in advanced
Pallavi Deore

2 answers



permanent link
Ian Barnard (2.0k613) | answered Aug 26 '22, 4:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi

I believe this has been supported since 7.0.1 - the 7.0.2 document is Running ELM applications as Windows Services - IBM Documentation


The commands shown are options for server.startup.bat

You'll register Liberty as a service using:
  • server.startup.bat -registerWinService [serviceName]
for example:
  • server.startup.bat -registerWinService ELMLiberty
or to unregister:
  • server.startup.bat -unregisterWinService ELMLiberty
You can configure/start/stop the service in the usual Windows application or the other commands can be used to manually start/stop the service, e.g.
  • server.startup.bat -startWinService ELMLiberty
and
  • server.startup.bat -stopWinService ELMLiberty
HTH
Ian


Comments
Pallavi Deore commented Aug 26 '22, 5:55 a.m.

  Hello Barnard,


Thank you for your support.
I have registered ELM and JAS as windows service with above cmd and changed the manual run type to automatic.
But during installation i have make JAS as windows service so due to that maybe ELM and JAS services are not starting as windows service.
Can you please suggest me.


Ian Barnard commented Aug 26 '22, 6:17 a.m. | edited Aug 26 '22, 6:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
> during installation i have make JAS as windows service

You only need JAS as a service once. Delete the other service?

The services are created as manual start - you might want to tweak this perhaps in the services editor - they are named like Engineering Lifecycle Management (ELMLiberty)

Otherwise you should probably ask a Windows expert for help to sort out your setup.


Pallavi Deore commented Aug 26 '22, 7:39 a.m.

 Yes...I have deleted other service but services starts for few seconds and then it stop automatically


Ian Barnard commented Aug 26 '22, 10:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you stop the service, can you start/stop ELM using server.startup.bat - does it work OK then?

If so check the service user has the same access to the ELM installation as your user.

If not then there's some other problem with your deployment.


permanent link
Nick Marmolejo (361) | answered Sep 02 '22, 5:29 p.m.

 I would encourage you to look at linux vs windows, linux provides easy setup as a service as well as improved performance over windows. All new features and latest releases are delivered to the linux community first before windows.


Automating tasks with tools like Chef, puppet, Ansible are so much easier with Linux than windows as well.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.