tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McDermid, Ian" <Imcder...@metiom.com.au>
Subject RE: Error on startup any ideas???
Date Wed, 14 Feb 2001 03:05:54 GMT
Tomcat must be started first if you are importing
"/$TOMCAT_HOME/conf/mod_jk.conf-auto" to setup your apache/tomcat
environment.

By default tocat uses 8080 (httpproxy) and 8007 executing "netstat-a" will
tell you what ports are listening on your machine. If you see 80(http) or
8080(httpproxy) then that is your problem.

I assume you are using freeBDS, or a Linux variant.

Ian

-----Original Message-----
From: aras [mailto:steve@stevearas.com]
Sent: Wednesday, February 14, 2001 1:57 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Error on startup any ideas???


Well I'm learning more and more.  I stopped appache with *httpd stop* and
tried to start TomCat and I still get the error.  Am I correct that TomCat
should be started first then apache?  I'll have to do more research on the
ports, but if you have any ideas I'd appreciated it.




Jeff Lansing wrote:

> Hi,
> Yes, some other process is using port 80 (or whatever port you have Tomcat
configured to listen on).
> Jeff
>
> aras wrote:
>
> > I think I have everything setup correctly (probably not).  Here's the
error:
> > FATAL:java.net.BindException: Address already in use
> >
> > Here's the complete output
> >
> > in tomcat.sh
> > Using classpath:
> >
/usr/local/jakarta-tomcat-3.2.1/lib/ant.jar:/usr/local/jakarta-tomcat-3.2.1/
lib/jasper.jar:/usr/local/jakarta-tomcat-3.2.1/lib/jaxp.jar:/usr/local/jakar
ta-tomcat-3.2.1/lib/parser.jar:/usr/local/jakarta-tomcat-3.2.1/lib/servlet.j
ar:/usr/local/jakarta-tomcat-3.2.1/lib/test:/usr/local/jakarta-tomcat-3.2.1/
lib/webserver.jar:/usr/local/jdk/j2sdk1.3/lib/tools.jar:.:/usr/local/jdk/j2s
dk1.3/lib/classes.zip:/usr/lib/pgsql/jdbc7.0-1.2.jar:/usr/local/jdk/j2sdk1.3
/lib/tools.jar
> >
> > [root@localhost bin]# 2001-02-13 08:21:14 - ContextManager: Adding
context Ctx(
> > /examples )
> > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( /admin )
> > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( 127.0.0.1: )
> > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx(
127.0.0.1:/examples )
> > Starting tomcat. Check logs/tomcat.log for error messages
> > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx(  )
> > 2001-02-13 08:21:14 - ContextManager: Adding context Ctx( /test )
> > 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:397)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message