3 Replies Latest reply on Jun 6, 2006 2:49 AM by VisolveGroup

    jboss deployment

    madhusudan deshpande Newbie

      Hi friends,

      I am deploying jboss on fedora core2 ... when i try to install jdk 1.5 but it say already installed but i could not find java folder name... then I try to install jboss it gives error like ... ./run.sh
      run.sh: Missing file: /lib/tools.jar
      run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/src/jboss-4.0.3SP1

      JAVA: java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: /usr/local/src/jboss-4.0.3SP1/bin/run.jar:/lib/tools.jar

      =========================================================================

      ./run.sh: line 174: java: command not found

      Could you tell me how to resolve this problem......
      ...

        • 1. Re: jboss deployment
          Ricardo Newbie

          where is yor jdk installation folder, in ferora is common in opt/java, lookup for this folder, and add in the run.sh a line JAVA_HOME=/opt/java

          • 2. Re: jboss deployment
            vijay negi Newbie

            Hello all I am getting the problem during running JBoss in linux console

            The following is the details,plz help me out of this problem
            -------------------------------------------------------------------------
            run.sh: Missing file: /usr/local/jdk1.5.0_07/lib/tools.jar
            run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
            =========================================================================

            JBoss Bootstrap Environment

            JBOSS_HOME: /home/vijay_negi/jboss-4.0.3SP1

            JAVA: /usr/local/jdk1.5.0_07/bin/java

            JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

            CLASSPATH: /home/vijay_negi/jboss-4.0.3SP1/bin/run.jar:/usr/local/jdk1.5.0_07/lib/tools.jar

            =========================================================================

            ./run.sh: line 181: /usr/local/jdk1.5.0_07/bin/java: No such file or directory
            -------------------------------------------------------------------------------
            and the .bashrc file settings are as follows :

            export JBOSS_HOME=/home/vijay_negi/jboss-4.0.3SP1
            export JAVA_HOME=/usr/local/jdk1.5.0_07

            export PATH=$PATH:$JBOSS_HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin


            CLASSPATH="$CLASSPATH:$JAVA_HOME/lib/tools.jar"
            CLASSPATH="$CLASSPATH:$JBOSS_HOME/bin/run.jar"

            Thanks

            • 3. Re: jboss deployment
              VisolveGroup Novice

              Hello,

              Please verify, whether java is installed in /usr/local/jdk1.5.0_07.

              You can find the installed java binary path by using "whereis java" command, from that you can find where java is installed.

              And also verify that jdk is installed by using "rpm -qa | grep -i jdk" command. The command may be different for different linux/unix falvours. Try corresponding command for your linux/unix flavour.

              Regards,
              ViSolve JBoss Team