DataSource details causes “RequestError: Unable to load /data_source_properties.shtm?dsid=9 status: 500”
-
Suddenly having trouble loading DataSource pages
The log shows:
WARN 2017-11-10T14:09:39,957 (com.serotonin.m2m2.web.mvc.spring.exception.ExceptionUtils.logWebException:95) - REQUEST URL http://prince.ia3.io:8080/data_source_properties.shtm REQUEST PARAMETERS dsid=9 REQUEST HEADERS Cookie=__cfduid=d7bd4a74e847db43ee0c9895049e73c7e1508975276; _jsuid=3690254209; _ga=GA1.2.810989487.1508979623; _gid=GA1.2.610858917.1510193066; XSRF-TOKEN=1891b38c-a030-4d05-aece-0dd29c541a2b; MANGO8080=fzbkodcxg42h179celdxmxjrp X-Requested-With=XMLHttpRequest Accept=*/* Connection=keep-alive User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36 Referer=http://prince.ia3.io:8080/data_sources.shtm Host=prince.ia3.io:8080 Accept-Encoding=gzip, deflate Accept-Language=en-US,en;q=0.9 Content-Type=application/x-www-form-urlencoded REQUEST ATTRIBUTES org.springframework.web.context.request.async.WebAsyncManager.WEB_ASYNC_MANAGER=org.springframework.web.context.request.async.WebAsyncManager@1700cdb javax.servlet.error.status_code=500 org.springframework.web.servlet.DispatcherServlet.CONTEXT=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Fri Nov 10 08:30:56 AKST 2017]; parent: Root WebApplicationContext javax.servlet.jsp.jstl.fmt.localizationContext.request=org.springframework.web.servlet.support.JstlUtils$SpringLocalizationContext@1102790 org.springframework.web.servlet.HandlerMapping.introspectTypeLevelMapping=false __spring_security_session_mgmt_filter_applied=true modulePath=/modules/asciiFile org.springframework.web.servlet.DispatcherServlet.LOCALE_RESOLVER=org.springframework.web.servlet.i18n.SessionLocaleResolver@14bd7c6 org.springframework.web.servlet.HandlerMapping.bestMatchingPattern=/data_source_properties.shtm org.springframework.web.servlet.DispatcherServlet.OUTPUT_FLASH_MAP=FlashMap [attributes={}, targetRequestPath=null, targetRequestParams={}] javax.servlet.error.exception_type=class javax.servlet.ServletException commPorts=[ - /dev/ttyS1, - /dev/ttyUSB0, - /dev/ttyUSB1, - /dev/ttyUSB2] org.springframework.web.servlet.DispatcherServlet.FLASH_MAP_MANAGER=org.springframework.web.servlet.support.SessionFlashMapManager@d30ed lang=en lastUpgrade=1510277356 availableLanguages=[] javax.servlet.http.HttpServletResponse=org.springframework.security.web.header.HeaderWriterFilter$HeaderWriterResponse@1f4fce3 _csrf=org.springframework.security.web.csrf.DefaultCsrfToken@18e642a __spring_security_filterSecurityInterceptor_filterApplied=true javax.servlet.error.servlet_name=springDispatcher javax.servlet.error.message=javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 206 in the jsp file: /WEB-INF/snippet/view/dataPoint/eventDetectors.jsp UPDATE_EVENT_TYPE_CODES cannot be resolved or is not a field 203: <tr> 204: <td class="formLabelRequired"><fmt:message key="publisherEdit.updateEvent"/></td> 205: <td class="formField"> 206: <tag:exportCodesOptions id="eventDetector_TEMPLATE_UpdateEvent" optionList="<%= AnalogChangeDetectorVO.UPDATE_EVENT_TYPE_CODES.getIdKeys() %>"/> 207: </tr> 208: 209: <tr> Stacktrace: org.springframework.web.servlet.DispatcherServlet.THEME_SOURCE=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Fri Nov 10 08:30:56 AKST 2017]; parent: Root WebApplicationContext instanceDescription=Prince — King Street analogPoints=[DataPointVO [id=27, xid=DP_ES100_Flow1, name=Flow 1, dataSourceId=4, deviceName=DigiConnectSP, enabled=true, pointFolderId=5, loggingType=4, intervalLoggingPeriodType=2, intervalLoggingPeriod=1, intervalLoggingType=4, to lerance=0.0, purgeOverride=false, purgeType=7, purgePeriod=1, textRenderer=com.serotonin.m2m2.view.text.AnalogRenderer@a06f3a, chartRenderer=com.serotonin.m2m2.view.chart.ImageChartRenderer@133bfdb, eventDetectors=null, comments=null, de faultCacheSize=1, discardExtremeValues=false, discardLowLimit=-1.7976931348623157E308, discardHighLimit=1.7976931348623157E308, unit=m³/h, integralUnit=m³·s/h, renderedUnit=gal/min, useIntegralUnit=false, useRenderedUnit=true, rollup=NON E, plotType=3, pointLocator=com.serotonin.m2m2.modbus.vo.ModbusPointLocatorVO@11849ba, dataSourceTypeName=MODBUS_IP, dataSourceName=DigiConnectSP, dataSourceXid=DS_434682, lastValue=null, settable=false, overrideIntervalLoggingSamples=fa
core 3.2.2+20171009170034 (Build number: 20171009170034)
dataPointDetailsView 3.2.0 -
You were correct; I checked the wrong server.
I did find an additional mango-3.2.0.jar file in the lib directory. Removing it removed the problem.
Thanks!
-
Nice, glad to hear you got it resolved!