This error usually indicates that your code is trying to draw something, possibly picture or a chart. To resolve this you may try to start you app on Solaris with java parameter: -Djava.awt.headless=true
Igor --- [EMAIL PROTECTED] wrote: > Hi, > I am getting this error when I use > HSSFSheet.autoSizeColumn call > in the new version of POI. The code is running on a > Solaris machine and > the client is using a Web Application on a Windows > machine with IE as the > browser to invoke the Excel creation. Any ideas? > > > [9/26/07 12:16:26:026 EDT] 1cdbaf7 WebGroup E > SRVE0026E: [Servlet > Error]-[Can't connect to X11 window server u > sing '0.0' as the value of the DISPLAY > variable.]: > java.lang.InternalError: Can't connect to X11 window > server u > sing '0.0' as the value of the DISPLAY variable. > at > sun.awt.X11GraphicsEnvironment.initDisplay(Native > Method) > at > sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134) > > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:141) > at > java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) > > > at > java.awt.Font.initializeFont(Font.java:308) > at java.awt.Font.initFromMap(Font.java:413) > at java.awt.Font.<init>(Font.java:374) > at java.awt.Font.get(Font.java:447) > at java.awt.Font.getFont(Font.java:432) > at > java.awt.font.TextLayout.singleFont(TextLayout.java:544) > > at > java.awt.font.TextLayout.<init>(TextLayout.java:606) > > at > org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java:1415) > > > > > ----------------------------------------- > This communication is for informational purposes > only. It is not > intended as an offer or solicitation for the > purchase or sale of > any financial instrument or as an official > confirmation of any > transaction. All market prices, data and other > information are not > warranted as to completeness or accuracy and are > subject to change > without notice. Any comments or statements made > herein do not > necessarily reflect those of JPMorgan Chase & Co., > its subsidiaries > and affiliates. > > This transmission may contain information that is > privileged, > confidential, legally privileged, and/or exempt from > disclosure > under applicable law. If you are not the intended > recipient, you > are hereby notified that any disclosure, copying, > distribution, or > use of the information contained herein (including > any reliance > thereon) is STRICTLY PROHIBITED. Although this > transmission and any > attachments are believed to be free of any virus or > other defect > that might affect any computer system into which it > is received and > opened, it is the responsibility of the recipient to > ensure that it > is virus free and no responsibility is accepted by > JPMorgan Chase & > Co., its subsidiaries and affiliates, as applicable, > for any loss > or damage arising in any way from its use. If you > received this > transmission in error, please immediately contact > the sender and > destroy the material in its entirety, whether in > electronic or hard > copy format. Thank you. > > Please refer to > http://www.jpmorgan.com/pages/disclosures for > disclosures relating to UK legal entities. ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
