Ce contenu n'est pas disponible dans la langue sélectionnée.
6.7. Windows
Installation of Apache Karaf as windows service is supported through winsw.
To install Apache Karaf as windows service, perform the following:
- Rename the
karaf-service-win.exefile tokaraf-4.exefile. - Rename the
karaf-service-win.xmlfile tokaraf-4.xmlfile. - Customize the service descriptor as per your requirements.
- Use the service executable to install, start and stop the service.
Here is an example:
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
karaf-4.exe install karaf-4.exe start
C:\opt\apache-karaf-4\bin\contrib> karaf-4.exe install
C:\opt\apache-karaf-4\bin\contrib> karaf-4.exe start