I am trying to run an application using jboss. i am using joss version 6 and java version 6. while making the server up i am getting the following error. getting the same result while double clicking run.bat as well as running run.bat through cmd.
Which version and vendor of Java are you using? What's the output of:
Although your log seems to indicate that you are using Java 6:
I suspect that may not be true. Also it's always better to install Java and other Java applications in folders which do not have a space in their path. I would recommend that you move the Java installation out of the Program Files folder to some other location like C:/Java/jdk1.6.0. And then set the JAVA_HOME appropriately to point to the new location.
That looks like a release candidate for JDK 6 - that is ancient! You should not be using anything earlier than JDK 6u7 (I think that there were serious issues with earlier versions that prevented JBoss AS from running). I recommend you get the latest, JDK 6u20, and install it.