I encountered Java error while installing Pega Platform 8.72 by executing “./install.sh”
The error message is below.
==============================
BUILD FAILED
/opt/pega/scripts/setupDatabase.xml:465: The following error occurred while executing this line:
/opt/pega/scripts/setupDatabase.xml:2347: Java returned: 1
==============================
For Your Information, Environment Variables are below
Hi, Support.
I’m Yuki’s coworker and I would like to add additional information on this issue so that anyone could figure out the reason of this error.
failed part of the setupDatabase.properties is below.
@YukiK338@YukikoM6 if you’re in a hurry to get an answer and other forum users do not provide any input please could I ask that you log a support incident for this on the My Support Portal?
Please provide the INC reference here so that we can help track the path to a resolution.
I checked the progress on the support ticket (now closed) and can see that the issue was resolved two months ago with the following advice:
Note: It is completely ok to have multiple java installations. The java version defined in path variable will be taken into consideration.
As per the logs shared:
log1:
Error indicates that the table that is being created as part of installation process, already exist in Database. This might be because the installation have been tried multiple times without clearing DB schema.
Log2:
Error indicates that tablespace in DB is insufficient.
Recommendation 1:
Whenever the installation process is fails, clear the DB schema (both rules and data) before proceed with re-installation.
Recommendation 2:
Contact DBA for table space issue.
We had no further input and therefore assume that the issue was resolved. It will help other forum users if you could mark ‘Accept Solution’ to my reply here if the recommendations provided helped you and could help other users in future.