• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Tomcat running but web page is not coming while hitting ip on browser

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai team,

I am using Apache tomcat 7,its running in server by chekcing i can
see

netstat -anp | grep java
tcp6       0      0 :::8080                 :::*                    LISTEN      1582/java
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      1582/java
tcp6       0      0 :::8009                 :::*                    LISTEN      1582/java
unix  2      [ ]         STREAM     CONNECTED     14996    1582/java
unix  3      [ ]         STREAM     CONNECTED     40958    1582/java



Using CATALINA_BASE:   /usr/local/apache-tomcat-7.0.62
Using CATALINA_HOME:   /usr/local/apache-tomcat-7.0.62
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.62/temp
Using JRE_HOME:        /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64
Using CLASSPATH:       /usr/local/apache-tomcat-7.0.62/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.62/bin/tomcat-juli.jar
/usr/local/apache-tomcat-7.0.62/bin/catalina.sh: line 439: /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/bin/java: No such file or directory
Using CATALINA_BASE:   /usr/local/apache-tomcat-7.0.62
Using CATALINA_HOME:   /usr/local/apache-tomcat-7.0.62
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.62/temp
Using JRE_HOME:        /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64
Using CLASSPATH:       /usr/local/apache-tomcat-7.0.62/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.62/bin/tomcat-juli.jar
Tomcat started.


But while hitting the ip in broser its shows http error 404
page not available
please let me know how to solve I am using centos 7

 
Ranch Hand
Posts: 624
9
BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the URL you are hitting?
 
Saloon Keeper
Posts: 6990
164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you posted this in the PHP forum: you're not trying to run PHP pages are you? Because that wouldn't work in Tomcat.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic