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:
   ![grafik](https://github.com/user-attachments/assets/3ae5a68f-98f4-4935-9f83-8033cc486505)
   
   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"
   ![grafik](https://github.com/user-attachments/assets/bd4aca60-b00b-449c-ba02-2a4488c3e6a9)
   
   give the path to the hop-server.bat
   go to tab I/O and give path to logfiles for stdOut and stdErr
   ![grafik](https://github.com/user-attachments/assets/3fbad638-2916-4bc7-ae29-8873da056a60)
   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