/app/pega/install/114716_Pega717/scripts/setupDatabase.xml:618: Problem: failed to create task or type propertyfile
Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
Total time: 0 seconds
Ant Process returned a non 0 value
Check to see if the user who is trying to run the install has a version of ANT on the classpath. There is a version of ant that comes with the media in the scripts/bin directory that needs to be used for the install. Reset this users classspath to not include ant and then retry the install script.
PUT_IN_THE_REAL_PATH_HERE/bin/ant" $ANT_PROPS -f ./setupDatabase.xml install -noclasspath 2>&1 | tee $logfile
Where PUT_IN_THE_REAL_PATH_HERE is what you should replace with the actual real path (it's not a variable I mean).
I'm not sure what is going on in your case; but it looks like the 'ant' script in the <prpc-media>\scripts\bin directory does this:
# load system-wide ant configuration (ONLY if ANT_HOME has NOT been set)
if [ -z "$ANT_HOME" -o "$ANT_HOME" = "/usr/share/ant" ]; then
if [ -f "/etc/ant.conf" ] ; then
And I'm not sure whether this is causing it to pick up other settings from another copy of ant installed on this system ? (hence the first thing to try and do is force the ANT_HOME to pickup the one in the media - which should then [I think] stop it picking up the system-wide ant configuration).
The second change is just to make it more obvious to us which exact 'ant' file is being picked-up - the script actually looks correct to me ("$0" should find the location of the 'install.sh' script and then locate the subdirectory 'bin' - but maybe this isn't working properly somehow?)