Closed dvayanu closed 1 year ago
When trying to update a threshold following error happens: Service unavailable due to rmi failure: Error occurred in server thread; nested exception is: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
Probably cause:
protected void parseHttpRequest(HttpServletRequest request){ super.parseHttpRequest(request); yellowDir = request.getParameter("yellowDir"); yellowValue = request.getParameter("yellowValue"); orangeDir = request.getParameter("orangeDir"); orangeValue = request.getParameter("orangeValue"); redDir = request.getParameter("redDir"); redValue = request.getParameter("redValue"); purpleDir = request.getParameter("purpleDir"); purpleValue = request.getParameter("purpleValue"); greenDir = request.getParameter("greenDir"); greenValue = request.getParameter("greenValue"); }
in ThresholdPO which is parameter to ThresholdAPI.updateThreshold(String thresholdId, ThresholdPO po) throws APIException;
and HttpServletRequest is not present in backend (JVM pure) services.
part of 3.2.7
When trying to update a threshold following error happens: Service unavailable due to rmi failure: Error occurred in server thread; nested exception is: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
Probably cause:
in ThresholdPO which is parameter to ThresholdAPI.updateThreshold(String thresholdId, ThresholdPO po) throws APIException;
and HttpServletRequest is not present in backend (JVM pure) services.