holodeck-b2b / Holodeck-B2B

Holodeck B2B is an AS4 system-to-system messaging solution that implements the OASIS specifications for ebMS3 and it's AS4 profile. For more information visit the project website
http://holodeck-b2b.org
GNU General Public License v3.0
74 stars 37 forks source link

Refactoring HolodeckB2BServer #116

Closed ConradMoeller closed 2 years ago

ConradMoeller commented 3 years ago

This is a change request to refactor the class org.holodeckb2b.core.HolodeckB2BServer to be able to use HolodeckB2B running on windows as a service using Apache Commons Daemon (https://commons.apache.org/proper/commons-daemon/procrun.html)

ToDo

  1. refactoring of org.holodeckb2b.core.HolodeckB2BServer (encapsulate the server start method and make accessible to public)
  2. implementing a bootstrap class to use it convenient with Apache Commons Daemon
  3. add a script to install the Windows Service in distribution (bin-folder)

view branch 'winservice_issue116' in fork https://github.com/ConradMoeller/Holodeck-B2B

BR Conrad

RenateS commented 3 years ago

Thank you Conrad! We will review and get back to you.

sfieten commented 2 years ago

Version 5.3.1 now includes support Apache Commons Daemon in jvm mode. The class to use is org.holodeckb2b.core.HolodeckB2BServer and the start and stop methods main respectively shutdown. The other parameters can be derived from the startServer.bat script.