Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8060877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:08:40+00:00 2026-06-05T10:08:40+00:00

Ubuntu is running on Amazon EC2, version 10.10 installed java using sudo apt-get install

  • 0

Ubuntu is running on Amazon EC2, version 10.10

  • installed java using

sudo apt-get install openjdk-6-jdk

(more about openjdk6 https://launchpad.net/ubuntu/maverick/+package/openjdk-6-jdk)

  • did the following to in install tomcat7

wget -c http://apache.petsads.us/tomcat/tomcat-7/v7.0.27/bin/apache-tomcat-7.0.27.tar.gz

sudo tar xvfz apache-tomcat-7.0.27.tar.gz -C /var

Then I see a folder called apache-tomcat-7.0.27 under /var

go to /var/apache-tomcat-7.0.27/bin and run:

sudo bash startup.sh

It looks like tomcat starts successfully:

ubuntu@ip-XX-XXX-XX-XXX:/var/apache-tomcat-7.0.27/bin$ sudo bash startup.sh

Using CATALINA_BASE: /var/apache-tomcat-7.0.27

Using CATALINA_HOME: /var/apache-tomcat-7.0.27

Using CATALINA_TMPDIR: /var/apache-tomcat-7.0.27/temp

Using JRE_HOME: /usr

Using CLASSPATH: /var/apache-tomcat-7.0.27/bin/bootstrap.jar:/var/apache-tomcat-7.0.27/bin/tomcat-juli.jar

I did a test by doing:

sudo fuser -v -n tcp 8080

then i got result(looks like tomcat is up and running):

0 USER PID ACCESS COMMAND

8080/tcp: root 1234 F…. java

But if i type in address of my server in browser, i can’t see the default tomcat page…

Am I missing anything????? I am open to any advices.

I followed some of the steps (not all of them) in http://www.excelsior-usa.com/articles/tomcat-amazon-ec2-java-stack.html#tomcat

The solution of this problem is:
This instance is not owned by me.
I asked my friend to change the rule for 8080 in the firewall configuration via his aws management console.
Then it worked.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:08:42+00:00Added an answer on June 5, 2026 at 10:08 am

    With out knowing exactly what your setup is, my first guess is you need to open port 8080 on the security group for that instance. Go to security groups and either open it to 0.0.0.0/0 or ur specific IP (this depends on your security requirements for the server)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Ubuntu 11.10 and installed Ruby 1.9 like this: $ sudo apt-get install
I'm running Ubuntu 11.10 and have run sudo apt-get install jenkins to install Jenkins
I'm running ubuntu 10.04 and have installed php5 via the following: sudo aptitude install
I'm running Ubuntu on EC2 (using the alestic community AMI) and on startup my
On Amazon's EC2 using Ubuntu, when I execute rake db:migrate as: bundle exec rake
I am running Ubuntu 11.10 and have installed jdk-6u30-linux-i586.bin and have a directory /usr/local/jdk1.6.0_30
I have an Ubuntu natty server running on Amazon EC2. My problem is that
I'm running Ubuntu 9:10 and a package called M2Crypto is installed (version is 0.19.1).
I have an Amazon EC2 Machine running Ubuntu 10.04. The default user, ubuntu's .bashrc
I'm running an Amazon EC2 'Large' instance - Ubuntu Natty x64 with PHP5 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.