-2
votes
1answer
211 views

Get instance-id of EC2 instance via Java [closed]

I have an AWS EC2 instance deployed as a server, and I need to find out its public IP. Howver, to know that I must first know the instance-id of my instance. Objective: I have a Java code running ...
0
votes
1answer
144 views

Connection to Amazon AWS highly unreliable [closed]

I have a Java application that connects to MySQL on an Amazon EC2 (USA east region) instance with JDBC (using official latest Oracle drivers, location specified by IP). It also connects to S3 using ...
0
votes
0answers
195 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
0
votes
2answers
81 views

The page isn't redirecting properly

I have deploy my web app to EC2(AWS) instance. Firewall, tomcat configuration etc are OK. When i try acess to it via browser i see such error. enter link description here I see this in all browsers. ...
0
votes
1answer
169 views

setting up environment variables for aws hadoop ec2

I've been following this book: Hadoop in Action It gives a nice guide on how to start using ec2 with hadoop. One of the first things that it says is to download the command line tools here: ...
2
votes
1answer
644 views

Approach to auto-scaling with Amazon AWS

I want to know about the possible options for auto-scaling my web app architecture. What I have in architect is web-app (Tomcat), middleware (RabbitMQ), database(MongoDB), worker(standalone Java app). ...
0
votes
1answer
1k views

what is my $JAVA_HOME path

Just launched an instance of EC2 and I tried doing: $JAVA_HOME/bin/java -version it gives me back: $JAVA_HOME/bin/java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 ...
0
votes
3answers
543 views

JVM hangs with 100 IO wait on Ubuntu Maverick (AWS EC2 xlarge instance)

Asked this question on on stackoverflow, reposting: Have an xlarge instance in AWS running 9 Tomcats with heaps from 256M to 4G. With Ubuntu 10.04 the box sporadically hangs for a few hours with huge ...
0
votes
0answers
358 views

JVM hangs with 100 IO wait on Ubuntu Maverick (AWS EC2 xlarge instance)

Have an xlarge instance in AWS running 9 Tomcats with heaps from 256M to 4G. With Ubuntu 10.04 the box sporadically hangs for a few hours with huge run queue (30-40), and nothing on CPU, then ...
0
votes
1answer
775 views

Web server on Amazon EC2 Ubuntu, port 80

How to set up a web server on a EC2 Ubuntu on port 80? There already seems to be a daemon listening on port 80 by default? What is that daemon and is it safe to kill it? #lsof -i java 1290 ...