<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style>/*<![CDATA[*/p.MsoNormal, li.MsoNormal, div.MsoNormal {
        margin: 0.0in;
        font-size: 11.0pt;
        font-family: Calibri , sans-serif;
}
a:link, span.MsoHyperlink {
        color: rgb(5,99,193);
        text-decoration: underline;
}
a:visited, span.MsoHyperlinkFollowed {
        color: rgb(149,79,114);
        text-decoration: underline;
}
span.EmailStyle17 {
        font-family: Calibri , sans-serif;
        color: windowtext;
}
*.MsoChpDefault {
        font-family: Calibri , sans-serif;
}
div.WordSection1 {
        page: WordSection1;
}
/*]]>*/</style></div><div>Hello Daniel<br></div><div><br data-mce-bogus="1"></div><div>This problem relates to our technology upgrades (namely Spring Boot) which required some starting command changes. While the *.sh and *.bat scripts were fixed accordingly, Windows Service support got under the radar.<br data-mce-bogus="1"></div><div>Please, create a Jira ticket with the problem, it is a bug. The fix doesn't seem to be completely trivial though, so for now you're probably stuck with start/stop.bat scripts.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Best regards<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Richard Richter<br data-mce-bogus="1"></div><div>midPoint Developer<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>To: </b>"midPoint General Discussion" <midpoint@lists.evolveum.com><br><b>Cc: </b>"Macias, Daniel" <Daniel.Macias@carecentrix.com><br><b>Sent: </b>Wednesday, November 11, 2020 5:47:30 PM<br><b>Subject: </b>[midPoint] Windows Service error - midPoint 4.2<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">
<div class="WordSection1">
<p class="MsoNormal">Good morning,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m running midPoint version 4.2.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When installed service.bat I cannot start the service. This was previously working on previous version 4.1.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Error below when starting the service.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">2020-11-11 11:39:38 Commons Daemon procrun stderr initialized</p>
<p class="MsoNormal">java.lang.Exception: Could not start MidPoint application;Unexpected call to getClassPathArchives()</p>
<p class="MsoNormal">                at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.start(MidPointWarLauncher.java:61)</p>
<p class="MsoNormal">                at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.main(MidPointWarLauncher.java:44)</p>
<p class="MsoNormal">Caused by: java.lang.IllegalStateException: Unexpected call to getClassPathArchives()</p>
<p class="MsoNormal">                at org.springframework.boot.loader.Launcher.getClassPathArchives(Launcher.java:149)</p>
<p class="MsoNormal">                at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.getClassPathArchives(MidPointWarLauncher.java:99)</p>
<p class="MsoNormal">                at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.start(MidPointWarLauncher.java:57)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I can start midPoint from start.bat just fine, no issues there.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any help will be appreciated. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks in advance,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="font-size:12pt;font-family:'arial' , sans-serif;color:#002060">Daniel
</span></b><span style="font-size:12pt;font-family:'times new roman' , serif"></span></p>
<p class="MsoNormal"> </p>
</div>
<hr width="100%" size="2" align="center">
<span style="font-size:7.5pt;font-family:'arial' , sans-serif;color:gray">This communication is intended only for the use of the individual or entity named as the addressee. It may contain information that is privileged and/or confidential under applicable law.
 If you are not the intended recipient or such recipient's employee or agent, you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited. If you have received this communication in error, please immediately
 notify CareCentrix Compliance Hot Line at (877) 848-8229 and notify the sender by electronic mail. Please delete this communication without making any copies. Thank you for your cooperation.
</span>

<br>_______________________________________________<br>midPoint mailing list<br>midPoint@lists.evolveum.com<br>https://lists.evolveum.com/mailman/listinfo/midpoint<br></div></div></body></html>