After upgrading jdk. JBoss service stops immediately after starting:
"The JBoss Applicattion Server 4.2.3 service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
In <jboss>\bin\run_idm.bat and <jboss>\bin\compile_jsp.bat JAVA_HOME was set using double quotes:
JAVA_HOME="C:\jdk1.7.0_80"
In <jboss>\bin\run_idm.bat and <jboss>\bin\compile_jsp.bat set JAVA_HOME without double quotes:
JAVA_HOME=C:\jdk1.7.0_80