[midPoint] Windows Service error - midPoint 4.2

Richard Richter virgo at evolveum.com
Wed Nov 11 22:25:37 CET 2020


Hello Daniel 

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. 
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. 

Best regards 

Richard Richter 
midPoint Developer 


From: "midPoint General Discussion" <midpoint at lists.evolveum.com> 
To: "midPoint General Discussion" <midpoint at lists.evolveum.com> 
Cc: "Macias, Daniel" <Daniel.Macias at carecentrix.com> 
Sent: Wednesday, November 11, 2020 5:47:30 PM 
Subject: [midPoint] Windows Service error - midPoint 4.2 



Good morning, 



I’m running midPoint version 4.2. 



When installed service.bat I cannot start the service. This was previously working on previous version 4.1. 



Error below when starting the service. 



2020-11-11 11:39:38 Commons Daemon procrun stderr initialized 

java.lang.Exception: Could not start MidPoint application;Unexpected call to getClassPathArchives() 

at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.start(MidPointWarLauncher.java:61) 

at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.main(MidPointWarLauncher.java:44) 

Caused by: java.lang.IllegalStateException: Unexpected call to getClassPathArchives() 

at org.springframework.boot.loader.Launcher.getClassPathArchives(Launcher.java:149) 

at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.getClassPathArchives(MidPointWarLauncher.java:99) 

at com.evolveum.midpoint.tools.layout.MidPointWarLauncher.start(MidPointWarLauncher.java:57) 



I can start midPoint from start.bat just fine, no issues there. 



Any help will be appreciated. 



Thanks in advance, 



Daniel 



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. 
_______________________________________________ 
midPoint mailing list 
midPoint at lists.evolveum.com 
https://lists.evolveum.com/mailman/listinfo/midpoint 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20201111/88285b17/attachment.htm>


More information about the midPoint mailing list