Just in case it means something, I ran into this problem when java.awt.headless 
was specified as "true" on the startup configuration for the OAS platform.  
Since we were running on a Windows PC we were successfully able to run Batik 
(and thereby FOP) by just changing java.awt.headless="false" (or removing all 
together).  From my investigation at the time (albeit on FOP 0.20.5 and Batik 
1.5beta4), the only way to successfully make it work was to run in a 
non-headless environment.  In short, I did not find a way for FOP (and more 
specifically Batik) to work in a headless environment, regardless of what you 
set your properties to.

-----Original Message-----
From: Surj [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2008 4:50 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: Print JPEG HeadlessException - Please Help


Looks like this is set for sure.  

I even tried running with Java 1.5.  I think I might be beyond help, time to
look for a new trade.  



Andreas Delmelle-2 wrote:
> 
>>----- Oorspronkelijk bericht -----
>>Van: Surj [mailto:[EMAIL PROTECTED]
>>Verzonden: vrijdag, juni 13, 2008 09:23 PM
>>
>>Yes the 'java.awt.headless=true' specified as a parameter when starting up
>>the weblogic container, is there any other way of setting this i.e.
>>programmatically during startup.
> 
> Can you also verify from within your code whether the setting was
> correctly processed?
> 
> This you could check via:
> 
> System.out.print("java.awt.headless=" +
> System.getProperty("java.awt.headless", "false"));
> 
> In theory, you could use System.setProperty("java.awt.headless", "true")
> to set the value, but as is often the case with properties on the
> system-level, it could be that setting it programmatically has no effect
> at all.
> 
> 
> HTH!
> 
> Cheers
> 
> Andreas
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Print-JPEG-HeadlessException---Please-Help-tp17821038p18525612.html
Sent from the FOP - Dev mailing list archive at Nabble.com.

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

Reply via email to