• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 602
  • Last Modified:

Amazon AWS - Deploy

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
ToriaD
Asked:
ToriaD
  • 2
1 Solution
 
ToriaDAuthor Commented:
Thanks for reply,

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


Thanks,
T
0
 
ToriaDAuthor Commented:
it was soln
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now