This content has been marked as final.
Show 3 replies
-
1. Re: java.awt.headless by default
dimitris Nov 13, 2007 8:50 AM (in response to akostadinov)Once implication if we enable java.awt.headless by default is the startDatabaseManager() operation on jboss:service=Hypersonic,database=localDB won't work:
14:19:06,046 ERROR [HypersonicDatabase] Failed to start database manager java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.java:528) Caused by: java.awt.HeadlessException at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:1 59) at java.awt.Window.<init>(Window.java:317) at java.awt.Frame.<init>(Frame.java:419) at javax.swing.JFrame.<init>(JFrame.java:194) at org.hsqldb.util.DatabaseManagerSwing.main(Unknown Source) ... 5 more
-
2. Re: java.awt.headless by default
akostadinov Nov 13, 2007 10:19 AM (in response to akostadinov)I see..
So if one needs headless mode for an application then he will not be able to run the manager, or is there a way to have headless mode for the app only?
Or non headless mode for the manager only? -
3. Re: java.awt.headless by default
dimitris Nov 13, 2007 10:21 AM (in response to akostadinov)That's a JVM property so it's all or nothing.