<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Version upgrade"]]></title>
		<link>http://mango.serotoninsoftware.com/forum/posts/list/2.page</link>
		<description><![CDATA[Latest messages posted in the topic "Version upgrade"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Version upgrade</title>
				<description><![CDATA[ I try to upgrade version 1.60 to version 1.64 and get follows error:<br /> [code]:<br /> 2009-sep-09 13:56:07 org.apache.catalina.core.AprLifecycleListener init<br /> INFO: Loaded Apache Tomcat Native library 1.1.12.<br /> 2009-sep-09 13:56:07 org.apache.catalina.core.AprLifecycleListener init<br /> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].<br /> 2009-sep-09 13:56:08 org.apache.coyote.http11.Http11AprProtocol init<br /> INFO: Initializing Coyote HTTP/1.1 on http-8080<br /> 2009-sep-09 13:56:08 org.apache.coyote.ajp.AjpAprProtocol init<br /> INFO: Initializing Coyote AJP/1.3 on ajp-8009<br /> 2009-sep-09 13:56:08 org.apache.catalina.startup.Catalina load<br /> INFO: Initialization processed in 1143 ms<br /> 2009-sep-09 13:56:08 org.apache.catalina.core.StandardService start<br /> INFO: Starting service Catalina<br /> 2009-sep-09 13:56:08 org.apache.catalina.core.StandardEngine start<br /> INFO: Starting Servlet Engine: Apache Tomcat/6.0.14<br /> 2009-sep-09 13:56:09 org.apache.catalina.core.ApplicationContext log<br /> INFO: Initializing Spring root WebApplicationContext<br /> INFO  2009-09-09 13:56:09,562 (org.springframework.web.context.ContextLoader.initWebApplicationContext:189) - Root WebApplicationContext: initialization started <br /> INFO  2009-09-09 13:56:09,640 (org.springframework.context.support.AbstractApplicationContext.prepareRefresh:412) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@18f1d7e: display name [Root WebApplicationContext]; startup date [Wed Sep 09 13:56:09 CEST 2009]; root of context hierarchy <br /> INFO  2009-09-09 13:56:09,750 (org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:323) - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] <br /> INFO  2009-09-09 13:56:09,812 (org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory:427) - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@18f1d7e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@161dfb5 <br /> INFO  2009-09-09 13:56:09,937 (org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons:414) - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@161dfb5: defining beans [CompoundEventsDwr,DataPointDetailsDwr,DataPointEditDwr,DataSourceEditDwr,DataSourceListDwr,EmportDwr,EventHandlersDwr,EventsDwr,MailingListsDwr,MiscDwr,PointHierarchyDwr,PublisherEditDwr,PublisherListDwr,ReportsDwr,ScheduledEventsDwr,SystemSettingsDwr,UsersDwr,ViewDwr,WatchListDwr,localeResolver,messageSource]; root of factory hierarchy <br /> INFO  2009-09-09 13:56:10,109 (org.springframework.web.context.ContextLoader.initWebApplicationContext:209) - Root WebApplicationContext: initialization completed in 547 ms <br /> INFO  2009-09-09 13:56:10,109 (com.serotonin.mango.MangoContextListener.contextInitialized:73) - Mango context starting <br /> INFO  2009-09-09 13:56:10,343 (com.serotonin.mango.db.DerbyAccess.initializeImpl:69) - Initializing derby connection manager <br /> WARN  2009-09-09 13:56:12,312 (com.serotonin.mango.db.upgrade.DBUpgrade.checkUpgrade:81) - Upgrading instance from 1.6.0 to 1.6.1 <br /> INFO  2009-09-09 13:56:12,328 (com.serotonin.mango.db.upgrade.Upgrade1_6_0.upgrade:43) - Running script 1 <br /> INFO  2009-09-09 13:56:14,562 (com.serotonin.mango.db.upgrade.Upgrade1_6_0.upgrade:49) - Running script 2 <br /> WARN  2009-09-09 13:56:15,671 (com.serotonin.mango.db.upgrade.DBUpgrade.checkUpgrade:81) - Upgrading instance from 1.6.1 to 1.6.2 <br /> INFO  2009-09-09 13:56:15,750 (com.serotonin.mango.db.upgrade.Upgrade1_6_1.upgrade:36) - Running script 1 <br /> WARN  2009-09-09 13:56:18,546 (com.serotonin.mango.db.upgrade.DBUpgrade.checkUpgrade:81) - Upgrading instance from 1.6.2 to 1.6.3 <br /> INFO  2009-09-09 13:56:18,546 (com.serotonin.mango.db.upgrade.Upgrade1_6_2.upgrade:40) - Running script 1 <br /> WARN  2009-09-09 13:56:18,656 (com.serotonin.mango.db.upgrade.DBUpgrade.checkUpgrade:81) - Upgrading instance from 1.6.3 to 1.6.4 <br /> INFO  2009-09-09 13:56:18,671 (com.serotonin.mango.db.upgrade.Upgrade1_6_3.upgrade:40) - Running script 1 <br /> INFO  2009-09-09 13:56:18,687 (com.serotonin.mango.db.upgrade.Upgrade1_6_3.upgrade:43) - Running script 2 <br /> INFO  2009-09-09 13:56:18,734 (com.serotonin.mango.db.upgrade.DBUpgrade.checkUpgrade:76) - Starting instance with version 1.6.4 <br /> INFO  2009-09-09 13:56:19,906 (org.quartz.simpl.SimpleThreadPool.initialize:258) - Job execution threads will use class loader of thread: Thread-1 <br /> INFO  2009-09-09 13:56:19,937 (org.quartz.core.SchedulerSignalerImpl.&lt;init&gt;:63) - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl <br /> INFO  2009-09-09 13:56:19,937 (org.quartz.core.QuartzScheduler.&lt;init&gt;:215) - Quartz Scheduler v.1.6.3 created. <br /> INFO  2009-09-09 13:56:19,937 (org.quartz.simpl.RAMJobStore.initialize:141) - RAMJobStore initialized. <br /> INFO  2009-09-09 13:56:19,937 (org.quartz.impl.StdSchedulerFactory.instantiate:1224) - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' <br /> INFO  2009-09-09 13:56:19,937 (org.quartz.impl.StdSchedulerFactory.instantiate:1228) - Quartz scheduler version: 1.6.3 <br /> INFO  2009-09-09 13:56:19,937 (org.quartz.core.QuartzScheduler.start:461) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. <br /> INFO  2009-09-09 13:56:19,984 (org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:323) - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] <br /> INFO  2009-09-09 13:56:20,046 (org.springframework.jdbc.support.SQLErrorCodesFactory.&lt;init&gt;:128) - SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase] <br /> 2009-sep-09 13:56:20 org.apache.catalina.core.StandardContext listenerStart<br /> ALLVARLIG: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener<br /> org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select id, typeId, typeRef1, typeRef2, activeTs, rtnApplicable, rtnTs, rtnCause, alarmLevel, message from events where rtnApplicable=? and rtnTs is null]; nested exception is java.sql.SQLSyntaxErrorException: Column 'RTNTS' is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE  statement then 'RTNTS' is not a column in the target table.<br /> 	at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.translate(SQLExceptionSubclassTranslator.java:78)<br /> 	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:237)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:606)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:640)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:669)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:677)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:709)<br /> 	at com.serotonin.db.spring.ExtendedJdbcTemplate.query(ExtendedJdbcTemplate.java:140)<br /> 	at com.serotonin.db.DaoUtils.query(DaoUtils.java:172)<br /> 	at com.serotonin.mango.db.dao.EventDao.getActiveEvents(EventDao.java:141)<br /> 	at com.serotonin.mango.rt.EventManager.initialize(EventManager.java:237)<br /> 	at com.serotonin.mango.MangoContextListener.eventManagerInitialize(MangoContextListener.java:324)<br /> 	at com.serotonin.mango.MangoContextListener.contextInitialized(MangoContextListener.java:88)<br /> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)<br /> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)<br /> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)<br /> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)<br /> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)<br /> 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)<br /> 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)<br /> 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)<br /> 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)<br /> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)<br /> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)<br /> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)<br /> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)<br /> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)<br /> 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)<br /> 	at org.apache.catalina.core.StandardService.start(StandardService.java:516)<br /> 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)<br /> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)<br /> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> 	at java.lang.reflect.Method.invoke(Method.java:597)<br /> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)<br /> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)<br /> Caused by: java.sql.SQLSyntaxErrorException: Column 'RTNTS' is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE  statement then 'RTNTS' is not a column in the target table.<br /> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement40.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.jdbc.Driver40.newEmbedPreparedStatement(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)<br /> 	at org.springframework.jdbc.core.JdbcTemplate$SimplePreparedStatementCreator.createPreparedStatement(JdbcTemplate.java:1309)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:584)<br /> 	... 34 more<br /> Caused by: java.sql.SQLException: Column 'RTNTS' is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE  statement then 'RTNTS' is not a column in the target table.<br /> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)<br /> 	... 49 more<br /> Caused by: ERROR 42X04: Column 'RTNTS' is either not in any table in the FROM list or appears within a join specification and is outside the scope of the join specification or appears in a HAVING clause and is not in the GROUP BY list. If this is a CREATE or ALTER TABLE  statement then 'RTNTS' is not a column in the target table.<br /> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.ColumnReference.bindExpression(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.ResultColumn.bindExpression(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.ResultColumnList.bindExpressions(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.SelectNode.bindExpressions(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.DMLStatementNode.bindExpressions(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)<br /> 	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)<br /> 	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)<br /> 	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)<br /> 	... 43 more<br /> 2009-sep-09 13:56:20 org.apache.catalina.core.StandardContext start<br /> ALLVARLIG: Error listenerStart<br /> 2009-sep-09 13:56:20 org.apache.catalina.core.StandardContext start<br /> ALLVARLIG: Context [] startup failed due to previous errors<br /> INFO  2009-09-09 13:56:20,062 (com.serotonin.mango.MangoContextListener.contextDestroyed:101) - Mango context terminating <br /> 2009-sep-09 13:56:20 org.apache.catalina.core.StandardContext listenerStop<br /> ALLVARLIG: Exception sending context destroyed event to listener instance of class com.serotonin.mango.MangoContextListener<br /> org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [insert into events (typeId, typeRef1, typeRef2, activeTs, rtnApplicable, rtnTs, rtnCause, alarmLevel, message) values (?,?,?,?,?,?,?,?,?)]; nested exception is java.sql.SQLSyntaxErrorException: 'RTNTS' is not a column in table or VTI 'APP.EVENTS'.<br /> 	at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.translate(SQLExceptionSubclassTranslator.java:78)<br /> 	at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.translate(SQLErrorCodeSQLExceptionTranslator.java:237)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:606)<br /> 	at com.serotonin.db.spring.ExtendedJdbcTemplate.update(ExtendedJdbcTemplate.java:164)<br /> 	at com.serotonin.db.spring.ExtendedJdbcTemplate.update(ExtendedJdbcTemplate.java:134)<br /> 	at com.serotonin.db.spring.ExtendedJdbcTemplate.update(ExtendedJdbcTemplate.java:130)<br /> 	at com.serotonin.db.DaoUtils.doInsert(DaoUtils.java:150)<br /> 	at com.serotonin.mango.db.dao.EventDao.insertEvent(EventDao.java:92)<br /> 	at com.serotonin.mango.db.dao.EventDao.saveEvent(EventDao.java:63)<br /> 	at com.serotonin.mango.rt.EventManager.raiseEvent(EventManager.java:96)<br /> 	at com.serotonin.mango.rt.event.type.SystemEventType.raiseEvent(SystemEventType.java:91)<br /> 	at com.serotonin.mango.MangoContextListener.contextDestroyed(MangoContextListener.java:105)<br /> 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3869)<br /> 	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4503)<br /> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4367)<br /> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)<br /> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)<br /> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)<br /> 	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)<br /> 	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)<br /> 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)<br /> 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)<br /> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)<br /> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)<br /> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)<br /> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)<br /> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)<br /> 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)<br /> 	at org.apache.catalina.core.StandardService.start(StandardService.java:516)<br /> 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)<br /> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:566)<br /> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br /> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br /> 	at java.lang.reflect.Method.invoke(Method.java:597)<br /> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)<br /> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)<br /> Caused by: java.sql.SQLSyntaxErrorException: 'RTNTS' is not a column in table or VTI 'APP.EVENTS'.<br /> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement40.&lt;init&gt;(Unknown Source)<br /> 	at org.apache.derby.jdbc.Driver40.newEmbedPreparedStatement(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)<br /> 	at com.serotonin.db.spring.KeyGeneratingPreparedStatementCreator.createPreparedStatement(KeyGeneratingPreparedStatementCreator.java:21)<br /> 	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:584)<br /> 	... 34 more<br /> Caused by: java.sql.SQLException: 'RTNTS' is not a column in table or VTI 'APP.EVENTS'.<br /> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)<br /> 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)<br /> 	... 49 more<br /> Caused by: ERROR 42X14: 'RTNTS' is not a column in table or VTI 'APP.EVENTS'.<br /> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.ResultColumn.bindResultColumnByName(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.ResultColumnList.bindResultColumnsByName(Unknown Source)<br /> 	at org.apache.derby.impl.sql.compile.InsertNode.bindStatement(Unknown Source)<br /> 	at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)<br /> 	at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)<br /> 	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)<br /> 	... 43 more<br /> 2009-sep-09 13:56:20 org.apache.catalina.core.ApplicationContext log<br /> INFO: Closing Spring root WebApplicationContext<br /> INFO  2009-09-09 13:56:20,140 (org.springframework.context.support.AbstractApplicationContext.doClose:816) - Closing org.springframework.web.context.support.XmlWebApplicationContext@18f1d7e: display name [Root WebApplicationContext]; startup date [Wed Sep 09 13:56:09 CEST 2009]; root of context hierarchy <br /> INFO  2009-09-09 13:56:20,140 (org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons:392) - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@161dfb5: defining beans [CompoundEventsDwr,DataPointDetailsDwr,DataPointEditDwr,DataSourceEditDwr,DataSourceListDwr,EmportDwr,EventHandlersDwr,EventsDwr,MailingListsDwr,MiscDwr,PointHierarchyDwr,PublisherEditDwr,PublisherListDwr,ReportsDwr,ScheduledEventsDwr,SystemSettingsDwr,UsersDwr,ViewDwr,WatchListDwr,localeResolver,messageSource]; root of factory hierarchy <br /> 2009-sep-09 13:56:20 org.apache.coyote.http11.Http11AprProtocol start<br /> INFO: Starting Coyote HTTP/1.1 on http-8080<br /> 2009-sep-09 13:56:20 org.apache.coyote.ajp.AjpAprProtocol start<br /> INFO: Starting Coyote AJP/1.3 on ajp-8009<br /> 2009-sep-09 13:56:20 org.apache.catalina.startup.Catalina start<br /> INFO: Server startup in 12378 ms<br /> [/code]<br /> <br /> Bot]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/870.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/870.page</link>
				<pubDate><![CDATA[Wed, 9 Sep 2009 08:14:06]]> GMT</pubDate>
				<author><![CDATA[ Bot]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ Very strange. The error says that the field "RTNTS" is missing from you Events table in your database. But, this field was added in version 1.5.0, so if it's not there your 1.6.0 installation couldn't have worked.]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/871.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/871.page</link>
				<pubDate><![CDATA[Wed, 9 Sep 2009 13:49:26]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ Now I have tray to upgrade version to version , and when I upgrade from<br /> version 1.60 to version 1.61 a get the errors that I write about before.<br /> Version 1.60 works any idea?<br /> <br /> <br /> <br /> <br /> <br /> <br /> Bot]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/872.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/872.page</link>
				<pubDate><![CDATA[Wed, 9 Sep 2009 15:34:43]]> GMT</pubDate>
				<author><![CDATA[ Bot]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ If 1.6.1 doesn't work for that reason, 1.6.0 shouldn't work either. Check a few things:<br /> <br /> 1) That your 1.6.0 instance really is that version by looking on the system settings page.<br /> 2) That your database has that field by going to the sql page and running "select * from events" and finding the RTNTS field.<br /> 3) That the respective versions are in fact pointing to the same database instance. The value is in the WEB-INF/classes/env.properties file, called "db.url".]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/873.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/873.page</link>
				<pubDate><![CDATA[Wed, 9 Sep 2009 17:28:29]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ Answer:<br /> <br /> 1) The data instance version is 1.6.0.<br /> <br /> 2) The database has no  RTNTS field.<br /> <br /> 3) The env.properties file db.url=C:/tomcat/apache-tomcat-6.0.14/mangodb.<br /> <br /> I have look into the script for create database from scratch, and I find the RTNS field into version 1.6.1?(createTables-derby.sql).<br /> <br /> There must be a bug in upgrade funktion or scripts.<br /> <br /> <br /> <br /> <br /> Bot ]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/874.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/874.page</link>
				<pubDate><![CDATA[Thu, 10 Sep 2009 09:57:05]]> GMT</pubDate>
				<author><![CDATA[ Bot]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ The code that upgrades from version 1.5.0 to 1.6.0 (Upgrade1_5_0.java) contains these lines:<br /> <br /> [code]        "alter table events add rtnTs bigint;",<br />         "alter table events add rtnCause int;",[/code]<br /> <br /> (So, the field was introduced in version 1.6.0, not 1.5.0. My mistake, but it doesn't change our situation right now.)<br /> <br /> If the instance was properly upgraded to 1.6.0 the field would be there. Also, the 1.6.0 code expects that field to be there, so you should be seeing errors if it's not. The upgrade code creates an output file called Upgrade1_5_0.log. Can you search for this and see if it lists any errors?]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/875.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/875.page</link>
				<pubDate><![CDATA[Thu, 10 Sep 2009 10:10:51]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ Upgrade1_5_0.log<br /> <br /> <br /> [code]:ij&gt; alter table pointEventDetectors add alias varchar(255);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table eventHandlers add alias varchar(255);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table dataSources add column xid varchar(20);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table dataPoints add column xid varchar(20);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table pointEventDetectors add column xid varchar(20);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table pointEventDetectors add stateLimit double;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; update pointEventDetectors set stateLimit=limit;<br /> 128 rows inserted/updated/deleted<br /> ij&gt; alter table pointEventDetectors drop limit;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table compoundEventDetectors add conditionText varchar(256);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; update compoundEventDetectors set conditionText=condition;<br /> 1 row inserted/updated/deleted<br /> ij&gt; alter table compoundEventDetectors drop condition;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table compoundEventDetectors alter conditionText not null;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table mangoViewUsers add constraint mangoViewUsersFk1 foreign key (mangoViewId) references mangoViews(id) on delete cascade;<br /> ERROR 42915: Foreign  Key 'MANGOVIEWUSERSFK1' is invalid because 'the delete rule of foreign key  must be NO ACTION. (The relationship would cause the table to be delete-connected to the same table through multiple relationships and such relationships must have the same delete rule (NO ACTION, RESTRICT or CASCADE).) '. <br /> ij&gt; alter table mangoViewUsers add constraint mangoViewUsersFk2 foreign key (userId) references users(id) on delete cascade;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table mangoViews add column data blob;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table events add rtnTs bigint;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table events add rtnCause int;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; create table userEvents (<br />   eventId int not null,<br />   userId int not null,<br />   silenced char(1) not null,<br />   ackTs bigint<br /> );<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table userEvents add constraint userEventsPk primary key (eventId, userId);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table userEvents add constraint userEventsFk1 foreign key (eventId) references events(id) on delete cascade;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table userEvents add constraint userEventsFk2 foreign key (userId) references users(id) on delete cascade;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; create table reportInstanceEvents (<br />   eventId int not null,<br />   reportInstanceId int not null,<br />   typeId int not null,<br />   typeRef1 int not null,<br />   typeRef2 int not null,<br />   activeTs bigint not null,<br />   rtnApplicable char(1) not null,<br />   rtnTs bigint,<br />   rtnCause int,<br />   alarmLevel int not null,<br />   message clob<br /> );<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table reportInstanceEvents add constraint reportInstanceEventsPk primary key (eventId, reportInstanceId);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table reportInstanceEvents add constraint reportInstanceEventsFk1 foreign key (reportInstanceId)<br />   references reportInstances(id) on delete cascade;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table reportInstances add includeEvents int;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; update reportInstances set includeEvents=1;<br /> 0 rows inserted/updated/deleted<br /> WARNING 02000: No row was found for FETCH, UPDATE or DELETE; or the result of a query is an empty table.<br /> ij&gt; alter table reportInstances alter includeEvents not null;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table systemSettings add settingValueOld varchar(255);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; update systemSettings set settingValueOld=settingValue;<br /> 20 rows inserted/updated/deleted<br /> ij&gt; alter table systemSettings drop settingValue;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table systemSettings add settingValue clob;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; update systemSettings set settingValue=settingValueOld;<br /> 20 rows inserted/updated/deleted<br /> ij&gt; alter table systemSettings drop settingValueOld;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; create table watchListUsers (<br />   watchListId int not null,<br />   userId int not null,<br />   accessType int not null<br /> );<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table watchListUsers add constraint watchListUsersPk primary key (watchListId, userId);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table watchListUsers add constraint watchListUsersFk1 foreign key (watchListId) references watchLists(id) on delete cascade;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table watchListUsers add constraint watchListUsersFk2 foreign key (userId) references users(id) on delete cascade;<br /> 0 rows inserted/updated/deleted<br /> ij&gt; alter table users add homeUrl varchar(255);<br /> 0 rows inserted/updated/deleted<br /> ij&gt; <br /> [/code]<br /> <br /> Bot]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/876.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/876.page</link>
				<pubDate><![CDATA[Thu, 10 Sep 2009 11:07:59]]> GMT</pubDate>
				<author><![CDATA[ Bot]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ The log says the field was created:<br /> <br /> [code]ij&gt alter table events add rtnTs bigint;<br />  0 rows inserted/updated/deleted<br /> [/code]<br /> <br /> But you confirmed that it's not actually there. Can you confirm that other operations (like &quot;alter table events add rtnCause int&quot;, and &quot;alter table pointEventDetectors add alias varchar(255)&quot;) where also not done, or is the rtnTs field an isolated thing?<br /> <br /> I don't think there is a bug in the upgrade anywhere since other users would have had the same problem, and believe me we would have heard about it by now.<br /> <br /> If you find that there are other script statements that were apparently not executed, you might consider changing your database version back to 1.5.0 and upgrading to 1.6.0 again.]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/877.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/877.page</link>
				<pubDate><![CDATA[Thu, 10 Sep 2009 14:05:22]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:Version upgrade</title>
				<description><![CDATA[ I delete installation of tomcat and mango, then I make a new installation of both tomcat 6.0.14 and mango version1.6.1.<br /> Now its work, there must be some corrupted files with old installation.<br /> Thanks for your help.<br /> <br /> <br /> Bot]]></description>
				<guid isPermaLink="true">http://mango.serotoninsoftware.com/forum/posts/preList/197/878.page</guid>
				<link>http://mango.serotoninsoftware.com/forum/posts/preList/197/878.page</link>
				<pubDate><![CDATA[Thu, 10 Sep 2009 18:49:11]]> GMT</pubDate>
				<author><![CDATA[ Bot]]></author>
			</item>
	</channel>
</rss>
