4 Replies Latest reply on Aug 21, 2002 7:15 AM by Gareth

    Jboss_Jetty on Unix

    Gareth Newbie

      I'm trying to get JBoss-2.4.4 and Jetty-3.1.7 working under Unix. I'm running Mac OS X and I've installed it under Unix but I'm a Unix novice. When I try to run it with run_with_jetty.sh it says 'command not found'. I guess this is a simple problem but I can't seem to find my way around it. This is the page where I got the installation instructions http://developer.apple.com/internet/java/enterprisejava.html

      Can anyone help?


        • 1. Re: Jboss_Jetty on Unix
          Jason Brome Newbie

          If you're already in the bin subdirectory, it could just be that . isn't in your path. Try the following:



          • 2. Re: Jboss_Jetty on Unix
            Gareth Newbie

            OK, I'm beginning to understand what this is trying to do. I'm now getting 'bin/run_with_jetty.sh: permission denied: /bin [4]'.

            How do I find out what permissions it's looking at?


            • 3. Re: Jboss_Jetty on Unix
              Joel Vogt Master

              typically you can use >ls -lsa to see you file permissions. The problem you are having is most likely your user though.

              • 4. Re: Jboss_Jetty on Unix
                Gareth Newbie

                I've checked the permissions and they seem OK but I have found what I think is an error in the run_with_jetty.sh file. The last line I believe is trying to run the file run.sh with the command '/bin/sh ./run.sh jetty' but is causing a permissions denied: /bin message. When I run run.sh using ./bin/run.sh I get 'Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/Main'.

                Has anybody out there got JBoss_Jetty to run under OS X? Should I be using a particular shell? The environment variable CLASSPATH doesn't exist, should it?