#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    20
    Rep Power
    0

    deciphering tomcat message


    Hi

    Evertime I start tomcat I get the following message in my
    Catalina console:

    Catalina.start: LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bind

    What does this message mean and how can I prevent this message from happening.

    getchoo
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2002
    Location
    London UK
    Posts
    4
    Rep Power
    0
    It usually means that there is another application using the 8080 port. Are you running any other web server? Did you set up tomcat as a service? If you did, then tomcat automatically starts when you boot up your computer and you would get that message because there are 2 instances of tomcat clashing with each other.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    20
    Rep Power
    0
    I'm not running any other web servers, however I did reinstalled tomcat several times on my computer. As well I'm running mysql. How can I check if there is another application using that port

    thanx in advance
    getchoo
  6. #4
  7. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    538
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    20
    Rep Power
    0

    how do I prevent tomcat from starting up as a service


    How do I prevent tomcat from starting up as a service?

    getchoo
  10. #6
  11. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    538
    Are you shure you need two copies of tomcat? Can't you set the second instance to start and listen on another port with something like:
    <Connector className="org.apache.tomcat.service.PoolTcpConnector">
    <Parameter name="handler" value="org.apache.tomcat.service.http.HttpConnectionHandler" />
    <Parameter name="port" value="9080" />
    </Connector>
    in server.xml?
    Anyway answers are on google.com or apache.org

IMN logo majestic logo threadwatch logo seochat tools logo