2 Replies Latest reply on Feb 14, 2002 1:58 AM by craigo

    Cannot start JBoss-2.4.4_Tomcat-4.0.1

    tiagopeixoto

      When trying to start jboss, the shell displays the following messages:

      [ERROR, Shutdown]Could not add shutdown hook





      What's wrong, what do I have to set right (variables, classpath, etc)?

      Thanks

        • 1. Re: Cannot start JBoss-2.4.4_Tomcat-4.0.1
          adoes

          addShutdownHook is in java.lang.Thread packaged in rt.jar. add this file and tools.jar to your JBOSS_CLASSPATH.
          hope it works.

          • 2. Re: Cannot start JBoss-2.4.4_Tomcat-4.0.1
            craigo

            I had JBoss running then I loaded IPlanet and WebSphere on the same machine and JBoss suddenly had the identical error to what you describe. Check to make sure that you are using a jdk 1.3.1 (in your classpath "java -version"), JBoss requires it. Somehow mine was reset to jdk1.2.2. I just added the path ...jdk1.3.1\bin\java into the run.bat file (last line) and everything is back up.

            Cheers,
            Craig