Title: Deploying Webapp using iText to Unix server

I am using iText in a Webapp.  A servlet gets called from a JSP, generates a PDF document using the iText library and returns the PDF document in the response.  This all works great when my webapp is running on my development environment - a WindowsXP machine using IBM WSAD to build, deploy and run the test server.  My test JSP has a link that calls the servlet and pops up a new browser window containing the PDF.  When I deploy my project EAR file to a test server that is running Websphere Application Server on a Solaris box the PDF will not get generated.  The window that opens in a new browser window where the PDF should appear displays the text: "Error 500: Can't connect to X11 window server using 'webapp10:10.0' as the value of the DISPLAY variable".

Any ideas what the problem is?   The PDF document that I generate creates several pages.  On the first page I use Java G2D classes to draw on the PDF document.  The following PDF document pages use the iText PdfPTable and related classes.  On my development environment that works under WindowsXP I am using Java Version 1.3.1.  That is also the Java version running on the Solaris test server.


john

--------------------------------------------------------------------------------------------
John Worley
Lockheed Martin EIS
[EMAIL PROTECTED]

Reply via email to