tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Bailey" <Andy.Bai...@artec-technologies.de>
Subject RE: java.net.BindException
Date Fri, 14 Sep 2001 09:36:14 GMT
It means that the port that Tomcat is trying to use is already in use by
another process.
You can check ports in use by using the netstat command before you try
and start Tomcat,
you can change the server port used by Tomcat in the conf/server.xml
file.
Usual suspects that occupy the port are - Older installations of Tomcat
that run on startup (NT Service for instance).
Other web servers (if you have already changed Tomcat to use port 80
then check for the presence of other web servers IIS or Apache for
instance).
Port 8080 is quite often used by many applications as a "default" port,
Tomcat being one of them.

Andy

-----Original Message-----
From: Manfred.Zerndl [mailto:zer@bvv.bayern.de]
Sent: Friday, September 14, 2001 11:30 AM
To: tomcat-user@jakarta.apache.org
Subject: java.net.BindException


i got a java.net.BindException when i start the tomcat-server
with startup.sh

why is this "adress just in use"?



FATAL:java.net.BindException: Die Adresse wird bereits verwendet
java.net.BindException: Die Adresse wird bereits verwendet
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:363)
        at java.net.ServerSocket.<init>(ServerSocket.java:138)
        at java.net.ServerSocket.<init>(ServerSocket.java:102)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultSer
verSocketFactory.java:97)
        at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.
java:239)
        at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:1
88)
        at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

Mime
View raw message