>PROBLEM Creating a persistence.xml file having two persistence units caused the following Wildfly’s error message: Caused by: java.lang.IllegalArgumentException: WFLYJPA0061: Persistence unitName was not specified and there are 2 persistence unit definitions in application deployment deployment “todos.war”. Either change the application deployment to have only one persistence unit definition or specify the unitName for each … Read More “WILDFLY/JBOSS: WFLYJPA0061: Persistence unitName was not specified and double persistence unit definitions” »
Tag: jboss
java
database, server
ENVIRONMENT Java 13 Wildfly 18 Windows 10 / *Nix (also applicable adapting the commands) DRIVER CONFIGURATION The trick is to match the requirements of the participants. They are: – the application server’s (the way it requires the configuration) – the target database version (type of database and version) – the driver compatible with the target … Read More “WILDFLY/JBOSS: POSTGRESQL AND MYSQL DATASOURCE CONFIGURATION” »