4 Replies Latest reply on Mar 17, 2003 5:06 PM by inhand

    Startup help Jboss won't start

    inhand

      hi

      I am getting the following error after run.bat on win2k:

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main

      What environment vars, classpath settings should I be using. I have set the classpath to point to the jboss\lib folder but still have no luck.

      I am also runnng Tomcat on the same machine. Could it be conflicting with JBoss.

        • 1. Re: Startup help Jboss won't start

          The only environment variable you need is
          JAVA_HOME to point at the jdk so that jsp compilation
          works.

          Maybe you have installed it in c:\Program Files
          Try putting it in somewhere without a space in the path.

          Regards,
          Adrian

          • 2. Re: Startup help Jboss won't start
            inhand

            Thanks Adrian

            I'll check the JAVA_HOME points to the jdk folder. I have installed jboss in the root of c:\ though. Prior to the error I quoted i was getting problems with log4j being unable to be instantiated. I am already using this in my Tomcat application. I got around this by setting the classpath to include the jboss\lib folder.

            Thanks

            Brian

            • 3. Re: Startup help Jboss won't start
              inhand

              Thanks Adrian i'll check the JAVA_HOME points to the jdk.
              I have installed Jboss in the root of C:\ though.
              Prior to the error i originally quoted i was getting problems with instantiating Log4J. I got rid of this by adding the Jboss\lib folder to the classpath.

              Thanks
              Brian

              • 4. Re: Startup help Jboss won't start
                inhand

                Adrian,

                It wasn't the Java_Home it was the fact that Java_home pointed to jdk1.4.1 not jdk1.3.1

                Regards
                Brian