I ran the following command:
sudo /Applications/NetBeans/glassfish-v2ur2/lib/ant/bin/ant -f /Applications/NetBeans/glassfish-v2ur2/setup.xml
It says build successful, but when I visit
http://localhost:4848/ I still can't see my admin page. (The first time I ran this command the build failed and ever since then my server has quit working).
I reinstalled glassfish and netbeans and it did not help.
[Message sent by forum member 'smacky311' (smacky311)]
http://forums.java.net/jive/thread.jspa?messageID=303267