LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2013, 02:38 AM   #1
AussieAndrew
LQ Newbie
 
Registered: Jul 2013
Posts: 8

Rep: Reputation: Disabled
Apache Tomcat Splash Screen Not Coming Up


Hi guys,

I've set up my CentOS server with Java 1.6.0_24 and Apache Tomcat 7.0.42. I then successfully (I thought) started Tomcat, and went to a browser to see if I could access it. I've tried putting the IP Address directly into the browser and the same but with :8080 after it, but it always times out.

Has anyone got any ideas what I've missed?

Regards,
Andrew
 
Old 07-23-2013, 02:59 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Is iptables running?

Run
Code:
iptables -L -n
to see if iptables is running. You can do a quick test by stopping iptables and trying to connect:
Code:
service iptables stop
# to start again
service iptables start
If you haven't added rules to allow this traffic you will not be able to connect.

You don't provide any info on how you have set up tomcat, so your mileage mat vary, but have a look here: Install Tomcat 7 on CentOS / RHEL (especially step 6).
 
1 members found this post helpful.
Old 07-23-2013, 03:05 AM   #3
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Two things I would like to confirm :
1.did you tried running http://tomcat/ ?
2.did you check if the tomcat process running after you started it ?
 
Old 07-23-2013, 03:14 AM   #4
AussieAndrew
LQ Newbie
 
Registered: Jul 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Further Information

Thanks for your quick responses. Here is what I have found:

iptables is running
I believe tomcat is running after I run the startup.sh file. I used ps -ef | grep java as I read elsewhere online, and the result looks correct to my untrained eye.
I wasn't sure what you meant by /tomcat/ so I tried http://<ip>/tomcat/ which didn't work.

I am now looking at step 6 of the tutorial you suggested. I'll be surprised if Tomcat isn't setup right, as I followed a step-by-step guide as part of setting up a program called OpenGTS which I'm trying to use this server for.

Any further suggestions?

Regards,
Andrew
 
Old 07-23-2013, 03:20 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by AussieAndrew View Post
iptables is running

I am now looking at step 6 of the tutorial you suggested.
Did you try stopping iptables first and checked if you can connect without a time-out? Would be nice to know iptables is actually the culprit.
 
Old 07-23-2013, 03:23 AM   #6
AussieAndrew
LQ Newbie
 
Registered: Jul 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
iptables was the culprit

Hi Druuna,

Sorry I misunderstood your first instructions. When I stop iptables I do indeed get the correct splash screen. I take it this means that something in the iptables configuration needs changing so that this connection gets let through?

Regards,
Andrew
 
Old 07-23-2013, 03:38 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by AussieAndrew View Post
Hi Druuna,

Sorry I misunderstood your first instructions. When I stop iptables I do indeed get the correct splash screen. I take it this means that something in the iptables configuration needs changing so that this connection gets let through?

Regards,
Andrew
Correct! You now established that iptables is blocking the connection.

You can now try step 6 from the previous posted link.
 
Old 07-23-2013, 03:46 AM   #8
AussieAndrew
LQ Newbie
 
Registered: Jul 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks!

Thanks for your help! I'll be back if I can't figure it out
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Tomcat Server is runing but web-page is not coming . roshan.s Linux - Software 2 07-14-2011 04:41 AM
Session replication using apache+mod_jk+tomcat(5.5.28-veriosn of tomcat) sreejithp Linux - Server 1 12-24-2010 06:46 AM
how to change boot screen,splash screen,login themes while custmzing ubuntu cd project_sap Linux - Newbie 1 04-07-2008 07:12 AM
Splash Screen with Apache (Redirect??) malckelly Linux - Software 1 12-06-2005 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration