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?
 
opabcConnect With a Mentor Commented:
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
 
anniebbAuthor Commented:
Edited text of question.
0
 
heyhey_Commented:
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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
 
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
All Courses

From novice to tech pro — start learning today.