The default repositories are:
PUBLISHER TYPE STATUS URI
stable.glassfish.org (preferred) origin online http://pkg.glassfish.org/v3/stable/
contrib.glassfish.oracle.com origin online http://pkg.oracle.com/glassfish/v3/contrib/
contrib.glassfish.org origin online http://pkg.glassfish.org/v3/contrib/
The documentation states to remove the following repositories:
The only repository in common beteen the OSS and commercial versions is stable.glassfish.org. I think we want to state in the docs to remove stable.glassfish.org, and if the others exist [ the contrib and sdk repositories ], delete them as well.
Problem 2, the order of the documented steps is incorrect. You can't delete the preferred repository. First you must added the new repositories (including setting the new default repository as release.glassfish.oracle.com). After that is done, then you can remove the glassfish.org repositories.