Hello @Apurva1_12
For non-PDF to PDF conversion on AEM Forms running on Linux, a blank / null response usually points to an OpenOffice / PDF Generator configuration issue, even if OpenOffice is installed and the SRT has been run.
From what you described, I would recommend checking the following items carefully:
-
Verify the supported OpenOffice version Make sure the OpenOffice version installed is one of the versions supported for your AEM Forms release.
-
Launch OpenOffice manually at least once On Linux, OpenOffice can sometimes show first-run dialogs or profile prompts.
Start OpenOffice manually using the same OS user that AEM/PDF Generator uses, dismiss any dialogs, then close it cleanly.
-
Check the OpenOffice_PATH environment variable Confirm that OpenOffice_PATH is set correctly and is available to the AEM service process, not just in a user shell session.
-
Verify the PDF Generator user configuration In PDF Generator configuration, ensure the correct local OS user is configured.
If this user is missing or incorrect, document conversion may return no result.
-
Check permissions The configured user should have:
- execute permission on the OpenOffice binaries
- access to temp directories
- a valid home/profile directory
- permission to create and update OpenOffice profile data
-
Restart AEM after configuration changes After updating the OpenOffice path, user configuration, or permissions, restart AEM and test again.
-
Review logs during conversion If the response is still blank, check:
error.log - PDF Generator related logs
- any OpenOffice startup or process errors
A simple validation approach is to test with a basic .docx file first.
If that fails, the issue is usually environmental rather than document-specific.
If you want more precise help, please share these details:
- AEM version
- Forms add-on version
- Linux distribution
- OpenOffice version
- whether the failure happens for all file types or only specific ones
- relevant log entries from the time of conversion
That should make it much easier to identify whether the problem is with OpenOffice installation, environment variables, permissions, or PDF Generator configuration.
Thanks,
Rahul Pandey