Any number of things could be going wrong. Best to check the log files for the container of your servlet and the server which is doing the conversion.