What are your settings?
On which port is GlassFish Server 3.0.1 configured — the default or something else?
What defaults were changed during installation and what are the values?
What other settings were changed from the defaults and what are their values?
What are the parameters related to JVM heap, stack, and garbage collection set to?
What are the JVM options?
What is the permgen size? OutOfMemoryError:PermGen space errors are common and indicate that you need to increase the permanent generation space available.
Is SSL enabled?
What are your network settings (proxy, firewall, and so on)? What happens if you disable your firewall and attempt the task?