OnDemand User Group
Support Forums => OD/WEK & JAVA API => Topic started by: fepin on November 30, 2020, 11:52:11 AM
-
Hi,
I am using the Odwek library in my java/spring microservice. When an error occurs sometimes we get the stacktrace in Java but the problem is that the "load" is still present on server side (with a load ID). Do we have the possibility to cancel and remove the load when the server crashes?
In other words, I would like the equivalence of the "-f" option of arsload command (used in cmd line)
Thanks
CMOD v10.1
-
This one is tricky. Currently no, there isn't a way you can do this via the ODWEK API's. You could open an enhancement request though. The ODWEK API, in general, was not necessarily meant to be an administrative API. Sorry I don't have a better answer for you at this time.
-Thanks
Rob
-
So, just submit the LoadID to arsadmin unload?
-JD.