Jira 9.5.x updates seem to have broken our integration build based on a generated zip with awkward to automate stuff like workflows. AMPS builds find on 9.4.x on 9.5.0 we get:
The write format 1 is smaller than the supported format 2
Without the zip data, amps boots fine so clearly some upgrade in h2db has occurred.
For the benefit of others, the path is pretty simply, just connect to the old h2 db using the older 1.4.x tools (eg 1.4.200 from Archive Downloads ) then export the db to a script (typically user is: sa , empty pass):
Create a sql dump
SCRIPT to '~/h2db.sql'
Create an empty h2 db
http://www.h2database.com/html/tutorial.html#creating_new_databases
From the h2 v2.x.x /bin/ folder:
java -cp h2-*.jar org.h2.tools.Shell
Key in the detail
Welcome to H2 Shell 2.1.214 (2022-06-13)
Exit with Ctrl+C
[Enter] jdbc:h2:file:/home/andy/h2tests/h2db
URL jdbc:h2:~/newhd2b
[Enter]
Driver org.h2.Driver
[Enter] sa
User
Password
Type the same password again to confirm database creation.
Password
Connected
Commands are case insensitive; SQL statements end with ';'
help or ? Display this help
list Toggle result list / stack trace mode
maxwidth Set maximum column width (default is 100)
autocommit Enable or disable autocommit
history Show the last 20 statements
quit or exit Close the connection and exit
sql> quit
Connection closed
Relaunch the 2.1.x /bin/h2.sh and load the above clean db
RUNSCRIPT FROM '/home/andy/h2tests.sql'
At which point, in theory, put your zip back together and retry amps with 9.5.0, works for me!