Hi Joel!
Thanks a lot, problem solved!! :)
Latest posts made by mrblue106
-
RE: Problem on upgrading from 2.1 to 2.4
-
Problem on upgrading from 2.1 to 2.4
Hi,
as stated in the subject of this post I had a lot of problem tryng to upgrade from version 2.1.1 to 2.4.0
after unzip, copy and restart the application, I receive a system error on the login page. The log is reported below.
What could be wrong? I need to upgrade first 2.1 -> 2.2 and then 2.2 ->2.4?
Best regards,
FabrizioERROR 2014-06-16 11:42:50,597 (org.apache.taglibs.log.LoggerTag.doStartTag:97) - java.lang.AbstractMethodError: com.serotonin.m2m2.Lifecycle.getStartupProgress()F
at com.serotonin.m2m2.web.mvc.interceptor.CommonDataInterceptor.preHandle(CommonDataInterceptor.java:30)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.serotonin.web.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:141)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:745)REQUEST URL
http://automazione.inextra.net/exception/error.jspREQUEST PARAMETERS
REQUEST HEADERS
Host=automazione.inextra.net
User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Accept=text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language=it,en-us;q=0.7,en;q=0.3
Accept-Encoding=gzip, deflate
DNT=1
Cookie=splitContainer_0=513; splitContainer_1=1390; __utma=218153281.127503640.1392375543.1397545263.1401978901.4; __utmz=218153281.1392375543.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=h2ng5l3155tq1wkkw1t7mgr0r
Connection=keep-aliveREQUEST ATTRIBUTES
javax.servlet.forward.request_uri=/login.htm
org.springframework.web.servlet.DispatcherServlet.THEME_SOURCE=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Mon Jun 16 11:41:23 CEST 2014]; parent: Root WebApplicationContext
org.springframework.web.servlet.DispatcherServlet.THEME_RESOLVER=org.springframework.web.servlet.theme.FixedThemeResolver@674794d6
org.springframework.web.servlet.DispatcherServlet.CONTEXT=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Mon Jun 16 11:41:23 CEST 2014]; parent: Root WebApplicationContext
javax.servlet.forward.context_path=
javax.servlet.error.status_code=500
javax.servlet.error.servlet_name=springDispatcher
javax.servlet.error.exception_type=class java.lang.AbstractMethodError
org.springframework.web.servlet.HandlerMapping.pathWithinHandlerMapping=/login.htm
availableLanguages=[]
lang=it
javax.servlet.forward.servlet_path=/login.htm
javax.servlet.error.message=com.serotonin.m2m2.Lifecycle.getStartupProgress()F
org.eclipse.jetty.server.error_page=/exception/error.jsp
org.eclipse.jetty.server.newSessionId=1ire6fgb1dsgl1u3o50n6cex82
javax.servlet.error.exception=java.lang.AbstractMethodError: com.serotonin.m2m2.Lifecycle.getStartupProgress()F
org.springframework.web.servlet.HandlerMapping.bestMatchingPattern=/login.htm
javax.servlet.error.request_uri=/login.htm
org.springframework.web.servlet.DispatcherServlet.LOCALE_RESOLVER=org.springframework.web.servlet.i18n.SessionLocaleResolver@c7ca293SESSION ATTRIBUTES
CONTEXT ATTRIBUTES
constants.AuditEventType.TYPE_DATA_POINT=DATA_POINT
com.sun.jsp.tagFileJarUrlsCache={}
org.springframework.web.servlet.FrameworkServlet.CONTEXT.springDispatcher=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Mon Jun 16 11:41:23 CEST 2014]; parent: Root WebApplicationContext
org.directwebremoting.impl.ServerContext=org.directwebremoting.impl.DefaultServerContext@4a95674c
javax.servlet.http.HttpServlet=org.directwebremoting.servlet.DwrServlet@16b0d4d5
constants.Permissions.DataPointAccessTypes.DATA_SOURCE=3
constants.SystemEventType.TYPE_EMAIL_SEND_FAILURE=EMAIL_SEND_FAILURE
com.sun.jsp.taglibraryCache=EXCEPTION in String.valueOf: null
constants.SystemEventType.TYPE_USER_LOGIN=USER_LOGIN
DwrContainer=org.directwebremoting.impl.DefaultContainer@29bab336
constants.EventType.EventTypeNames.PUBLISHER=PUBLISHER
constants.SystemEventType.TYPE_PROCESS_FAILURE=PROCESS_FAILURE
constants.DataTypes.ALPHANUMERIC=4
constants.SystemEventType.TYPE_MAX_ALARM_LEVEL_CHANGED=MAX_ALARM_LEVEL_CHANGED
mangoMessageKeys=[Ljava.lang.String;@18f94ca8
org.apache.catalina.jsp_classpath=c:\usr\MA\web\modules\asciiFile\classes;c:\usr\MA\web\modules\asciiFile\lib\m2m2-asciiFile-1.1.3.jar;c:\usr\MA\web\modules\dataFile\classes;c:\usr\MA\web\modules\dataFile\lib\jaxb-api.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-core.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-impl.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-jxc.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-xjc.jar;c:\usr\MA\web\modules\dataFile\lib\m2m2-dataFile-1.0.4.jar;c:\usr\MA\web\modules\dataFile\lib\opencsv-2.3.jar;c:\usr\MA\web\modules\dglux\classes;c:\usr\MA\web\modules\dglux\lib\gentlyWEB-utils-1.1.jar;c:\usr\MA\web\modules\dglux\lib\JoSQL-2.2.jar;c:\usr\MA\web\modules\dglux\lib\m2m2-dglux-1.0.11.jar;c:\usr\MA\web\modules\graphicalViews\classes;c:\usr\MA\web\modules\graphicalViews\lib\m2m2-graphicalViews-1.4.8.jar;c:\usr\MA\web\modules\http\classes;c:\usr\MA\web\modules\http\lib\m2m2-http-1.4.6.jar;c:\usr\MA\web\modules\internal\classes;c:\usr\MA\web\modules\internal\lib\m2m2-internal-1.4.4.jar;c:\usr\MA\web\modules\jmxds\classes;c:\usr\MA\web\modules\jmxds\lib\m2m2-jmxds-1.4.4.jar;c:\usr\MA\web\modules\jspViews\classes;c:\usr\MA\web\modules\jspViews\lib\m2m2-jspViews-2.0.3.jar;c:\usr\MA\web\modules\maintenanceEvents\classes;c:\usr\MA\web\modules\maintenanceEvents\lib\m2m2-maintenanceEvents-1.4.7.jar;c:\usr\MA\web\modules\mbus\classes;c:\usr\MA\web\modules\mbus\lib\m2m2-mbus-1.0.4.jar;c:\usr\MA\web\modules\mbus\lib\mbus4j-core-0.1.3.jar;c:\usr\MA\web\modules\mbus\lib\mbus4j-master-0.1.3.jar;c:\usr\MA\web\modules\mbus\lib\RXTXcomm.jar;c:\usr\MA\web\modules\meta\classes;c:\usr\MA\web\modules\meta\lib\m2m2-meta-2.0.6.jar;c:\usr\MA\web\modules\meta\lib\mvel2-2.1.3.Final.jar;c:\usr\MA\web\modules\modbus\classes;c:\usr\MA\web\modules\modbus\lib\m2m2-modbus-1.4.8.jar;c:\usr\MA\web\modules\modbus\lib\modbus4j-2.0.1.jar;c:\usr\MA\web\modules\onewire\classes;c:\usr\MA\web\modules\onewire\lib\m2m2-onewire-1.4.5.jar;c:\usr\MA\web\modules\onewire\lib\OneWireAPI.jar;c:\usr\MA\web\modules\onewire\lib\RXTXcomm.jar;c:\usr\MA\web\modules\openv4j\classes;c:\usr\MA\web\modules\openv4j\lib\m2m2-openv4j-1.0.4.jar;c:\usr\MA\web\modules\openv4j\lib\mbus4j-core-0.1.3.jar;c:\usr\MA\web\modules\openv4j\lib\mbus4j-master-0.1.3.jar;c:\usr\MA\web\modules\openv4j\lib\openv4j-core-0.1.3.jar;c:\usr\MA\web\modules\openv4j\lib\RXTXcomm.jar;c:\usr\MA\web\modules\pachube\classes;c:\usr\MA\web\modules\pachube\lib\m2m2-pachube-1.4.7.jar;c:\usr\MA\web\modules\persistent\classes;c:\usr\MA\web\modules\persistent\lib\m2m2-persistent-1.4.6.jar;c:\usr\MA\web\modules\pointLinks\classes;c:\usr\MA\web\modules\pointLinks\lib\m2m2-pointLinks-1.4.5.jar;c:\usr\MA\web\modules\pop3\classes;c:\usr\MA\web\modules\pop3\lib\m2m2-pop3-1.4.4.jar;c:\usr\MA\web\modules\reports\classes;c:\usr\MA\web\modules\reports\lib\m2m2-reports-2.0.6.jar;c:\usr\MA\web\modules\scheduledEvents\classes;c:\usr\MA\web\modules\scheduledEvents\lib\m2m2-scheduledEvents-1.4.6.jar;c:\usr\MA\web\modules\scripting\classes;c:\usr\MA\web\modules\scripting\lib\m2m2-scripting-1.0.7.jar;c:\usr\MA\web\modules\serial\classes;c:\usr\MA\web\modules\serial\lib\m2m2-serial-1.1.2.jar;c:\usr\MA\web\modules\snmp\classes;c:\usr\MA\web\modules\snmp\lib\m2m2-snmp-1.4.5.jar;c:\usr\MA\web\modules\snmp\lib\SNMP4J.jar;c:\usr\MA\web\modules\sqlds\classes;c:\usr\MA\web\modules\sqlds\lib\m2m2-sqlds-1.5.5.jar;c:\usr\MA\web\modules\sqlds\lib\opencsv-2.3.jar;c:\usr\MA\web\modules\sstGraphics\classes;c:\usr\MA\web\modules\sstGraphics\lib\m2m2-sstGraphics-1.0.5.jar;c:\usr\MA\web\modules\sstTheme\classes;c:\usr\MA\web\modules\sstTheme\lib\m2m2-sstTheme-1.0.5.jar;c:\usr\MA\web\modules\templateConfig\classes;c:\usr\MA\web\modules\templateConfig\lib\m2m2-templateConfig-1.0.4.jar;c:\usr\MA\web\modules\virtualDS\classes;c:\usr\MA\web\modules\virtualDS\lib\m2m2-virtualDS-1.4.4.jar;c:\usr\MA\web\modules\vmstat\classes;c:\usr\MA\web\modules\vmstat\lib\m2m2-vmstat-1.4.6.jar;c:\usr\MA\web\modules\watchlists\classes;c:\usr\MA\web\modules\watchlists\lib\m2m2-watchlists-1.5.7.jar
org.directwebremoting.ContainerList=[org.directwebremoting.impl.DefaultContainer@29bab336]
constants.SystemEventType.TYPE_SET_POINT_HANDLER_FAILURE=SET_POINT_HANDLER_FAILURE
constants.DataTypes.BINARY=1
org.directwebremoting.Container=org.directwebremoting.impl.DefaultContainer@29bab336
constants.DataTypes.IMAGE=5
org.springframework.web.context.WebApplicationContext.ROOT=Root WebApplicationContext: startup date [Mon Jun 16 11:41:22 CEST 2014]; root of context hierarchy
constants.EventType.EventTypeNames.DATA_SOURCE=DATA_SOURCE
constants.Permissions.DataPointAccessTypes.READ=1
constants.SystemEventType.TYPE_SYSTEM_STARTUP=SYSTEM_STARTUP
constants.EventType.EventTypeNames.DATA_POINT=DATA_POINT
org.springframework.web.context.support.ServletContextScope=org.springframework.web.context.support.ServletContextScope@204bb3a1
constants.SystemEventType.TYPE_LICENSE_CHECK=LICENSE_CHECK
constants.Permissions.DataPointAccessTypes.NONE=0
constants.Common.NEW_ID=-1
org.eclipse.jetty.tmpdirConfigured=true
jspx.1st.request=true
constants.Permissions.DataPointAccessTypes.SET=2
constants.AuditEventType.TYPE_EVENT_HANDLER=EVENT_HANDLER
javax.servlet.ServletConfig=org.eclipse.jetty.servlet.ServletHolder$Config@49fe1f97
constants.SystemEventType.TYPE_SYSTEM_SHUTDOWN=SYSTEM_SHUTDOWN
constants.Permissions.DataPointAccessTypes.ADMIN=4
clientSideMessages={js.help.lastUpdated=com.serotonin.m2m2.i18n.TranslatableMessage@729293fd, js.help.error=com.serotonin.m2m2.i18n.TranslatableMessage@f876c0, common.disabledToggle=com.serotonin.m2m2.i18n.TranslatableMessage@d7f89333, header.mute=com.serotonin.m2m2.i18n.TranslatableMessage@43df3cba, js.email.testSent=com.serotonin.m2m2.i18n.TranslatableMessage@f59d9881, common.administrator=com.serotonin.m2m2.i18n.TranslatableMessage@a467f3ea, js.help.related=com.serotonin.m2m2.i18n.TranslatableMessage@3dce6ae3, common.sendTestEmail=com.serotonin.m2m2.i18n.TranslatableMessage@8fd89c9f, js.email.noRecipForEmail=com.serotonin.m2m2.i18n.TranslatableMessage@4b694592, common.enabledToggle=com.serotonin.m2m2.i18n.TranslatableMessage@ea5c2f12, js.email.addAddress=com.serotonin.m2m2.i18n.TranslatableMessage@cbb9a38a, header.unmute=com.serotonin.m2m2.i18n.TranslatableMessage@d635aa93, js.email.addMailingList=com.serotonin.m2m2.i18n.TranslatableMessage@6fa4a69f, common.alarmLevel.lifeSafety=com.serotonin.m2m2.i18n.TranslatableMessage@1c71626, common.loading=com.serotonin.m2m2.i18n.TranslatableMessage@cf5f0419, common.minimize=com.serotonin.m2m2.i18n.TranslatableMessage@5d740b21, js.email.addUser=com.serotonin.m2m2.i18n.TranslatableMessage@49cc77b5, common.maximize=com.serotonin.m2m2.i18n.TranslatableMessage@c752a74f, js.email.noRecipients=com.serotonin.m2m2.i18n.TranslatableMessage@d78563d2, common.user=com.serotonin.m2m2.i18n.TranslatableMessage@8a9479ce, common.alarmLevel.none=com.serotonin.m2m2.i18n.TranslatableMessage@223c1a70, common.access.set=com.serotonin.m2m2.i18n.TranslatableMessage@a3e5309b, events.silence=com.serotonin.m2m2.i18n.TranslatableMessage@8376c0ac, common.disabled=com.serotonin.m2m2.i18n.TranslatableMessage@be9bfeff, common.access.read=com.serotonin.m2m2.i18n.TranslatableMessage@d8bff83d, common.alarmLevel.critical=com.serotonin.m2m2.i18n.TranslatableMessage@2b076d7, common.alarmLevel.info=com.serotonin.m2m2.i18n.TranslatableMessage@2239cfe6, events.unsilence=com.serotonin.m2m2.i18n.TranslatableMessage@29ad6533, common.alarmLevel.urgent=com.serotonin.m2m2.i18n.TranslatableMessage@8fa9c879}
constants.UserComment.TYPE_EVENT=1
constants.UserComment.TYPE_POINT=2
org.directwebremoting.WebContextFactory$WebContextBuilder=org.directwebremoting.impl.DefaultWebContextBuilder@4acc1874
constants.AuditEventType.TYPE_POINT_EVENT_DETECTOR=POINT_EVENT_DETECTOR
constants.EventType.EventTypeNames.AUDIT=AUDIT
constants.DataTypes.NUMERIC=3
constants.EventType.EventTypeNames.SYSTEM=SYSTEM
constants.AuditEventType.TYPE_DATA_SOURCE=DATA_SOURCE
constants.DataTypes.MULTISTATE=2 -
RE: Problem on upgrading from 2.1 to 2.4
Hi,
as stated in the subject of this post I had a lot of problem tryng to upgrade from version 2.1.1 to 2.4.0
after unzip, copy and restart the application, I receive a system error on the login page. The log is reported below.
What could be wrong? I need to upgrade first 2.1 -> 2.2 and then 2.2 ->2.4?
Best regards,
FabrizioERROR 2014-06-16 11:42:50,597 (org.apache.taglibs.log.LoggerTag.doStartTag:97) - java.lang.AbstractMethodError: com.serotonin.m2m2.Lifecycle.getStartupProgress()F
at com.serotonin.m2m2.web.mvc.interceptor.CommonDataInterceptor.preHandle(CommonDataInterceptor.java:30)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
at com.serotonin.web.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:141)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:745)REQUEST URL
http://automazione.inextra.net/exception/error.jspREQUEST PARAMETERS
REQUEST HEADERS
Host=automazione.inextra.net
User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Accept=text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language=it,en-us;q=0.7,en;q=0.3
Accept-Encoding=gzip, deflate
DNT=1
Cookie=splitContainer_0=513; splitContainer_1=1390; __utma=218153281.127503640.1392375543.1397545263.1401978901.4; __utmz=218153281.1392375543.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); JSESSIONID=h2ng5l3155tq1wkkw1t7mgr0r
Connection=keep-aliveREQUEST ATTRIBUTES
javax.servlet.forward.request_uri=/login.htm
org.springframework.web.servlet.DispatcherServlet.THEME_SOURCE=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Mon Jun 16 11:41:23 CEST 2014]; parent: Root WebApplicationContext
org.springframework.web.servlet.DispatcherServlet.THEME_RESOLVER=org.springframework.web.servlet.theme.FixedThemeResolver@674794d6
org.springframework.web.servlet.DispatcherServlet.CONTEXT=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Mon Jun 16 11:41:23 CEST 2014]; parent: Root WebApplicationContext
javax.servlet.forward.context_path=
javax.servlet.error.status_code=500
javax.servlet.error.servlet_name=springDispatcher
javax.servlet.error.exception_type=class java.lang.AbstractMethodError
org.springframework.web.servlet.HandlerMapping.pathWithinHandlerMapping=/login.htm
availableLanguages=[]
lang=it
javax.servlet.forward.servlet_path=/login.htm
javax.servlet.error.message=com.serotonin.m2m2.Lifecycle.getStartupProgress()F
org.eclipse.jetty.server.error_page=/exception/error.jsp
org.eclipse.jetty.server.newSessionId=1ire6fgb1dsgl1u3o50n6cex82
javax.servlet.error.exception=java.lang.AbstractMethodError: com.serotonin.m2m2.Lifecycle.getStartupProgress()F
org.springframework.web.servlet.HandlerMapping.bestMatchingPattern=/login.htm
javax.servlet.error.request_uri=/login.htm
org.springframework.web.servlet.DispatcherServlet.LOCALE_RESOLVER=org.springframework.web.servlet.i18n.SessionLocaleResolver@c7ca293SESSION ATTRIBUTES
CONTEXT ATTRIBUTES
constants.AuditEventType.TYPE_DATA_POINT=DATA_POINT
com.sun.jsp.tagFileJarUrlsCache={}
org.springframework.web.servlet.FrameworkServlet.CONTEXT.springDispatcher=WebApplicationContext for namespace 'springDispatcher-servlet': startup date [Mon Jun 16 11:41:23 CEST 2014]; parent: Root WebApplicationContext
org.directwebremoting.impl.ServerContext=org.directwebremoting.impl.DefaultServerContext@4a95674c
javax.servlet.http.HttpServlet=org.directwebremoting.servlet.DwrServlet@16b0d4d5
constants.Permissions.DataPointAccessTypes.DATA_SOURCE=3
constants.SystemEventType.TYPE_EMAIL_SEND_FAILURE=EMAIL_SEND_FAILURE
com.sun.jsp.taglibraryCache=EXCEPTION in String.valueOf: null
constants.SystemEventType.TYPE_USER_LOGIN=USER_LOGIN
DwrContainer=org.directwebremoting.impl.DefaultContainer@29bab336
constants.EventType.EventTypeNames.PUBLISHER=PUBLISHER
constants.SystemEventType.TYPE_PROCESS_FAILURE=PROCESS_FAILURE
constants.DataTypes.ALPHANUMERIC=4
constants.SystemEventType.TYPE_MAX_ALARM_LEVEL_CHANGED=MAX_ALARM_LEVEL_CHANGED
mangoMessageKeys=[Ljava.lang.String;@18f94ca8
org.apache.catalina.jsp_classpath=c:\usr\MA\web\modules\asciiFile\classes;c:\usr\MA\web\modules\asciiFile\lib\m2m2-asciiFile-1.1.3.jar;c:\usr\MA\web\modules\dataFile\classes;c:\usr\MA\web\modules\dataFile\lib\jaxb-api.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-core.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-impl.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-jxc.jar;c:\usr\MA\web\modules\dataFile\lib\jaxb-xjc.jar;c:\usr\MA\web\modules\dataFile\lib\m2m2-dataFile-1.0.4.jar;c:\usr\MA\web\modules\dataFile\lib\opencsv-2.3.jar;c:\usr\MA\web\modules\dglux\classes;c:\usr\MA\web\modules\dglux\lib\gentlyWEB-utils-1.1.jar;c:\usr\MA\web\modules\dglux\lib\JoSQL-2.2.jar;c:\usr\MA\web\modules\dglux\lib\m2m2-dglux-1.0.11.jar;c:\usr\MA\web\modules\graphicalViews\classes;c:\usr\MA\web\modules\graphicalViews\lib\m2m2-graphicalViews-1.4.8.jar;c:\usr\MA\web\modules\http\classes;c:\usr\MA\web\modules\http\lib\m2m2-http-1.4.6.jar;c:\usr\MA\web\modules\internal\classes;c:\usr\MA\web\modules\internal\lib\m2m2-internal-1.4.4.jar;c:\usr\MA\web\modules\jmxds\classes;c:\usr\MA\web\modules\jmxds\lib\m2m2-jmxds-1.4.4.jar;c:\usr\MA\web\modules\jspViews\classes;c:\usr\MA\web\modules\jspViews\lib\m2m2-jspViews-2.0.3.jar;c:\usr\MA\web\modules\maintenanceEvents\classes;c:\usr\MA\web\modules\maintenanceEvents\lib\m2m2-maintenanceEvents-1.4.7.jar;c:\usr\MA\web\modules\mbus\classes;c:\usr\MA\web\modules\mbus\lib\m2m2-mbus-1.0.4.jar;c:\usr\MA\web\modules\mbus\lib\mbus4j-core-0.1.3.jar;c:\usr\MA\web\modules\mbus\lib\mbus4j-master-0.1.3.jar;c:\usr\MA\web\modules\mbus\lib\RXTXcomm.jar;c:\usr\MA\web\modules\meta\classes;c:\usr\MA\web\modules\meta\lib\m2m2-meta-2.0.6.jar;c:\usr\MA\web\modules\meta\lib\mvel2-2.1.3.Final.jar;c:\usr\MA\web\modules\modbus\classes;c:\usr\MA\web\modules\modbus\lib\m2m2-modbus-1.4.8.jar;c:\usr\MA\web\modules\modbus\lib\modbus4j-2.0.1.jar;c:\usr\MA\web\modules\onewire\classes;c:\usr\MA\web\modules\onewire\lib\m2m2-onewire-1.4.5.jar;c:\usr\MA\web\modules\onewire\lib\OneWireAPI.jar;c:\usr\MA\web\modules\onewire\lib\RXTXcomm.jar;c:\usr\MA\web\modules\openv4j\classes;c:\usr\MA\web\modules\openv4j\lib\m2m2-openv4j-1.0.4.jar;c:\usr\MA\web\modules\openv4j\lib\mbus4j-core-0.1.3.jar;c:\usr\MA\web\modules\openv4j\lib\mbus4j-master-0.1.3.jar;c:\usr\MA\web\modules\openv4j\lib\openv4j-core-0.1.3.jar;c:\usr\MA\web\modules\openv4j\lib\RXTXcomm.jar;c:\usr\MA\web\modules\pachube\classes;c:\usr\MA\web\modules\pachube\lib\m2m2-pachube-1.4.7.jar;c:\usr\MA\web\modules\persistent\classes;c:\usr\MA\web\modules\persistent\lib\m2m2-persistent-1.4.6.jar;c:\usr\MA\web\modules\pointLinks\classes;c:\usr\MA\web\modules\pointLinks\lib\m2m2-pointLinks-1.4.5.jar;c:\usr\MA\web\modules\pop3\classes;c:\usr\MA\web\modules\pop3\lib\m2m2-pop3-1.4.4.jar;c:\usr\MA\web\modules\reports\classes;c:\usr\MA\web\modules\reports\lib\m2m2-reports-2.0.6.jar;c:\usr\MA\web\modules\scheduledEvents\classes;c:\usr\MA\web\modules\scheduledEvents\lib\m2m2-scheduledEvents-1.4.6.jar;c:\usr\MA\web\modules\scripting\classes;c:\usr\MA\web\modules\scripting\lib\m2m2-scripting-1.0.7.jar;c:\usr\MA\web\modules\serial\classes;c:\usr\MA\web\modules\serial\lib\m2m2-serial-1.1.2.jar;c:\usr\MA\web\modules\snmp\classes;c:\usr\MA\web\modules\snmp\lib\m2m2-snmp-1.4.5.jar;c:\usr\MA\web\modules\snmp\lib\SNMP4J.jar;c:\usr\MA\web\modules\sqlds\classes;c:\usr\MA\web\modules\sqlds\lib\m2m2-sqlds-1.5.5.jar;c:\usr\MA\web\modules\sqlds\lib\opencsv-2.3.jar;c:\usr\MA\web\modules\sstGraphics\classes;c:\usr\MA\web\modules\sstGraphics\lib\m2m2-sstGraphics-1.0.5.jar;c:\usr\MA\web\modules\sstTheme\classes;c:\usr\MA\web\modules\sstTheme\lib\m2m2-sstTheme-1.0.5.jar;c:\usr\MA\web\modules\templateConfig\classes;c:\usr\MA\web\modules\templateConfig\lib\m2m2-templateConfig-1.0.4.jar;c:\usr\MA\web\modules\virtualDS\classes;c:\usr\MA\web\modules\virtualDS\lib\m2m2-virtualDS-1.4.4.jar;c:\usr\MA\web\modules\vmstat\classes;c:\usr\MA\web\modules\vmstat\lib\m2m2-vmstat-1.4.6.jar;c:\usr\MA\web\modules\watchlists\classes;c:\usr\MA\web\modules\watchlists\lib\m2m2-watchlists-1.5.7.jar
org.directwebremoting.ContainerList=[org.directwebremoting.impl.DefaultContainer@29bab336]
constants.SystemEventType.TYPE_SET_POINT_HANDLER_FAILURE=SET_POINT_HANDLER_FAILURE
constants.DataTypes.BINARY=1
org.directwebremoting.Container=org.directwebremoting.impl.DefaultContainer@29bab336
constants.DataTypes.IMAGE=5
org.springframework.web.context.WebApplicationContext.ROOT=Root WebApplicationContext: startup date [Mon Jun 16 11:41:22 CEST 2014]; root of context hierarchy
constants.EventType.EventTypeNames.DATA_SOURCE=DATA_SOURCE
constants.Permissions.DataPointAccessTypes.READ=1
constants.SystemEventType.TYPE_SYSTEM_STARTUP=SYSTEM_STARTUP
constants.EventType.EventTypeNames.DATA_POINT=DATA_POINT
org.springframework.web.context.support.ServletContextScope=org.springframework.web.context.support.ServletContextScope@204bb3a1
constants.SystemEventType.TYPE_LICENSE_CHECK=LICENSE_CHECK
constants.Permissions.DataPointAccessTypes.NONE=0
constants.Common.NEW_ID=-1
org.eclipse.jetty.tmpdirConfigured=true
jspx.1st.request=true
constants.Permissions.DataPointAccessTypes.SET=2
constants.AuditEventType.TYPE_EVENT_HANDLER=EVENT_HANDLER
javax.servlet.ServletConfig=org.eclipse.jetty.servlet.ServletHolder$Config@49fe1f97
constants.SystemEventType.TYPE_SYSTEM_SHUTDOWN=SYSTEM_SHUTDOWN
constants.Permissions.DataPointAccessTypes.ADMIN=4
clientSideMessages={js.help.lastUpdated=com.serotonin.m2m2.i18n.TranslatableMessage@729293fd, js.help.error=com.serotonin.m2m2.i18n.TranslatableMessage@f876c0, common.disabledToggle=com.serotonin.m2m2.i18n.TranslatableMessage@d7f89333, header.mute=com.serotonin.m2m2.i18n.TranslatableMessage@43df3cba, js.email.testSent=com.serotonin.m2m2.i18n.TranslatableMessage@f59d9881, common.administrator=com.serotonin.m2m2.i18n.TranslatableMessage@a467f3ea, js.help.related=com.serotonin.m2m2.i18n.TranslatableMessage@3dce6ae3, common.sendTestEmail=com.serotonin.m2m2.i18n.TranslatableMessage@8fd89c9f, js.email.noRecipForEmail=com.serotonin.m2m2.i18n.TranslatableMessage@4b694592, common.enabledToggle=com.serotonin.m2m2.i18n.TranslatableMessage@ea5c2f12, js.email.addAddress=com.serotonin.m2m2.i18n.TranslatableMessage@cbb9a38a, header.unmute=com.serotonin.m2m2.i18n.TranslatableMessage@d635aa93, js.email.addMailingList=com.serotonin.m2m2.i18n.TranslatableMessage@6fa4a69f, common.alarmLevel.lifeSafety=com.serotonin.m2m2.i18n.TranslatableMessage@1c71626, common.loading=com.serotonin.m2m2.i18n.TranslatableMessage@cf5f0419, common.minimize=com.serotonin.m2m2.i18n.TranslatableMessage@5d740b21, js.email.addUser=com.serotonin.m2m2.i18n.TranslatableMessage@49cc77b5, common.maximize=com.serotonin.m2m2.i18n.TranslatableMessage@c752a74f, js.email.noRecipients=com.serotonin.m2m2.i18n.TranslatableMessage@d78563d2, common.user=com.serotonin.m2m2.i18n.TranslatableMessage@8a9479ce, common.alarmLevel.none=com.serotonin.m2m2.i18n.TranslatableMessage@223c1a70, common.access.set=com.serotonin.m2m2.i18n.TranslatableMessage@a3e5309b, events.silence=com.serotonin.m2m2.i18n.TranslatableMessage@8376c0ac, common.disabled=com.serotonin.m2m2.i18n.TranslatableMessage@be9bfeff, common.access.read=com.serotonin.m2m2.i18n.TranslatableMessage@d8bff83d, common.alarmLevel.critical=com.serotonin.m2m2.i18n.TranslatableMessage@2b076d7, common.alarmLevel.info=com.serotonin.m2m2.i18n.TranslatableMessage@2239cfe6, events.unsilence=com.serotonin.m2m2.i18n.TranslatableMessage@29ad6533, common.alarmLevel.urgent=com.serotonin.m2m2.i18n.TranslatableMessage@8fa9c879}
constants.UserComment.TYPE_EVENT=1
constants.UserComment.TYPE_POINT=2
org.directwebremoting.WebContextFactory$WebContextBuilder=org.directwebremoting.impl.DefaultWebContextBuilder@4acc1874
constants.AuditEventType.TYPE_POINT_EVENT_DETECTOR=POINT_EVENT_DETECTOR
constants.EventType.EventTypeNames.AUDIT=AUDIT
constants.DataTypes.NUMERIC=3
constants.EventType.EventTypeNames.SYSTEM=SYSTEM
constants.AuditEventType.TYPE_DATA_SOURCE=DATA_SOURCE
constants.DataTypes.MULTISTATE=2 -
Mixed Logging change + interval
I think it would be very useful to have a mixed logging type based on point change with added interval logging:
If a point change its value, log it, if it as not changed its value for more than x seconds/minutes/hours then log it.
This kind of logging, IMVHO, could help to keep the best from both logging type :
- track any useful "rapid" change of point value
- keep track of a point value at least any x minutes/seconds/hours
- Improve charts views when the point value changes infrequently
- Improve data export/download when point value has not changed over the selected time range
With this type of logging we could set a "coarse" interval logging (to limit storage of unuseful data) but still be sure to track any relevant point change.
Regards
Fabrizio -
RE: Mixed Logging change + interval
I think it would be very useful to have a mixed logging type based on point change with added interval logging:
If a point change its value, log it, if it as not changed its value for more than x seconds/minutes/hours then log it.
This kind of logging, IMVHO, could help to keep the best from both logging type :
- track any useful "rapid" change of point value
- keep track of a point value at least any x minutes/seconds/hours
- Improve charts views when the point value changes infrequently
- Improve data export/download when point value has not changed over the selected time range
With this type of logging we could set a "coarse" interval logging (to limit storage of unuseful data) but still be sure to track any relevant point change.
Regards
Fabrizio -
RE: Converting from Derby to MySQL
@gus said:
Hello, I am having trouble converting to MySQL - I have tried all the above and no success - I am running version 1.12.4. Logs as follows:
un 9, 2011 2:05:30 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Jun 9, 2011 2:05:30 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener
java.lang.IllegalArgumentException: No enum const class com.serotonin.mango.db.DatabaseAccess$DatabaseType.MYSQL
at java.lang.Enum.valueOf(Enum.java:214)I had the same problem: I solved this removing the trailing spaces at every lines of env.properties
in my file (probably after a cut&paste from somewhere) I noticed that:
my db.type=mysql was ->> db.type=mysql[space][space]after deleting the trailing spaces from every lines (I noticed the same problem on username/password and host)the conversion process worked like a charme!
I hope this could help someone else.Regards
-
Bug? Point Change detector, alias and email event handler
Hi All,
I don't know if this is a bug or a normal behavior, if I set the "alias" field in a point change detector (with alarm information level), the email that came out from an email event handler doesn't contain any details about the change.
to be more clear:(in thi example "ConfigurationChange" is my alias to a change detector of a point named "Configuration")
If I set the alias field the email body will contain:[alarm info flag] - [alarm timestamp] - ConfigurationChange
If I don't set anything in the alias field, the email body is more verbose:
[alarm info flag] - [alarm timestamp] - Configuration has changed from XXX to YYY
is that normal?
Regards.
Fabrizio -
RE: Bug? Point Change detector, alias and email event handler
Hi All,
I don't know if this is a bug or a normal behavior, if I set the "alias" field in a point change detector (with alarm information level), the email that came out from an email event handler doesn't contain any details about the change.
to be more clear:(in thi example "ConfigurationChange" is my alias to a change detector of a point named "Configuration")
If I set the alias field the email body will contain:[alarm info flag] - [alarm timestamp] - ConfigurationChange
If I don't set anything in the alias field, the email body is more verbose:
[alarm info flag] - [alarm timestamp] - Configuration has changed from XXX to YYY
is that normal?
Regards.
Fabrizio