troubleshooting Question

Failing to run http://ip:8080

Avatar of Anthony Matovu
Anthony MatovuFlag for Uganda asked on
LinuxJava* Tomcat
15 Comments1 Solution90 ViewsLast Modified:
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/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-11.0.6.10-1.el7_7.x86_64/bin/java/bin/java: Not a directory
/usr/local/tomcat9/bin/catalina.sh: line 484: /usr/lib/jvm/java-11-openjdk-11.0.6.10-1.el7_7.x86_64/bin/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-openjdk-11.0.6.10-1.el7_7.x86_64/bin/java
Using CLASSPATH:       /usr/local/tomcat9/bin/bootstrap.jar:/usr/local/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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 15 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros