Are you sure that is the correct fop2.cfg file? You mention that you have upgraded fop2. From what version to what version? The autoconfig script called on that config file is NOT for the last fop2 version available.
Try this and paste results:
/usr/local/fop2/fop2_server -v
cat /etc/sysconfig/fop2
Best regards,