I had the same problem when I upgraded from JDK update 4 to JDK update 7. Glassfish woudn't work and I had to modify the parameter AS_JAVA in the asenv.conf from to make it point to the correct JRE.
Hope this helps.
Regards.
[Message sent by forum member 'plasante' (plasante)]
http://forums.java.net/jive/thread.jspa?messageID=297678