Possible Duplicate:
Where can I view glassfish source code on the web
The same question was already asked on stackoverflow here last year, but I didn't want to resurrect it. Recently I bumped into the same problem. It was also asked here back in 2006. And guess what? Nothing has changed. There is still no bundled archive with source code available. The only place I was able to find is here. But that just allows you to browse java files one by one, not to download a zip archive or something. That leads me to doubts about 'open sourceness' of Glassfish...