Since you are refering to 8080 in your post, I assume you are working with Tomcat. 1. Are you setting any classpath stuff on your own? 2. What version of Tomcat are you running, if infact it is Tomcat? Pl. let us know when you get a chance. - satya
The BindException occurs when you try to run two instances of Tomcat on the same port. ie. When you get this exception, it means that you are already running one instance of Tomcat which is listening to port 8080 (or what ever it may be). In case u want to run two Tomcat instances on two diff ports , you can do that by editing the port entries for connection hanlders in the server.xml file.
--: Biju Nair :--
Joined: Jun 25, 2001
Thanks both of you guys! I understand that I'm running two instances, but the point is I dont intend to. I dont know, how I manage to run two instances of tomcat, when I dont intend to. madhav, i think this answers your question of me using tomcat ? When i get this exception, i click on the shutdown.bat, to stop the instance, but that doesnt help either. my classpath reads .;D:\Tomcat\lib;D:\jdk1.3\bin Well, I do change my server.xml to fix the problem temporarily, but then i hate to do it 5 or 6 times in a day. Restarting the machine / clicking on shutdown.bat dont seem to help!
Hello Friends, I got the "java.net.BindException: Address already in use: JVM_Bind" when I started Tomcat4.0. I could not start even after changing the port 8080 in server.xml file, it does not work. I have restarted the machine and even tried with shutdown. It never works. I know that my Oracle is running on port 8080. I just want to leave it that way. I do not mind to change the port in server.xml. It seems to work for many of you atleast after changing the port in server.xml. But it does not simply work on my machine. If I leave port 8080, the exception is: java.net.BindException: Address already in use: JVM_Bind:8080 When I change the port to other numbers like 8880, 11111, 5000, 1997 etc. it simply give the following exception: java.net.BindException: Address already in use: JVM_Bind I do not understand this. Please help. Sudhakar
And I am not a regular tomcat user ... I just had it in my desktop ... changed server.xml file as you have said ... and it runs just fine !!! [ June 11, 2002: Message edited by: Shubhrajit Chatterjee ]