users@glassfish.java.net

Re: Glassfish won't start because port 4848 is in use, however nothing is listening on port 4848 . . .

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Thu, 8 Nov 2012 11:52:10 -0800

On Thu, Nov 8, 2012 at 11:41 AM, daniel <daniel.guo_at_oracle.com> wrote:

> Hi Laird,
> 1 Try to kill java to see if it works
>

Java clearly works or asadmin wouldn't run and output what it does. Did
you mean something different?


> 2 Verify the PATH and "which asadmin" to see if there are any conflicts
>

I'm actually running it (always) with an absolute path. The issue the OP
is talking about is really just a minor annoyance; as he said, cleaning out
the various generated/cache directories and/or uninstalling and
reinstalling solves the problem. Clearly it doesn't ACTUALLY have to do
with a port conflict.

Best,
Laird

-- 
http://about.me/lairdnelson