You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Stephane Cachat <sc...@sqli.com> on 2000/07/26 17:48:27 UTC
Re: BindException Error
You have another server listening on port 80 !
SC
Sameer Yami wrote:
>
> hi,
> I am trying to run TomCat on port 80 and following is my server.xml..
> -------------------------------------------------------------------------
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <Server adminPort="8080" workDir="work">
> <!-- Debug low-level events in XmlMapper startup -->
> <xmlmapper:debug level="0" />
>
> <!-- This is quite flexible; we can either have a log file per
> module in Tomcat (example: ContextManager) or we can have
> one for Servlets and one for Jasper, or we can just have
> one tomcat.log for both Servlet and Jasper.
>
> If you omit "path" there, then stderr should be used.
>
> verbosityLevel values can be:
> FATAL
> ERROR
> WARNING
> INFORMATION
> DEBUG
> -->
>
> <Logger name="tc_log"
> path="logs/tomcat.log"
> customOutput="yes" />
>
> <Logger name="servlet_log"
> path="logs/servlet.log"
> customOutput="yes" />
>
> <Logger name="JASPER_LOG"
> path="logs/jasper.log"
> verbosityLevel = "INFORMATION" />
>
> <ContextManager port="80" hostName="" inet="">
> <!-- ContextInterceptor
> className="org.apache.tomcat.context.LogEvents" / -->
> <ContextInterceptor className="org.apache.tomcat.context.AutoSetup"
> />
> <ContextInterceptor
> className="org.apache.tomcat.context.DefaultCMSetter" />
> <ContextInterceptor
> className="org.apache.tomcat.context.WorkDirInterceptor" />
> <ContextInterceptor
> className="org.apache.tomcat.context.WebXmlReader" />
> <ContextInterceptor
> className="org.apache.tomcat.context.LoadOnStartupInterceptor" />
> <!-- Request processing -->
> <RequestInterceptor
> className="org.apache.tomcat.request.SimpleMapper" debug="0" />
> <RequestInterceptor
> className="org.apache.tomcat.request.SessionInterceptor" />
> <RequestInterceptor
> className="org.apache.tomcat.request.SecurityCheck" />
> <RequestInterceptor className="org.apache.tomcat.request.FixHeaders"
> />
>
> <Connector className="org.apache.tomcat.service.SimpleTcpConnector">
> <Parameter name="handler"
> value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
> <Parameter name="port" value="80"/>
> </Connector>
>
> <Connector className="org.apache.tomcat.service.SimpleTcpConnector">
> <Parameter name="handler"
> value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
> <Parameter name="port" value="8007"/>
> </Connector>
>
> <!-- example - how to override AutoSetup actions -->
> <Context path="/examples" docBase="webapps/examples" debug="0"
> reloadable="true" >
> </Context>
> <!-- example - how to override AutoSetup actions -->
> <Context path="" docBase="webapps/ROOT" debug="0" reloadable="true"
> >
> </Context>
>
> <Context path="/test" docBase="webapps/test" debug="0"
> reloadable="true" >
> </Context>
>
> </ContextManager>
> </Server>
> -------------------------------------------------------------------------
> This does not run on my machine and tomcat says that it is BindException
> Error: Address in Use. The same server/xml however runs on other machine,
> where I do not even have the administrator rights.
> Can anyone tell me the solution to this?
>
> regards
> Sameer Yami
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org