1 Reply Latest reply on Sep 24, 2002 10:12 PM by Devon Coleman

    error to run

    Ricardo Newbie

      hello,
      when I run Jboss3.0, I see this problem.
      help me please.

      # ./run.sh
      ================================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/jboss-3.0

      JAVA: /usr/local/j2sdk1_3_1_04/bin/java

      JAVA_OPTS: -server -Dprogram.name=run.sh

      CLASSPATH: /usr/local/jboss-3.0/bin/run.jar:/usr/local/j2sdk1_3_1_04/lib/tools.jar

      ================================================================================

      18:25:12,597 INFO [Server] JBoss Release: JBoss-3.0.1RC1 CVSTag=Branch_3_0
      18:25:12,695 INFO [Server] Home Dir: /usr/local/jboss-3.0
      18:25:12,696 INFO [Server] Home URL: file:/usr/local/jboss-3.0/
      18:25:12,697 INFO [Server] Library URL: file:/usr/local/jboss-3.0/lib/
      18:25:12,702 INFO [Server] Patch URL: null
      18:25:12,704 INFO [Server] Server Name: default
      18:25:12,705 INFO [Server] Server Home Dir: /usr/local/jboss-3.0/server/default
      18:25:12,707 INFO [Server] Server Home URL: file:/usr/local/jboss-3.0/server/default/
      18:25:12,709 INFO [Server] Server Data Dir: /usr/local/jboss-3.0/server/default/db
      18:25:12,710 INFO [Server] Server Temp Dir: /usr/local/jboss-3.0/server/default/tmp
      18:25:12,712 INFO [Server] Server Config URL: file:/usr/local/jboss-3.0/server/default/conf/
      18:25:12,713 INFO [Server] Server Library URL: file:/usr/local/jboss-3.0/server/default/lib/
      18:25:12,715 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      18:25:12,726 INFO [Server] Starting General Purpose Architecture (GPA)...
      18:25:13,621 INFO [ServerInfo] Java version: 1.3.1_04,Sun Microsystems Inc.
      18:25:13,623 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.3.1_04-b02,Sun Microsystems Inc.
      18:25:13,624 INFO [ServerInfo] OS-System: SunOS 5.8,sparc
      18:25:13,781 ERROR [Server] start failed
      java.lang.NoClassDefFoundError: org/w3c/dom/Element
      at java.lang.Class.getMethods0(Native Method)
      at java.lang.Class.getMethods(Class.java:737)
      at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:65)
      at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:63)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:178)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:949)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:247)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:266)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      java.lang.NoClassDefFoundError: org/w3c/dom/Element
      at java.lang.Class.getMethods0(Native Method)
      at java.lang.Class.getMethods(Class.java:737)
      at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:65)
      at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:63)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:178)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:949)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:247)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:266)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      #

        • 1. Re: error to run
          Devon Coleman Newbie

          Hello:


          It appears that JBoss can not find the package (jar file probly) which contains "org/w3c/dom/Element". This class is used for parsing XML and can be in many different jar files. Search for an "xml", "Crimson", or "Xerces" jar file and figure out if the class is in there. If so simply add it to your classpath.

          Cheers,
          Devon C.