-2
votes
1answer
72 views

Vertx: What do these errors mean?

I'm trying to run a java applet using the Vertx platform but getting the following errors, as I am not a java person.. I'm having a hard time understanding how to fix these, your help is much ...
-2
votes
1answer
114 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 ...
1
vote
0answers
71 views

Amazon ec2 - Error occurred during initialization of VM Could not reserve enough space for object heap

I don't have any experience of working with servers, so please explain your answer in detail or provide a link to support your answer. I want to restart server and executing command for that gives ...
0
votes
1answer
109 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
155 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
72 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
62 views

Tomcat access logs - are failed requests included?

We have a RESTful web service (Java, hosted in Tomcat on Ubuntu on Amazon EC2). From time to time it fails (not every week). When it fails, Java CPU consumption goes to 100% and it takes all available ...
0
votes
1answer
115 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: ...
0
votes
2answers
366 views

Mixed Static and dynamic content site using AWS S3 and EC2

We are installing a Java web application in a EC2 running Tomcat. The application uses a folder for users pictures (static content)-> www.example.com/PICTURES We use mod_jk to exclude Tomcat from ...
1
vote
0answers
40 views

Java MBeans with Amazon EC2

Is it possible to configure Amazon's EC2 page showing a list of my servers to connect to a JMX port on the machines and give access to the MBeans from the front-end? I'm wondering a standard way to ...
0
votes
1answer
279 views

Instance to Instance communication very slow in AWS

I am trying to execute a set of commands (shell commands) on a number of other AWS Cloud Instances from our java based web platform hosted on the AWS Cloud instance itself. We observed that the time ...
1
vote
1answer
944 views

SOLR high CPU usage in amazon EC2

I installed solr-3.6 in my local windows box and it worked fine. I installed solr-4.0 in amazon ec2 linux large instance and the cpu usage shot upto 100%. It maintained at 80-90% average cpu power. ...
2
votes
1answer
170 views

Justification of Amazon EC2 Performance

I have a .jar file that represents a server which receives over TCP an image in bytes (of size at most 500 kb) and writes it file. It then sobels this image and sends it over TCP socket to the client ...
1
vote
2answers
958 views

Configure HAProxy for rabbitmq

I want to use HAProxy as a load balancer. I want to put two rabbitmq server behind haproxy. Both the rabbitmq server are on different instance of EC2. I have configure HAProxy server by following this ...
2
votes
1answer
568 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
2answers
558 views

Amazon EC2 estimation

I'm a software/web developer and for the first time I have to set up a cloud system to host one of the websites I have coded. I found very difficult to estimate the costs for an Amazon EC2 cloud ...
0
votes
0answers
237 views

FTP Active Mode not working from Amazon server

I need some help on this issue. First question. I've searched many pages but found no solution for my problem. I guess my code needs to use Active mode when connecting an FTP server. I've tested ...
3
votes
1answer
367 views

java.lang.OutOfMemoryError on ec2 machine

I have a java app on a large instance that will spawn up to 800 threads. I can run the application fine as user "root" but not as another user which I created. I get the deadly. ...
2
votes
2answers
2k views

JMX connection to Tomcat running on Amazon EC2

My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in CATALINA_OPTS which should allow me to connect for JMX monitoring remotely: ...
1
vote
1answer
242 views

EC2 micro linux AMI gets 'java tainted' lockup

I'm trying to use an EC2 'micro' AMI (their recommended micro 32-bit AMI, ami-7f418316, which has kernel 2.6.35.14-95.38.amzn1.i686) to run a grails app (grails 2.0.0 BUILD-SNAPSHOT from github ...
0
votes
3answers
2k views

Run Tomcat and Java on Amazon EC2 Instance

I have installed the tomcat and Java on my Amazon EC2 Instance by followingthe instructions on the following tutorial. http://sites.google.com/site/amistrongeryet/setting-up-java-tomcat-on-ec2. But ...
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 ...
1
vote
2answers
72 views

cloud for java software

the cloud hit me now as well. The more I look at offers, the more it looks like virtual OS-images beeing loaded on demand. Boring... Somewhere I read that this is a dead model, very true. I am ...
0
votes
3answers
715 views

how to solve java out of memory error in amazon ec2 linux servers

We are using Fedora-8 64 bit in Amazon EC2 and our Java application is running on the IBM JRE. Now we are getting a Java hang "out of memory" error. Our memory is 7.6 GB and we have allotted heap ...
0
votes
3answers
530 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 ...
2
votes
1answer
894 views

how to solve out of memory error in java in amazon ec2 server

can anyone explain about this error message? we are using IBM jre to run java application Its occupying more space on the server. JVMDUMP006I Processing dump event "systhrow", detail ...
0
votes
1answer
210 views

Hosting java/j2ee apps on apache tomcat6 server along with the database

I have a java/j2ee web application built using tomcat6 and at back endI have mysql 5.1 database, I have configured my server that an amazon ec2 instance and I have installed apache tomcat6 along with ...
0
votes
1answer
754 views

Problems to connect Java visualVM to a EC2-instance

I'm trying to profile a AWS EC2 instance via visualVM. The instance is in a securitygroup which allows all connections and i'm runing jstatd with a grant codebase ...
1
vote
1answer
758 views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: ...
0
votes
1answer
230 views

How to map an address to a custom one?

Ok so first of all sorry for a rather poor title, I'll try to make up for it in the description. Secondly, bear in mind I am no sysadmin and I'm a complete noob. So here's the story: I just setup an ...
2
votes
2answers
802 views

Amazon EC2 java installation problem

I'm having a little problem here: I got the amazon free usage tier to test it, launched a ami-465c6932 (Ubuntu 10.10 32bit iirc) on an eu west server. I installed postgresql and made sure it is ...
0
votes
1answer
338 views

High %idle on EC2 instances despite high load

I like to fully-load our compute hardware to reduce wasted CPU time, and on typical in-house hardware this is fairly easy: load the machine with as many runnable threads as there are cores, and idle ...
2
votes
1answer
468 views

Linux AMIs to get started on Amazon EC2 with Java application server

I'm trying to set up my first Amazon EC2 instance and having trouble selecting the right AMI given the huge amount of choice available. Requirements: Intended to run one (smallish) web site with a ...
3
votes
2answers
978 views

Is the Cloud ready for an Enterprise Java web application? Seeking a JEE hosting advice

Greetings to all the smart people around here! I'd like to ask whether it is feasible or a good idea at all to deploy a Java enterprise web application to a Cloud such as Amazon EC2. More exactly, ...
0
votes
1answer
771 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 ...