hello everyone,
i have ajsp page that displays a pdf file it works perfectly fine when i run it
through tomcat server, but when i move the page and run it through a Unix servser
(broad vision) i get this error ,how can i fix it?
java.lang.InternalError: Can't connect to X11 window server using '0:0' as the value
of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
at java.awt.Font.initializeFont(Font.java:264)
at java.awt.Font.(Font.java:348)
at java.awt.Font.getFont(Font.java:365)
at java.awt.font.TextLayout.singleFont(TextLayout.java:409)
at java.awt.font.TextLayout.(TextLayout.java:382)
at com.lowagie.text.pdf.BidiLine.getParagraph(Unknown Source)
at com.lowagie.text.pdf.BidiLine.processLine(Unknown Source)
at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
at
n_00025wmtc.testing._0002fnewmtc_0002ftesting_0002fpdf_00035_0002ejsppdf5_jsp_1._jspService(_0002fnewmtc_0002ftesting_0002fpdf_00035_0002ejsppdf5_jsp_1.java:96)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:268)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:381)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.broadvision.servlet.ServletContainer.service(ServletContainer.java:404)
at
com.broadvision.servlet.ServletContainer.processRequest(ServletContainer.java:348)
at
com.broadvision.servlet.ServletContextContainer.processRequest(ServletContextContainer.java:660)
at com.broadvision.servlet.BVServletEngine.service(BVServletEngine.java:202)
at
com.broadvision.servlet.BVServletConnector.service(BVServletConnector.java:139)
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions