Rober,
As Andy says ask on the list.
In your Tomcat startup on the unix server you need to be sure to set
the following property -
-Djava.awt.headless=true
Do that and all should be good.
If you notice slight differences in widths between windows and unix
that may be due to the fact that autoSizeColumn uses fonts to do its
magic. (Which is why it needs the "graphic environment") So, then you
might want to install fonts into /usr/java/jre/lib/fonts/ on the unix
box. If you get stuck with that then you can ask again - Yegor can
explain the exact rules.
Regards,
Dave
On May 3, 2007, at 6:57 PM, [EMAIL PROTECTED] wrote:
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42331>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42331
Summary: autoSizeColumn. Exception in non graphical
environment
Product: POI
Version: 3.0-dev
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: poi-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]
I developed a webapp that generates excel files. Development
environment is
Tomcat server under Windows XP. Production server is a Unix machine
with no
graphical environment.
autoSizeColumn method, from HSSFSheet class, works ok in windows,
but throws an
exception in unix environment. The lack of graphical environment
seems to be the
reason.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?
tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/