tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed Akacem" <...@biba.uni-bremen.de>
Subject Problem starting tomcat again//FATAL:java.net.BindException: Address already in use
Date Mon, 11 Dec 2000 10:53:11 GMT
Hello,

bear with me please if my mail is a bit too long.

I am using apache + tomcat (Linux) for few days  and until now every
thing worked Ok.
yesterday I stopped tomcat(./shutdown.sh)and started tomcat
again(./startup.sh). I got the following error Message
(FATAL:java.net.BindException: Address already in use).

can someone please help?

Mohammed.

aka@scratchy-ppc:/usr/local/tomcat/bin$ ./startup.sh
Using classpath:
.:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.ja
r:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat

/lib/webserver.jar:/usr/local/tomcat/lib/xml.jar:/usr/local/java/lib/tools.jar

aka@scratchy-ppc:/usr/local/tomcat/bin$ Failed to generate automatic
apache conf
iguration java.io.FileNotFoundException:
/usr/local/jakarta-tomcat/conf/tomcat-a
pache.conf (Permission denied)
Starting tomcat. Check logs/tomcat.log for error messages
Unable to open log file: /usr/local/jakarta-tomcat/logs/tomcat.log!
Using stder
r as the default.
Unable to open log file: /usr/local/jakarta-tomcat/logs/jasper.log!
Using stder
r as the default.
Unable to open log file: /usr/local/jakarta-tomcat/logs/servlet.log!
Using stde
rr as the default.
Context log: path="/examples" Adding context path="/examples"
docBase="webapps/
examples"
Context log: path="" Adding context path=""  docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test"
docBase="webapps/test"
Starting tomcat install="/usr/local/tomcat"
home="/usr/local/jakarta-tomcat" cla
ssPath=".:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/lo

cal/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tomcat/lib/webs

erver.jar:/usr/local/tomcat/lib/xml.jar:/usr/local/java/lib/tools.jar"
Context log: path="/admin" Automatic context load
docBase="/usr/local/jakarta-to
mcat/webapps/admin"
Context log: path="/admin" Adding context path="/admin"
docBase="/usr/local/jak
arta-tomcat/webapps/admin"
Context log path="/admin" :tomcat.errorPage: init
Context log path="/admin" :jsp: init
<JASPER_LOG> Mon Dec 11 10:35:16 CET 2000 The scratchDir you specified:
/usr/loc
al/jakarta-tomcat/work/localhost_8080%2Fadmin is unusable.</JASPER_LOG>
<JASPER_LOG> Mon Dec 11 10:35:16 CET 2000 Scratch dir for the JSP engine

is: /us
r/local/jakarta-tomcat/work/localhost_8080%2Fadmin</JASPER_LOG>
<JASPER_LOG> Mon Dec 11 10:35:17 CET 2000 IMPORTANT: Do not modify the
generated
 servlets</JASPER_LOG>
Context log path="/admin" :default: init
Context log path="/examples" :tomcat.errorPage: init
Context log path="/examples" :jsp: init
<JASPER_LOG> Mon Dec 11 10:35:19 CET 2000 The scratchDir you specified:
/usr/loc
al/jakarta-tomcat/work/localhost_8080%2Fexamples is
unusable.</JASPER_LOG>
Context log path="/examples" :default: init
Context log path="/test" :tomcat.errorPage: init
Context log path="/test" :jsp: init
<JASPER_LOG> Mon Dec 11 10:35:22 CET 2000 The scratchDir you specified:
/usr/loc
al/jakarta-tomcat/work/localhost_8080%2Ftest is unusable.</JASPER_LOG>
Context log path="/test" :default: init
Context log path="" :tomcat.errorPage: init
Context log path="" :jsp: init
<JASPER_LOG> Mon Dec 11 10:35:24 CET 2000 The scratchDir you specified:
/usr/loc
al/jakarta-tomcat/work/localhost_8080 is unusable.</JASPER_LOG>
FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:386)
        at java.net.ServerSocket.<init>(ServerSocket.java:169)
        at java.net.ServerSocket.<init>(ServerSocket.java:120)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(Default
ServerSocketFactory.java:97)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.startEndpoint(SimpleTcpEn
dpoint.java:186)
        at
org.apache.tomcat.service.SimpleTcpConnector.start(SimpleTcpConnector
.java:142)
        at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)





Mime
View raw message