Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

iam getting portno error ,kindly any one can help me to
sovle this issue plz?Several ports (8005, 8009) required by
Tomcat v6.0 Server at localhost are already in use. The
server may already be running in another process, or a
system process may be using the port. To start this server
you will need to stop the other process or change the port
this kind of error iam geeting even i change port Nos

iam getting portno error ,kindly any one can help me to sovle this issue plz?Several ports (8005, ..

Answer / dilip


*Your question is not specific. First of all you have to
check with the "netstat" command to check whether that port
is used by some other process and make sure it is not listen
to any process.
*Also you can check with the "nmap localhost" command to
check it is used by any of tomcat instance.
*Then if you change the port number and restart the instance.
*Then check the tomcat process is running for the
particular instance. use the command "ps -ef | grep tomcat"
* If still it is not started, Eventough your instance shows
up with some PID, which means that your previous process
is not completely killed .

So The solution for this problem is " you have to Delete
the file in your CATALINA_BASE/logs/ directory.
Now restart the server.

Your instance will work without any issue.

-Dilip (OOTY)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Tomcat Interview Questions

Is tomcat good for production?

0 Answers  

what is tomcat?can we deploy a servelet in tomcat?

4 Answers  

Do apache tomcat generate log files? If yes name them?

0 Answers  

What do you understand by “directoryindex”?

0 Answers  

What is the main configuration file of the apache server?

0 Answers  

What is the most searched word on the internet?

0 Answers  

What is the difference between iis web server and apache tomcat server?

0 Answers  

What is difference between tomcat and websphere?

0 Answers  

How to deploy war web applications in tomcat?

0 Answers  

How to deploy struggle or java purposes in apache?

0 Answers  

Does jboss use tomcat?

0 Answers  

What’s the difference between the apache web server and apache tomcat?

0 Answers