anyone knows how to run appwarpS2 application on aws?

0 votes
I am trying to host rummy sample on amazon web server but the problem is as I close my terminal server stops running the appWarpS2 app.

here are the steps,

1. I login to aws via my terminal using ssh

2. i build and deploy my application using ant

3. i close the terminal

till step 2 it is working fine but when i close my terminal it terminate the application running on the server.

any help?
asked Apr 23, 2015 in AppWarpS2 by parth16.parikh (16 points)

1 Answer

+1 vote
 
Best answer
Hi,

When you close terminal, applications running on terminal also quits. This is the default behaviour of terminal. You need to run AppWarp as background application or as a service. You can check out following tutorial to learn how to run apps in background.
http://www.cyberciti.biz/faq/linux-command-line-run-in-background/

Thanks
answered Apr 23, 2015 by Suyash Mohan (900 points)
selected Apr 24, 2015 by parth16.parikh
Hey Suyansh thank you for responding.
I running my command like this "ant -f warp.xml &" but it still terminates when i close the terminal.

I want appWarp application running on aws without any dependency on my personal computer. currently it closes the app running on aws when i close local terminal even if i run it in background by the command I have specified!!
Hi,

try "nohup ant -f warp.xml &"

Thanks
thank you very much. it is working now.
Thanks for the appreciation. We are happy to help you :)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...