You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "tlue (via GitHub)" <gi...@apache.org> on 2024/08/08 12:31:05 UTC
Re: [I] [Task]: document running Hop server as a windows service (hop)
tlue commented on issue #2598:
URL: https://github.com/apache/hop/issues/2598#issuecomment-2275705585
Hi
This is how I did it:
Download https://nssm.cc/download
unzipp to a folder i.e. D:\apache-hop-2.9.0\nssm-2.24\
when double clicking on ...\win64\nssm.exe you get a list of parameters to use with it:

I created a file ...\hop\config\hop-server-config.xml
according to the documentation at https://hop.apache.org/manual/latest/hop-server/index.html
having the attribute Port set to 9090
now run a cmd with Admin privileges and run:
cd to ...\win64\nssm.exe
_nssm.exe install Apache_Hop_Port_9090_
you will get this GUI -
note this is being in edit mode using the command
_nssm.exe edit Apache_Hop_Port_9090_
therefore the Button in this picture is labelled "Edit service"

give the path to the hop-server.bat
go to tab I/O and give path to logfiles for stdOut and stdErr

and add file rotation settings as you want it
click on "Install service"
In order to change it later use the "edit" parameter plus your ServiceName
in order to remove the windows-service use the remove parameter plus your ServiceName
Cheers,
Thomas
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org