Diese Seite ist nicht für Einsteiger oder EDV-Laien gedacht

 

PicApport kann man unter Windows auch als Dienst starten. Hierzu werden die beiden Programme

des Apache Commons Projektes, zu finden auf http://commons.apache.org/proper/commons-daemon/procrun.html

Zur Vereinfachung haben wir alles Notwendige in eine Zip-Datei (PicApportServiceExample.zip) gepackt. Die Zip-Datei einfach runterladen und z.B. in ein Verzeichnis C:\PicApportService entpacken.
Weitere Erklärungen finden sich dann in der Datei:

(c) 2016 Contecon Software GmbH 
How to install PicApport as a Windows Service

We have successfully tested with an oracle 1.8.0_11-b12 JVM
Should also work with 1.7 Oracle or OpenJDK

Unzip PicApportServiceExample.zip in the following folder-structure

C:\PicApportService\ReadMe-PicapportAsService.txt    --> this file 
C:\PicApportService\picapport-headless_v6.1.00.jar   --> at least version 3.2.1 January 26 2015

C:\PicApportService\.picapport\
C:\PicApportService\.picapport\picapport.properties  --> edit this file if photos are stored in a different location
C:\PicApportService\photos\                          --> example directory where fotos are stored

C:\PicApportService\ApacheLogs                       --> Logfiles of Apache willl be stored here 
C:\PicApportService\PicApportEnv.cmd                 --> Used by other .cmd files to configure Environment
C:\PicApportService\ApachePrunsrvInstall.cmd         --> Sample batchfile to install service
C:\PicApportService\ApachePrunsrvUninstall.cmd       --> Sample batchfile to uninstall service
C:\PicApportService\ApachePrunmgrEdit.cmd            --> Sample batchfile to view/edit service data

C:\PicApportService\prunmgr.exe                      --> download from http://commons.apache.org/proper/commons-daemon/procrun.html
C:\PicApportService\prunsrv.exe                      --> download from http://commons.apache.org/proper/commons-daemon/procrun.html  

Steps to install and verify a PicApport Service

1. Make sure Java Runtime version is available
2. Create a dirctory structure as described above or similar
3. Download prunmgr and prunsrv as described above
4. Edit C:\PicApportService\.picapport\picapport.properties if you have a different photo-directory
5. Change to directory  C:\PicApportService
6. Run C:\PicApportService\ApachePrunsrvInstall.cmd
7. Check if service has been installed with windows system console
8. To start the service enter: net start PicApport 
9. To stop the service enter: net stop PicApport

Important:
==========
Try at least one time to stop the service and check the
picapport logfiles in C:\PicApportService\.picapport\logfiles
Check the log files for successful shutdown like:

......
MSG  @ 17:31:24.698 PicApport.shutdown initiated...
.........
MSG  @ 17:31:24.806 PicApport.shutdown completed.