Andreas Delmelle
Fri, 13 Jun 2008 14:18:57 -0700
>----- Oorspronkelijk bericht -----
>Van: Surj [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