If the version of a PostgreSQL server changes, it is required to upgrade the version manually. This can e.g. happen, if you do a release upgrade of your Linux distribution. The below description explains how to use PostgreSQL pg_upgradecluster to upgrade PostgreSQL 9.6 from Debian Stretch (Debian 9) to PostgreSQL 11 of Debian Buster (Debian 10).
Continue reading “PostgreSQL pg_upgradecluster”Category: Java
Java stuff
Migrate nextcloud database
This post describes how to migrate the nextcloud database from one database type to another. In this particular case I describe the migration from MySQL / MariaDB to Postgresql.
Continue reading “Migrate nextcloud database”Hibernate UUID issues on Postgres 10
After updating a database from Postgres 9.6 to 10 all applications stopped working. The error message in the server log file is “Unable to load requested class: pg-uuid”.
Set UTF-8 encoding on Netbeans
Update Netbeans file encoding
If you use an operating system which default file encoding is not UTF-8 (e.g. Windows) it is sometimes beneficial to change the file encoding NetBeans IDE will use.
Install Activiti on postgresql
To install Activiti on PostgreSQL, the following steps need to be executed.
Tomcat: split catalina_home and catalina_base
Introduction
Catalina_home is the tomcat installation (unzipped archive), catalina_base is the folder of a server instance. By default, catalina_base is set to catalina_home. But when it comes to upgrading Tomcat installation, having the possibility to roll back or to run more than one instance of Tomcat on the same server, it is easier to separate those two folders from each other. Continue reading “Tomcat: split catalina_home and catalina_base”
Maven: update context root in EAR
Introduction
When using Maven3 to build your enterprise application containing an war file, the war file’s context root is set as
<artifactId>-<version>
If you want to overwrite this root context, you can do this in the EAR’s pom.xml. Continue reading “Maven: update context root in EAR”