[Archivesspace_Users_Group] Setting up Windows Service

Russell Clarkson Russell.Clarkson at edeandravenscroft.com
Thu Mar 19 11:24:39 EDT 2020


Hi,

I've created a fresh install of ArchivesSpace on a 2012R2 server. It starts fine when started from the archivesspace.bat file, but the installed service fails to start. I can't see what I've done wrong.

These are the environment variables:

C:\>Set
JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_151
Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ESET\ESET File Security\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre1.8.0_151\bin\

PROCRUN.exe & PROCSRV.exe are copied into the c:\archivesspace folder.

Archivesspace is set to run against MySQL 5.1.48. The jar file is in the lib folder
C:\archivesspace\lib>dir
Volume in drive C has no label.
Volume Serial Number is A66E-AD9D

Directory of C:\archivesspace\lib

19/03/2020  15:17    <DIR>          .
19/03/2020  15:17    <DIR>          ..
.
.
11/07/2019  13:43         1,006,956 mysql-connector-java-5.1.48.jar
.


My config.rb has the 2 jetty references to enable clean shutdown.

I've turned debug logging on in the service settings. This is the tail of that log:-

[2020-03-19 15:22:05] [debug] ( prunsrv.c:1754) [ 3996] Apache Commons Daemon procrun log initialized.
[2020-03-19 15:22:05] [info]  ( prunsrv.c:1758) [ 3996] Apache Commons Daemon procrun (1.2.1.0 32-bit) started.
[2020-03-19 15:22:05] [info]  ( prunsrv.c:1668) [ 3996] Running Service 'ArchivesSpaceService'...
[2020-03-19 15:22:05] [debug] ( prunsrv.c:1441) [  800] Inside ServiceMain...
[2020-03-19 15:22:05] [debug] ( prunsrv.c:904 ) [  800] reportServiceStatusE: dwCurrentState = 2, dwWin32ExitCode = 0, dwWaitHint = 3000, dwServiceSpecificExitCode = 0.
[2020-03-19 15:22:05] [info]  ( prunsrv.c:1196) [  800] Starting service...

My understanding is that this *should* now work. Could someone help me understand why it's not?

Thanks in advance

Russell Clarkson
Infrastructure Engineer
Ede & Ravenscroft Ltd


Please consider the environment ??? is this a communication that you need to print ?

Any views expressed in this message are those of the individual sender, except where specifically stated to be the view of the Company, its subsidiaries or associates. When addressed to our customers, any opinions or advice contained in this eMail are subject to the relevant Company terms of business. The Company reserves the right to monitor all email communications through its internal and external networks. NOTICE: This eMail is intended solely for the named recipient only. It may contain privileged and/or confidential information. If you are not one of the intended recipients, please notify the sender immediately, and destroy this eMail; you must not copy, distribute or take any action in reliance upon it. Whilst all efforts are made to safeguard Inbound and Outbound eMails, the Company cannot guarantee that attachments are Virus-free or compatible with your systems and does not accept any liability in respect of viruses or computer problems experienced.
IMPORTANT: Credit Card Details should not be sent to the Company by email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200319/7a24815d/attachment.html>


More information about the Archivesspace_Users_Group mailing list