1 Reply Latest reply on Oct 31, 2002 7:04 AM by gernot

    Jboss 3.0.3 Starting Problems!!

    Shashank Arora Newbie

      Hey :)
      i have just now downloaded the jboss-3.0.3 (with jboss HTTP server) and am tryin to tun the service. but whn i run the run.bat the following jave exceptions (shown in the Console ooutput) are thrown and the service doesnt' start. My JDK ver is 1.2.2 and OS is Windows 2000 Server. If anybody can help me out in this regard and let me know the problem solution i'll really be greatful
      Thanks n Regards,
      Shashank Arora

      CONSOLE OUTPUT :
      ------------------------------------------


      JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar
      jboss.home = C:\JBoss2
      Using JAAS LoginConfig: file:/C:/JBoss2/conf/default/auth.conf
      JBoss release: JBoss-2.4.9 CVSTag=JBoss_2_4_9
      JBoss version: 2.4.9.2002-09-17 09:08:58 PDT
      Using configuration "default"
      [INFO,root] Installed System.out adapter
      [INFO,root] Installed System.err adapter
      [INFO,root] Started Log4jService, config=file:/C:/JBoss2/conf/default/log4j.prop
      erties
      [INFO,Info] Java version: 1.2.2,Sun Microsystems Inc.
      [INFO,Info] Java VM: Classic VM 1.2.2,Sun Microsystems Inc.
      [INFO,Info] System: Windows NT 5.0,x86
      [ERROR,Shutdown] Could not add shutdown hook
      java.lang.NoSuchMethodError: java.lang.Runtime: method addShutdownHook(Ljava/lan
      g/Thread;)V not found
      at org.jboss.util.Shutdown.preRegister(Shutdown.java:56)
      at com.sun.management.jmx.MBeanServerImpl.preRegisterInvoker(MBeanServer
      Impl.java:2245)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.ja
      va:513)
      at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523)
      at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
      at org.jboss.Main.(Main.java, Compiled Code)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java, Compiled Code)
      java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java, C
      ompiled Code)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java, Compiled Cod
      e)
      at java.net.URLClassLoader.access$1(URLClassLoader.java, Compiled Code)
      at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled Code)

      at javax.management.loading.MLet.findClass(MLet.java:775)
      at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
      at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
      at java.lang.Class.getModifiers(Native Method)
      at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:
      89)
      at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132)
      at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.ja
      va:507)
      at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523)
      at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
      at org.jboss.Main.(Main.java, Compiled Code)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java, Compiled Code)
      [INFO,STDERR] javax.management.InstanceNotFoundException: DefaultDomain:service=
      Configuration
      [INFO,STDERR] at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerIm
      pl.java:1678)
      [INFO,STDERR] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
      .java:1522)
      [INFO,STDERR] at org.jboss.Main.(Main.java, Compiled Code)
      [INFO,STDERR] at org.jboss.Main$1.run(Main.java:110)
      [INFO,STDERR] at java.security.AccessController.doPrivileged(Native Method)
      [INFO,STDERR] at org.jboss.Main.main(Main.java, Compiled Code)
      ----------------------------------------------------