I had the same problem when running Glassfish with a 64-bit 1.5 JVM. You can fix the problem by removing the "-client" jvm-option from your domain.xml. It would be nice if this worked out of the box though...
[Message sent by forum member 'joel_turkel' (joel_turkel)]
http://forums.java.net/jive/thread.jspa?messageID=282317