You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Xiaomin Dong <xd...@att.com> on 2000/01/14 21:51:27 UTC

Run multiple instance of tomcat

Hello,

I want to have multiple tomcat instance running.
But I get the following error.
(I used port 8080 and 8090 for different instances)

Any hints?

Thanks
Xiaomin Dong


# ps -ef | grep tomcat
 tsphost 11058     1  0 15:44:08 pts/1    0:29 /bin/../java/bin/../bin/sparc/native_threads/java org.apache.tomcat.shell.Start
    root 11130 10989  0 15:54:33 pts/0    0:00 grep tomcat
# 
# ./startup.sh
Using classpath: ./classes:./webserver.jar:./lib/servlet.jar:./lib/jasper.jar:./lib/xml.jar:/usr/bin/../lib/tools.jar
# Tomcat Web Server Version 3.0
Loaded configuration from: file:/export/home2/tsphost/build/tomcat/server.xml
Configuring web service using "default"
Configuring web service using "file:/export/home2/tsphost/build/tomcat/webpages/WEB-INF/web.xml"
default: init
jsp: init
Configuring web service using "default"
Configuring web service using "file:/export/home2/tsphost/build/tomcat/examples/WEB-INF/web.xml"
default: init
jsp: init
Starting tcp endpoint on 8080 with org.apache.tomcat.service.http.HttpConnectionHandler
Problem creating server: http startup exception
org.apache.tomcat.server.HttpServerException: Address already in use
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at org.apache.tomcat.server.HttpServerException.<init>(Compiled Code)
        at org.apache.tomcat.server.HttpServer.start(Compiled Code)
        at org.apache.tomcat.shell.Startup.configure(Compiled Code)
        at org.apache.tomcat.shell.Startup.main(Compiled Code)



Xiaomin Dong