changed JDK to 6 instead of 7.
changed JDK to 6 instead of 7 and set to glassfish 3.1