Hi Ivan,
Thanks for the reply.
I installed GF3 and created a server for it in Eclipse but didn't change my j2ee setting and classpath.
I tried to run a sample program, it got compiled but shows '" Publishing to Glassfish v3
Java EE 6 at localhost (java.lang.NullPointerException)"
It is a code error, so it looks like my setup is right.
Thanks a lot for your advice.