Search code examples
glassfishamazon-ec2glassfish-3cloud-hosting

How make glassfish start in a reboot?


I have a machine in Amazon EC2 service, sometimes my machine is restarted, then I lost my glassfish and then my web apps. How could I make it start with the system ?

Thanks.


Solution

  • Check out "asadmin create-service". You can run "asadmin create-service --help" or check out the documentation: admin guide / reference guide. Hope this helps.