Java Web Server 2.0 Port Conflict

I downloaded Java Web Server 2.0 30 day trial version.I installed the server...but then i started the httpd service at the command prompt and invoked the administrative tool bu typing the following :
http://<local-host>:9090/
the administrative tool was started.But when the Web Service was selected and the Restart button was clicked,the following error messages were displayed at the command prompt:

C:\JavaWebServer2.0\bin>httpd
This version of the Java Web Server (2.0) will expire on
Thu Dec 16 15:53:24 PST 1999.  Please send feedback about this
release to java-server-feedback@java.sun.com.  Visit the Java Web
Server site at http://www.sun.com/software/jwebserver/
for more information about this product.
javawebserver: Java Web Server ERROR: Cannot start service session: Port 9094 is
 already in use. Change the port or shut down the other network service that is
using it
javawebserver: Java Web Server ERROR: Cannot start service adminservice: Port 90
91 is already in use. Change the port or shut down the other network service tha
t is using it
C:\JAVAWEBSERVER2.0\BIN\..\bin\jserv.exe
C:\JAVAWE~1.0\BI^C
WE~1.0\BIN\..\BIN\JSERV.EXE
jserv: Shutting down the server
Program C:\JAVAWE~1.0\BIN\..\JRE\BIN\JRE.EXE exited with code -1
C:\JAVAWEBSERVER2.0\BIN\..\bin\jserv.exe
C:\JAVAWE~1.0\BIN\..\BIN\JSERV.EXE
jsadmin: Cannot send to http://localhost:9090/servlet/admin: Connection refused
Program C:\JAVAWE~1.0\BIN\..\JRE\BIN\JRE.EXE exited with code 1
C:\JAVAWEBSERVER2.0\BIN\..\bin\jserv.exe
C:\JAVAWE~1.0\BIN\..\BIN\JSERV.EXE

May i know what is the excact reason for this and what is the solution?





anniebbAsked:
Who is Participating?
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.

anniebbAuthor Commented:
Edited text of question.
0
heyhey_Commented:
0
sgomsCommented:
If you are restarting the service without first shuttingdown, this problem will arise.

In the administrative tool first 'Shutdown'. then if u wish to restart u can start it by typing httpd at the prompt again.

else 'stop' the service b4 'restart' ing it.

-sgoms
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

mbormannCommented:
yeah in NT ,go task manager and kill the process,for on my machine the JWS takes some time to stop,so had a prob like this once

but sgoms is right it will work for u.
if this doesn't work
then.......still

>>>>>Change the port or shut down the other network service that is
using it

restart the computer ,(cold boot ,shut off power or press reset)
DON't start JWS ,goto command prompt

type at say c:\
netstat -an > data.txt

open data.txt
search for something like

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:9091           0.0.0.0:0              LISTENING
or
  TCP    your IP Address:9091           0.0.0.0:0              LISTENING

that means something else ,other service is using that port,stop that
0
opabcCommented:
i cannot access the administration tool
and then i also cannot kill the process.
it states that "Access denied"
please help

Clement
0
mbormannCommented:
r u on NT? or Win95/98?

Check the event viewer log files
0
opabcCommented:
well i am on NT
i tried to delete the event but it wont let me
access denied
0
mbormannCommented:
try
netstat -an >log.log and post the whole log.log over here
0
mbormannCommented:
hey anniebb and opabc r the same?
0
opabcCommented:
well i have solved my problem
i restart the pc and remove the program and re-install the program
but sometimes i still get funny errors

opabc is NOT anniebb

Clement (opabc)
0
mbormannCommented:
ok nice to meetcha
0
opabcCommented:
the best answer :
restart the pc and then uninstall the program.
reinstall the program again..

remember to start the server by typing httpd in command prompt.
remember do not close the MS-Prompt command window..
to shutdown the server go to ur browser and open the link "http://localhost:9090/"

shutdown the server and then u can close the MS-Prompt command window..

BYE
Clement
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
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
Web Servers

From novice to tech pro — start learning today.