3 Replies Latest reply on Apr 15, 2002 4:21 PM by Adrian Brock

    setup problem

    Satish Bhamidipaty Newbie

      Anyone cud u pls guide me how to set up jboss-2.4.4
      and jboss-2.4.4_Tomcat-4.0.1 ?
      I am getting this error eveytime I run "run.bat".

      Classpath ?
      Pls tell me the path I need to set up in envi variables.

      ****************************************************
      JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar
      jboss.home = D:\JBoss\JBoss-2.4.4_Tomcat-4.0.1\jboss
      Using JAAS LoginConfig: file:/D:/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/defau
      lt/auth.conf
      JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4
      JBoss version: 2.4.4.2001-12-29 02:04:40 PST
      Using configuration "default"
      [INFO,root] Started Log4jService, config=file:/D:/JBoss/JBoss-2.4.4_Tomcat-4.0.1
      /jboss/conf/default/log4j.properties
      [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:49)
      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.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Co
      de)
      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)
      [ERROR,Default] javax.management.InstanceNotFoundException: DefaultDomain:servic
      e=Configuration
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.getMBean(MBean
      ServerImpl.java:1678)
      [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1522)
      [ERROR,Default] at org.jboss.Main.(Main.java, Compiled Code)
      [ERROR,Default] at org.jboss.Main$1.run(Main.java:110)
      [ERROR,Default] at java.security.AccessController.doPrivileged(Native Me
      thod)
      [ERROR,Default] at org.jboss.Main.main(Main.java, Compiled Code)
      JBoss-2.4.4 Started in 0m:1s.762
      Press any key to continue . . .



      your help is greatly appreciated.
      thanks in advance
      satish