3 Replies Latest reply on Dec 11, 2004 3:25 PM by morchel

    startDatabaseManager failing

    gkar47

      I'm working my way through the getting started guide, and have created the DB, and data. I bring up the jmx-console and go to the Hypersonic service. But, when I invoke startDatabaseManager the console displays the following error:

      12:18:59,979 ERROR [STDERR] java.lang.NoClassDefFoundError
      12:18:59,983 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
      12:18:59,984 ERROR [STDERR] at java.lang.Class.forName(Class.java:141)
      12:18:59,984 ERROR [STDERR] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
      12:18:59,985 ERROR [STDERR] at sun.awt.motif.MToolkit.(MToolkit.java:81)
      12:19:00,021 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
      12:19:00,023 ERROR [STDERR] at java.lang.Class.forName(Class.java:141)
      12:19:00,026 ERROR [STDERR] at java.awt.Toolkit$2.run(Toolkit.java:748)
      12:19:00,041 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
      12:19:00,056 ERROR [STDERR] at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
      12:19:00,057 ERROR [STDERR] at java.awt.SystemColor.updateSystemColors(SystemColor.java:417)
      12:19:00,058 ERROR [STDERR] at java.awt.SystemColor.(SystemColor.java:409)
      12:19:00,059 ERROR [STDERR] at org.hsqldb.util.CommonSwing.setDefaultColor(Unknown Source)
      12:19:00,059 ERROR [STDERR] at org.hsqldb.util.DatabaseManagerSwing.main(Unknown Source)
      12:19:00,061 ERROR [STDERR] at org.hsqldb.util.DatabaseManagerSwing.main(Unknown Source)
      12:19:00,061 ERROR [STDERR] at org.jboss.jdbc.HypersonicDatabase$1.run(HypersonicDatabase.java:207)

      And the HSQL database manager is not launched.

      What is causing this, and how do I correct the problem?

      I'm running JBoss 3.2.3 on a Linux system with Sun JDK 1.4.2_06.

        • 1. Re: startDatabaseManager failing
          gkar47

          I have tried all of the solutions I could find in this forum. Particularily the edits to hsqldb-ds.xml, and ensuring I have no spaces in my path names. None of these have solved my error. Has anyone seen this error or know the problem's solution?

          • 2. Re: startDatabaseManager failing
            elam

            Tech,

            I'm having the exact same problem. Same setup except for a different JDK.
            Have you found a solution yet? I'm still looking.

            Elam

            • 3. Re: startDatabaseManager failing
              morchel

              I had the same problems on my SuSE 9.2 OS.

              My solution was to run JBoss as the same user that was logged into the X-Windows System (alternatively you could log in as the default jboss user).

              If you use the first approach, you need to adapt the rights of some files. I did it that way:

              ]# chown theuser:thegroup -R /opt/jboss/server/*

              I hope it helps

              regards

              Morchel