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.  

Thanks


Andreas Delmelle-2 wrote:
> 
>>----- Oorspronkelijk bericht -----
>>Van: Surj [mailto:[EMAIL PROTECTED]
>>Verzonden: vrijdag, juni 13, 2008 05:07 PM
>>
>>Oh by the way i am using Java 1.4.2.8 if that makes a diff or not.
>>
>>Surj wrote:
>>>
>>> Ok i am using fop-0.20.5 and all I am trying to do is get a jpeg images
>>> and send it to a postscript printer, i think this did work at some point
>>> but it is difficult to tell with so many releases.  So the code looks
>>> something like this:
> <snip />
>>> In the logs i get the following error when printing the image and I have
>>> set the java option
>>> -Djava.awt.headless=true.
>>>
>>> [ERROR] Logger not set
>>> [INFO] Using weblogic.xml.jaxp.RegistryXMLReader as SAX2 Parser
>>> [INFO] building formatting object tree
>>> [INFO] setting up fonts
>>> [INFO] [1]
>>> [INFO] [2]
>>> [ERROR] svg graphic could not be rendered: null
>>> java.awt.HeadlessException
> 
> I'm not 100% sure, but it seems like the system-property setting somehow
> is not correctly processed... Is 'java.awt.headless=true' specified as a
> parameter when starting up the servlet container, or how precisely do you
> set it?
> 
> Another possibility is that it's something internal in the Java AWT
> implementation, but I don't have Sun's sources at hand here, so can't see
> which line in that class is causing the HeadlessException.
> 
> 
> Cheers
> 
> Andreas
> 
> 
> 
> 

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

Reply via email to