Jasper report not generating in Headless client.

You have to provide a little more information. How / where do you expect to see the report? Maybe it’s easiest you post some code that shows how you call the headless client and what the headless client does then.