4 Replies Latest reply on Feb 1, 2002 10:43 PM by kurt_olsen

    Problems starting up jBoss

    steph81

      Porbably an obvious answer but this one befuddles this newbie...

      I have jBoss2.4-Tomcat integration on WinNT and j2sdkee1.3

      When attempting to startup (run.bat) get the following:

      Unable to initialize threads: cannot find class java/lang/Thread

      I suspect this may be classpath issue. I have
      JBOSS_CLASSPATH=d:\java\lib\classes12.zip;.;c:\j2sdkee1.3/lib/tools.jar;run.jar;../lib/crimson.jar

      JAVA_HOME is set to j2sdkee1.3 location and PATH set to both jdk1.3.1 and j2sdkee1.3 locations.

      Also, config files extracted include UNIX embedded return characters. Are there any distributions without the return characters for Windows?

        • 1. Re: Problems starting up jBoss
          pai_deepak

          can u post the complete error message?

          Also please check if u are in the %JBOSS%/bin directory before running the run.bat or run.sh

          • 2. Re: Problems starting up jBoss
            steph81

            D:\jBoss\JBoss-2.4.3_Tomcat-3.2.3\jboss\bin>run
            JBOSS_CLASSPATH=d:\java\lib\classes12.zip;.;c:\j2sdkee1.3/lib/tools.jar;run.jar;../lib/crimson.jar
            Unable to initialize threads: cannot find class java/lang/Thread
            Press any key to continue . . .

            Notice I am in the bin directory

            • 3. Re: Problems starting up jBoss
              steph81

              Looks like I had another jdk environment screwing everything up. I moved that jdk path (created by an oracle cleint) behind the proper (sun) jdk path in my environment settings and jBoss started right up.

              Thanks for your help

              • 4. Re: Problems starting up jBoss
                kurt_olsen

                This can also happen when xerces.jar is in $JAVA_HOME/lib
                or $JAVA_HOME/jre/lib/ext

                I've been bitten several times by this.