Do you get a line number in the script where it failed? If not, is your script executable? A little bit more info would help a lot. :)
There is no line number where it fails. I've installed jboss 3.0.6 under the usr dir, as per the install guide I go to the usr/jboss-3.0.6/bin and then try to start jboss with the run.sh command and the error I get is
bash: run.sh: command not found
thats it, not sure what esle i can tell you.
This means it can't find run.sh to execute it.
Try ./run.sh from the directory to explicitly state the location of run.sh.