[jboss-user] [Installation, Configuration & Deployment] - X11 Connection and Database Manager Tool -- headless or hair

snyderpa do-not-reply at jboss.com
Thu Aug 3 17:50:04 EDT 2006


I am either going to lose my head or rip my hair out.  Please suggest how to configure so that these swing components will be able to have a window.  Thanks in advance.  I am using :

RHEL4
  | jdk1.5.0_07
  | jboss4.0.4.GA-ejb3 -c all
  | connecting from WindowsXP using putty and XMing
  | 
  | 
  | First try "Can't connect to X11 window server ... "
  | 
  |   
  |   | 2006-08-03 10:24:43,494 ERROR [org.jboss.jdbc.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(DelegatingMethodAccessorImpl.java:25)
  |   | 	at java.lang.reflect.Method.invoke(Method.java:585)
  |   | 	at org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.java:517)
  |   | Caused by: java.lang.NoClassDefFoundError
  |   | 	at java.lang.Class.forName0(Native Method)
  |   | 	at java.lang.Class.forName(Class.java:164)
  |   | 	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
  |   | 	at java.awt.Window.init(Window.java:270)
  |   | 	at java.awt.Window.<init>(Window.java:318)
  |   | 	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
  |   | 
  | 
  | So, based on various posts to these forums, I tried using the "-Djava.awt.headless=true" option in my run.conf file with this result:
  | 
  | 	2006-08-03 16:23:34,327 ERROR [org.jboss.jdbc.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(DelegatingMethodAccessorImpl.java:25)
  |   | 	at java.lang.reflect.Method.invoke(Method.java:585)
  |   | 	at org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.java:517)
  |   | Caused by: java.awt.HeadlessException
  |   | 	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
  |   | 	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
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963048#3963048

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963048



More information about the jboss-user mailing list