You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2000/12/08 21:44:12 UTC

RE: bind error

Something else is using the port?

	Check that:
	1. You are not still running Tomcat 3.1 (is so, change the ports for
Tomcat 3.2 in the server.xml file)
	2. Try stoping and then starting.  Make sure that the JVM actually
dies before restarting.
	3. Without Tomcat running, telnet to the ports that Tomcat uses
(usually 8080 and 8007, check server.xml for actual).  See if you can figure
out what is actually running on the port.  (To check for HTTP, try GET
/<enter>, if this returns an HTML looking document then a webserver of some
kind is running on the port).

	Randy

-----Original Message-----
From: John de la Garza [mailto:jdelagarza@designinsites.com]
Sent: Friday, December 08, 2000 3:53 PM
To: Tomcat-Users (E-mail)
Subject: bind error


Since I have switched to tom cat 3.2 when I restart the server I get this:


Starting tomcat. Check logs/tomcat.log for error messages
FATAL: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:397)
        at java.net.ServerSocket.<init>(ServerSocket.java:170)
        at java.net.ServerSocket.<init>(ServerSocket.java:121)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
ServerSocketFactory.java:97)
        at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
nt.java:239)
        at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
a:188)
        at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:204)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:237)



any clues to why?

RE: bind error

Posted by John de la Garza <jd...@designinsites.com>.
also,


SunOS 5.6

login:

only shows up when I am running tomcat on port 80...


If tomcat is not running telnet can't connect to port 80, but I still get
the bind error!

This all started since I switched to JDBC realm security stuff...

-----Original Message-----
From: John de la Garza [mailto:jdelagarza@designinsites.com]
Sent: Friday, December 08, 2000 1:26 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: bind error


The jvm is not running...for sure it is not.  The funny thing is that aft4er
I get this error message it still works!

I am using jdbc real formbased security...I don't know if this could be part
of the issue.

as for 3.1 it is stopped...

also, I am running tomcat as a standalone server on port 80 for dev purposes


when I telnet to 127.0.0.1:80 I get this:



SunOS 5.6

login:




what's up with that?  Im running windows 2000!

-----Original Message-----
From: Randy Layman [mailto:randy.layman@aswethink.com]
Sent: Friday, December 08, 2000 12:44 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: bind error


Something else is using the port?

	Check that:
	1. You are not still running Tomcat 3.1 (is so, change the ports for
Tomcat 3.2 in the server.xml file)
	2. Try stoping and then starting.  Make sure that the JVM actually
dies before restarting.
	3. Without Tomcat running, telnet to the ports that Tomcat uses
(usually 8080 and 8007, check server.xml for actual).  See if you can figure
out what is actually running on the port.  (To check for HTTP, try GET
/<enter>, if this returns an HTML looking document then a webserver of some
kind is running on the port).

	Randy

-----Original Message-----
From: John de la Garza [mailto:jdelagarza@designinsites.com]
Sent: Friday, December 08, 2000 3:53 PM
To: Tomcat-Users (E-mail)
Subject: bind error


Since I have switched to tom cat 3.2 when I restart the server I get this:


Starting tomcat. Check logs/tomcat.log for error messages
FATAL: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:397)
        at java.net.ServerSocket.<init>(ServerSocket.java:170)
        at java.net.ServerSocket.<init>(ServerSocket.java:121)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
ServerSocketFactory.java:97)
        at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
nt.java:239)
        at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
a:188)
        at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:204)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:237)



any clues to why?



RE: bind error

Posted by John de la Garza <jd...@designinsites.com>.
The jvm is not running...for sure it is not.  The funny thing is that aft4er
I get this error message it still works!

I am using jdbc real formbased security...I don't know if this could be part
of the issue.

as for 3.1 it is stopped...

also, I am running tomcat as a standalone server on port 80 for dev purposes


when I telnet to 127.0.0.1:80 I get this:



SunOS 5.6

login:




what's up with that?  Im running windows 2000!

-----Original Message-----
From: Randy Layman [mailto:randy.layman@aswethink.com]
Sent: Friday, December 08, 2000 12:44 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: RE: bind error


Something else is using the port?

	Check that:
	1. You are not still running Tomcat 3.1 (is so, change the ports for
Tomcat 3.2 in the server.xml file)
	2. Try stoping and then starting.  Make sure that the JVM actually
dies before restarting.
	3. Without Tomcat running, telnet to the ports that Tomcat uses
(usually 8080 and 8007, check server.xml for actual).  See if you can figure
out what is actually running on the port.  (To check for HTTP, try GET
/<enter>, if this returns an HTML looking document then a webserver of some
kind is running on the port).

	Randy

-----Original Message-----
From: John de la Garza [mailto:jdelagarza@designinsites.com]
Sent: Friday, December 08, 2000 3:53 PM
To: Tomcat-Users (E-mail)
Subject: bind error


Since I have switched to tom cat 3.2 when I restart the server I get this:


Starting tomcat. Check logs/tomcat.log for error messages
FATAL: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:397)
        at java.net.ServerSocket.<init>(ServerSocket.java:170)
        at java.net.ServerSocket.<init>(ServerSocket.java:121)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
ServerSocketFactory.java:97)
        at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoi
nt.java:239)
        at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.jav
a:188)
        at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:204)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:237)



any clues to why?