This is because when you are trying to load the second instance of Tomcat it is using
the
same server.xml file. As a result when the second instance starts it has an error
because
the first one has already bound the ports it uses (8080, 8007, 8009, etc) so they are
unavaible to the second instance. You need a second server.xml file for the second
instance and refer to it as an argument when starting the second instance.
Matt
----- Original Message -----
From: "Peter Choe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 2:25 PM
Subject: how to let two user stop and start tomcat
> i am trying to set up tomcat so that two user (two accounts on an unix
> system) start and stop tomcat.
>
> both users are able to stop tomcat when it is running. but only one can
> properly start it. so, if i have two users, foo and bar, user foo can
> start tomcat using ./startup.sh and bar can stop it using ./shutdown.sh.
>
> but if bar tries to start it using ./startup.sh it throws the following:
>
> FATAL:java.net.BindException: Address already in use
>
> can anyone help?
>
> peter choe