>----- 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


Reply via email to