Description | This article describes how to resolve the AppSvr error 'Unable to build Hibernate SessionFactory', which occurs during an upgrade. |
Scope | FortiSIEM. |
Solution |
While performing an upgrade, the upgrade fails, and the following errors have been observed in the upgrade logs.
Log location: /usr/local/upgrade/logs/ansible.log [1;31m[13:23:17] ↳ appserver : APPSERVER | Deploying EAR file into glassfish domain1 using the standard approach ...| localhost | FAILED | 1m1s
There are multiple methods to resolve this error during the upgrade.
Method 1:
profile.on dbvip
cd /usr/local/upgrade ansible-playbook post-upgrade.yml --start-at-task="<task_name>" | tee -a /usr/local/upgrade/logs/ansible_continued_upgrade.log
The 'task_name' can be found with the following command:
ansible-playbook --list-task post-upgrade.yml
Method 2:
cat /tmp/passwords.txt
Locate the following line: <property name="password" value="${ALIAS=phdbpwd}"></property>
Change it to <password_as_noted_above> without <,>.
<property name="password" value="<password_as_noted_above>"></property> Save the file:
cd /usr/local/upgrade ansible-playbook post-upgrade.yml --start-at-task="<task_name>" | tee -a /usr/local/upgrade/logs/ansible_continued_upgrade.log
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.