I imagine this is a pretty generic error. I cant seem to find any documentation on it.
I am simply attempting to run a java web project with jsp\'s and beans... using n
If you get errors from glassfish on startup complaining that ports are already in use, and you know they aren't, the problem is almost certainly that your hostname is set incorrectly. Glassfish seems to look up the hostname for the machine and then to bind to a port using that hostname - if your hostname resolves incorrectly then it won't be able to bind and will report that the port is in use.
at the command line try typing 'hostname' to see whether the hostname that's reported is correct. ping it and check that it resolves to the IP address of your machine.
Have a look at your /etc/hosts file (on linux) and check whether everything is ok in there.
Also check the /etc/sysconfig/network file and make sure your hostname is set correctly in there.
I've had the exact same problem as you twice - and both times it's turned out to be a hostname issue. Glassfish really should have better error reporting about this.