Avatar of Anthony Matovu
Anthony Matovu
Flag for Uganda

asked on 

Failing to run http://ip:8080

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 i get the message "No such file or directory" instead of opening tomcat.


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/catalina.sh: line 484: /opt/jdk-14/bin/java: No such file or directory
/usr/local/tomcat9/bin/catalina.sh: line 484: /usr/lib/jvm/java-11-openjdk- Not a directory
/usr/local/tomcat9/bin/catalina.sh: line 484: /usr/lib/jvm/java-11-openjdk- 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-openjdk-
Using CLASSPATH:       /usr/local/tomcat9/bin/bootstrap.jar:/usr/local/tomcat9/bin/tomcat-juli.jar
Tomcat started.
[root@server ~]#
-bash: No such file or directory
LinuxJava* Tomcat

Avatar of undefined
Last Comment

8/22/2022 - Mon