Page History
Symptoms
The error, "Use of the executeUpdate(String) method is not supported on this type of statement.," is found in the uptime.log file during the time of the upgrade. This error will also appear appears each time you attempt to start the Uptime Data Collector service.
Solutions
Please choose from the following solutions based on the platform used by your Uptime Infrastructure Manager UIM Datastore.
Upgrading to Uptime 7.6 with a MS SQL datastore
There is a known issue upgrading to Uptime UIM 7.6 from all supported versions of up.time, 7.4.0, 7.5.0 build 19, and 7.5.0 build 22. UIM. This issue can be verified by checking for the error, "Use of the executeUpdate(String) method is not supported on this type of statement.," in the uptime.log file during the time of the upgrade and the error will also appear appears each time you attempt to start the Uptime Data Collector service.
To resolve, please perform the following steps. Each .sql file mentioned is attached to this article. Please see this document for starting and stopping the services: http://docs.uptimesoftware.com/x/z4BFFor more information, see Starting (or restarting) and Stopping Uptime Infrastructure Monitor.
- Stop the UIM Data Collector and UIM stop the up.time Data Collector and up.time Controller services (or uptime_core and uptime_controller on Linux).
- execute Execute the SQL statements contained in revert75.sql in the MS SQL Uptime database
- try starting the up.time Data Collector service again. It will fail but will have performed some necessary upgrade steps
- run the SQL statements contained in uptime76_patch_mssql_1_alter.sql
- once the statements from uptime76_patch_mssql_1_alter.sql are complete, run the statements in uptime76_patch_mssql_2_update.sql
- start the up.time Data Collector and up.time Controller services (or uptime_core and uptime_controller on Linux) Uptime should start properly now.
Upgrading to Uptime Uptime 7.6 from up.time 7.5 build 19 with a MySQL datastore
There is an issue upgrading to Uptime 7.6 from up.time 7.5 build 19 using a MySQL datastore but upgrades from up.time 7.4 and up.time 7.5 build 22 should complete successfully. To resolve the issue experienced with up.time 7.5 build 19, perform the following steps. Each .sql file mentioned is attached to this article. Please see this document for starting and stopping the services: http://docs.uptimesoftware.com/x/z4BF
- stop the up.time Data Collector and up.time Controller services (or uptime_core and uptime_controller on Linux)
- open the MySQL client
- cd <uptime_dir>
...
- execute the SQL statements contained in revert75.sql in the MySQL client
- start the up.time Data Collector and up.time Controller services (or uptime_core and uptime_controller on Linux) Uptime should start properly now.
Upgrading to Uptime 7.6 with a Oracle datastore
A similar issue to the one seen with MS SQL datastores exists with Oracle datastores. This issue affects all supported up.time versions upgrading to Uptime 7.6. To resolve, perform the following steps. Each .sql file mentioned is attached to this article. Please see this document for starting and stopping the services: http://docs.uptimesoftware.com/x/z4BF
- stop the up.time Data Collector and up.time Controller services (or uptime_core and uptime_controller on Linux)
- execute the SQL statements contained in revert75.sql in the Oracle Uptime database
- try starting the up.time Data Collector service again. It will fail but will have performed some necessary upgrade steps
- run the SQL statements contained in uptime76_patch_oracle.sql
- start the up.time Data Collector and up.time Controller services (or uptime_core and uptime_controller on Linux) Uptime should start properly now.