I am not able to open tomcat installed on linux server
I have just installed java and tomcat on a VPS Unmanaged server for a2 hosting.
but when i type in
http://198.100.45.144:8080 i get the message "No such file or directory" instead of opening tomcat.
Anthony
checking java and tomcar shows message below which looks good
the catalina.out has this content
[root@server logs]# vim catalina.out
/usr/local/tomcat9/bin/cat
alina.sh: line 484: /opt/jdk-14/bin/java: No such file or directory
/usr/local/tomcat9/bin/cat
alina.sh: line 484: /usr/lib/jvm/java-11-openj
dk-11.0.6.
10-1.el7_7
.x86_64/bi
n/java/bin
/java: Not a directory
/usr/local/tomcat9/bin/cat
alina.sh: line 484: /usr/lib/jvm/java-11-openj
dk-11.0.6.
10-1.el7_7
.x86_64/bi
n/java/bin
/java: Not a directory
~
[root@server ~]# java -version
openjdk version "11.0.6" 2020-01-14 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)
[root@server ~]# $CATALINA_HOME/bin/startup
.sh
Using CATALINA_BASE: /usr/local/tomcat9
Using CATALINA_HOME: /usr/local/tomcat9
Using CATALINA_TMPDIR: /usr/local/tomcat9/temp
Using JRE_HOME: /usr/lib/jvm/java-11-openj
dk-11.0.6.
10-1.el7_7
.x86_64/bi
n/java
Using CLASSPATH: /usr/local/tomcat9/bin/boo
tstrap.jar
:/usr/loca
l/tomcat9/
bin/tomcat
-juli.jar
Tomcat started.
[root@server ~]#
http://198.100.45.144:8080
-bash:
http://198.100.45.144:8080: No such file or directory