I am using FOP 0.20.3 for converting xml to pdf. When I am running the java code locally in Visual age I don't get any errors, but when I try to run it as servlet I get the "Root element must be root, not none". Please let me know how can I fix it. Thanks -Neeru