Closed JYOSHREDDY closed 1 month ago
The temporary solution is to change the H2 database by adding $HOME/geoweaver/application.properties and overwrite the H2 database file to another folder, and reimport all the data using SQL file exportation and importation.
(base) joe@jS-M1 ~ % cat geoweaver/application.properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.event.merge.entity_copy_observer=allow
spring.datasource.url=jdbc:h2:file:~/h2_hopper/gw;AUTO_SERVER=true;INIT=create domain if not
exists
jsonb as text
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=geoweaver
spring.datasource.password=DFKHH9V6ME
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
spring.h2.console.path=/h2_console
In this case, should either use more production ready database like PostgreSQL, or need to fix the login node IP by always using the same node to login via IP address. Don't trust your hopper domain login URL.