Glassfish server won't start up

I get the following error when trying to start up glassfish. I tried it using -domain domain1 as well with the same results.


C:\glassfishv3\bin>asadmin start --verbose
Remote server does not listen for requests on [localhost:4848].
Is the server up?
Unable to get remote commands.
Closest matching local command(s):
    restart-domain
    start-database
    start-domain
Command start failed.

glassfishV3

running on
Windows XP 2002 home edition version 2002 service pack 3

I am running AVG and had the windows firewall active. I turned both off and got the same error message.

What am I missing?


jvm.log
alukesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zazagorCommented:
Hi,

Two suggestions:
1) in a commandwindow type:  c:>services.msc
  look for the server service. Is it started/autostarted?
  Restart the service.
2) is something blocking the 4848 port?
     Try removing recently installed software.
     Any other local firewall (zonealarm or other), remove it.

//zazagor
0
alukesAuthor Commented:
I tried restarting the server service, no help.

I turned off AVG and the firewall, no help.

I suspect there is some other SW that is using port 4848. Anyway to tell which one it is? Should the application appear in the windows task manager or in the processes window?   What is the glassfish process called? I don't see anything called glassfish in the application or processes windows.
0
alukesAuthor Commented:
It appears that when I start glassfish from the start>all programs>glassfish server open source addition>
start application server, it works. I can open the admin console and things seem to be working.

Strange that it would work that way and not from the command line. I would like to know the process name if you happen to know it.

0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

zazagorCommented:
Hi,

The windows process would be java.exe.

In a command window try, c:> netstat
You can also use one of the sysinternals tools, like tcpview.exe for example to see which program is actually using port 4848.

You can also use jps to list all the Java processes on you machine. The GlassFish server main class is called ASMain. Try: jps -v

//zazagor


0
alukesAuthor Commented:
Good info,

what directories contain  jps -v and tcpview.exe so I can go there and run the commands?

0
zazagorCommented:
Hi

Depends where it's installed. Try searching for jps.exe.
"jps": A  Java tool that lists all JVM processes on the local machine or a remote machine. "jps" tool is distributed as part of the Sun JDK package and represented by the \Progra~1\java\jdk1.6.0_02\bin\jps.exe program file.

Tcpview.exe you have to download from Microsoft:
http://technet.microsoft.com/en-us/sysinternals/bb897437

//zazagor
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alukesAuthor Commented:
Thanks! Very helpful.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.