Looks like maybe tools.jar is not on path?
have you set the JAVA_HOME env. variable?
You have to set JAVA_HOME environmental variable to your JDK root directory.
edit your run.bat file under bin directory in jboss to include this.
set JAVA_HOME =C:\jdk1.3.1 (whereever your JDK root is)