Solved

Amazon AWS - Deploy

Posted on 2011-09-08
3
572 Views
Last Modified: 2014-11-12
I have developed an application that logs in to Amazon s3 bucket and downloads a file periodically...This application runs as a standalone java application kicked off by a main method from within my Eclipse project.

If i deploy this as a .war to Amazon Web services( Beanstalk ) the web container has no way of knowing what class is the main class/method to kick off the server process. This application has no webservice, it will just run as a server process indefinitely

I tried entering in Main-Class parameter in the MANIFEST file but this has no effect.

How can I convert this to web/amazon type project to make it run when it launches on web container... (servlet, point to main class etc?).

Thanks
0
Comment
Question by:ToriaD
  • 2
3 Comments
 
LVL 32

Expert Comment

by:shalomc
Comment Utility
0
 

Accepted Solution

by:
ToriaD earned 0 total points
Comment Utility
Thanks for reply,

I got around it by instantiating what was my 'main' class in the standalone app in index.jsp


Thanks,
T
0
 

Author Closing Comment

by:ToriaD
Comment Utility
it was soln
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This article provides a guide on how to optimise your costs within your AWS infrastructure when using some of the common services such as EC2, EBS, S3, Glacier, CloudFront, EIP & ELB.
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now