Thanks Olaf so how to tell the tomcat the instance 0 to take its config from tomcat0 directory .
On Sat, Mar 17, 2018 at 3:39 PM, Olaf Kock <tom...@olafkock.de> wrote: > > > On 17.03.2018 14:16, Loai Abdallatif wrote: > >> Dear Colleagues >> I'm new to tomcat, I have successfully installed the service but when I >> tried to run three instances I coudnt due to error below >> >> : the this I did is copied the cataline Home to three instances tomcat0, >> tomcat1, and tomcat2 directories >> >> and in each directory I have configured the connectors ports, AJP port and >> addresses . >> the tomcat main instance is working but I think the problem is that in >> CATALINA_BASE .but I dont know how to instruct the statup script >> >> >> root@appserver01:/opt/tomcat0# ./startup-instance0.sh >> ./startup-instance0.sh: line 3: ./startup.sh: No such file or directory >> root@appserver01:/opt/tomcat0# >> root@appserver01:/opt/tomcat0# >> root@appserver01:/opt/tomcat0# cat startup-instance0.sh >> export CATALINA_BASE=/opt/tomcat0 >> cd $CATALINA_HOME/bin >> ./startup.sh >> > > well, > > ./startup.sh: No such file or directory > > Did you see that you set CATALINA_BASE (note: BASE) and then cd to the > undefined CATALINA_HOME/bin (note: HOME)? You probably didn't intend this: > Both are typically undefined on a system level, so you're probably not > cding into the directory you intend. > > Olaf > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >