Solved

Amazon AWS - Deploy

Posted on 2011-09-08
3
580 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 33

Expert Comment

by:shalomc
ID: 36511612
0
 

Accepted Solution

by:
ToriaD earned 0 total points
ID: 36511762
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
ID: 37233361
it was soln
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
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.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

860 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