i had installed tomcat 6.0...it was working fine...but suddenly it has stopped working...when ever i click on startup.bat a dialog box opens and then collapses automatically...without starting the server...what should i do??
Joined: Aug 17, 2011
i did printscreen before the window collapses and it states java.net.BindException : Cannot assign requested address:JVM_Bind at java.net.DualStactPlainSocketImpl.bind0(native method)....and soon
Bear Bibeault wrote:A BindException usually means that something is already running on that port (by default 8080).
so how can i change the port number after installing tomcat?? Am i supposed to reinstall tomcat once again?
No, that would be an absurd thing to do. Instead you should use a better problem-solving method. Here's how it works. Your problem is that something is already running on port 8080. So instead of doing something random and hoping it makes the problem go away, you should focus on that problem. In particular you would like to know what exactly is running on port 8080, so that you can prevent it from doing that in the future. And so you should try to find out what is running on port 8080.
Most operating systems have tools which enable you to find out what is running on what ports. Usually those tools are called "netstat". Start there.
Author and all-around good cowpoke
Joined: Mar 22, 2000
The window collapses automatically before I can do anything...how should i modify the startup.bat ??
Don't execute startup.bat by double-click. Instead open a command prompt window, navigate to the bin directory and execute startup from the command prompt. The window will stay open.