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: [email protected]
For additional commands, e-mail: [email protected]