Jasper report not generating in Headless client.

Hi Patrick ,

Thanks for your reply . I got that . Now I am doing as per your suggestion . But I am getting some exception in the callback method . The event parameter is :

{data:"Wrapped java.lang.Exception: java.lang.Exception: Input type JDBCdatabase has been used with an incorrect datasource of type: class java.lang.String"}

Please provide some suggestion on this.