java.net.BindException: Address in use: JVM_Bind
Hi I am trying to simultaneously run two installations of Apache Tomcat 4.0.6 on my windows XP professional machine. Each is installed in a different folder. Each boots up and works fine independently. But when I try to start up one with the other instance already running, it fails with this message: Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\jdk1.3.1_09 StandardServer.await: create[8005]: java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447) at java.net.ServerSocket.(ServerSocket.java:165) at org.apache.catalina.core.StandardServer.await(StandardServer.java:276) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Can somebody help me with this? Thanks Prasad -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Re: java.net.BindException: Address in use: JVM_Bind
Hi Yoav, Thanks for the response. When I changed the port number for Shutdown port alone, there were still errors. So, I changed the port numbers for all others also. Now, I am able to run both instances. Both are working fine. Thanks Very much. Prasad "Shapira, Yoav" wrote: > Howdy, > Change the server shutdown port, 8005 by default, in the 2nd > installation's server.xml file so that they don't both try to bind the > same port 8005. > > Yoav Shapira > Millennium ChemInformatics > > >-Original Message- > >From: Prasad Dhulipala [mailto:[EMAIL PROTECTED] > >Sent: Friday, December 19, 2003 8:50 AM > >To: [EMAIL PROTECTED] > >Subject: java.net.BindException: Address in use: JVM_Bind > > > >Hi > > > >I am trying to simultaneously run two installations of Apache Tomcat > 4.0.6 > >on my windows XP > >professional machine. Each is installed in a different folder. Each > boots > >up and works fine > >independently. But when I try to start up one with the other instance > >already running, it fails with > >this message: > > > >Using CATALINA_BASE: .. > >Using CATALINA_HOME: .. > >Using CATALINA_TMPDIR: ..\temp > >Using JAVA_HOME: C:\jdk1.3.1_09 > >StandardServer.await: create[8005]: java.net.BindException: Address in > use: > >JVM_Bind > >java.net.BindException: Address in use: JVM_Bind > >at java.net.PlainSocketImpl.socketBind(Native Method) > >at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447) > >at java.net.ServerSocket.(ServerSocket.java:165) > >at > >org.apache.catalina.core.StandardServer.await(StandardServer.java:276) > >at > org.apache.catalina.startup.Catalina.start(Catalina.java:794) > >at > org.apache.catalina.startup.Catalina.execute(Catalina.java:681) > >at > org.apache.catalina.startup.Catalina.process(Catalina.java:179) > >at java.lang.reflect.Method.invoke(Native Method) > >at > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > > > >Can somebody help me with this? > > > >Thanks > > > >Prasad > > > > > >-- > >NOTICE: If received in error, please destroy and notify sender. Sender > >does not waive > >confidentiality or privilege, and use is prohibited. > > This e-mail, including any attachments, is a confidential business communication, > and may contain information that is confidential, proprietary and/or privileged. > This e-mail is intended only for the individual(s) to whom it is addressed, and may > not be saved, copied, printed, disclosed or used by anyone else. If you are not > the(an) intended recipient, please immediately delete this e-mail from your computer > system and notify the sender. Thank you. -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.net.BindException: Address in use: JVM_Bind
You need to change the port that one of them running, in server.xml !! - Original Message - From: Prasad Dhulipala To: [EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:50 AM Subject: java.net.BindException: Address in use: JVM_Bind Hi I am trying to simultaneously run two installations of Apache Tomcat 4.0.6 on my windows XP professional machine. Each is installed in a different folder. Each boots up and works fine independently. But when I try to start up one with the other instance already running, it fails with this message: Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\jdk1.3.1_09 StandardServer.await: create[8005]: java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447) at java.net.ServerSocket.(ServerSocket.java:165) at org.apache.catalina.core.StandardServer.await(StandardServer.java:276) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Can somebody help me with this? Thanks Prasad -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
RE: java.net.BindException: Address in use: JVM_Bind
Howdy, Change the server shutdown port, 8005 by default, in the 2nd installation's server.xml file so that they don't both try to bind the same port 8005. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Prasad Dhulipala [mailto:[EMAIL PROTECTED] >Sent: Friday, December 19, 2003 8:50 AM >To: [EMAIL PROTECTED] >Subject: java.net.BindException: Address in use: JVM_Bind > >Hi > >I am trying to simultaneously run two installations of Apache Tomcat 4.0.6 >on my windows XP >professional machine. Each is installed in a different folder. Each boots >up and works fine >independently. But when I try to start up one with the other instance >already running, it fails with >this message: > >Using CATALINA_BASE: .. >Using CATALINA_HOME: .. >Using CATALINA_TMPDIR: ..\temp >Using JAVA_HOME: C:\jdk1.3.1_09 >StandardServer.await: create[8005]: java.net.BindException: Address in use: >JVM_Bind >java.net.BindException: Address in use: JVM_Bind >at java.net.PlainSocketImpl.socketBind(Native Method) >at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447) >at java.net.ServerSocket.(ServerSocket.java:165) >at >org.apache.catalina.core.StandardServer.await(StandardServer.java:276) >at org.apache.catalina.startup.Catalina.start(Catalina.java:794) >at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) >at org.apache.catalina.startup.Catalina.process(Catalina.java:179) >at java.lang.reflect.Method.invoke(Native Method) >at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) > >Can somebody help me with this? > >Thanks > >Prasad > > >-- >NOTICE: If received in error, please destroy and notify sender. Sender >does not waive >confidentiality or privilege, and use is prohibited. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.net.BindException: Address in use: JVM_Bind
Hi I am trying to simultaneously run two installations of Apache Tomcat 4.0.6 on my windows XP professional machine. Each is installed in a different folder. Each boots up and works fine independently. But when I try to start up one with the other instance already running, it fails with this message: Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\jdk1.3.1_09 StandardServer.await: create[8005]: java.net.BindException: Address in use: JVM_Bind java.net.BindException: Address in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:447) at java.net.ServerSocket.(ServerSocket.java:165) at org.apache.catalina.core.StandardServer.await(StandardServer.java:276) at org.apache.catalina.startup.Catalina.start(Catalina.java:794) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Can somebody help me with this? Thanks Prasad -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.