I installed glassfish-v3_1-b01-12_18_2009 and the cart project didn't work for me. (Same error as sinedanat)
My environment:
2. JDK6 update 18
2. Java EE 6
3. Netabeans 6.8
But after installing a previous version of JDK (update 10) all returned to normal.
Waiting for the GlassFish update so I can install latest JDK.
[Message sent by forum member 'vacant78' (vacant_at_tlen.pl)]
http://forums.java.net/jive/thread.jspa?messageID=386360