I've been following the direction in the "Java-convert-HTML-to-PDF" tutorial for "Spire.PDF for Java" to create a Java controller to handle converting an HTML string to a PDF. Everything is working great in windows. However, when I deploy it to linux and use the linux plugins, it is not working. The PDF file is simply not being created. The code is not generating any errors, and debugging shows the HTML string and the plugin path are correct. I've also tried using HttpServletResponse.getOutputStream(), which again works in windows and displays the PDF to the browser, but in linux it renders a blank PDF page with a 0 content-length.
HtmlConverter.convert(htmlString, response.getOutputStream(), true, 100000, new Size(700, 900), new PdfMargins(0), LoadHtmlType.Source_Code);
The controller class in being packaged in a WAR file and deployed to WebSphere Application Server (8.5.5.20) running on linux. Any help would be greatly appreciated. Thanks!