imrank1
May 3rd, 2011, 07:16 PM
Hi I've built a grails application that is using the Quartz plugin to run periodic jobs. I've been building functionality to perdically push my log files to my S3 account. ( This was built to get around the current drawback of elb's built it in log rotating which only keeps the last hour ) .
To test it out I created one job that logs a message every 5 seconds and another that zips up the log files and pushes them up to S3 every minute. Now when I run on my own machine using the built in Jetty everythign works fine.
However when I go to Elastic Bean stalk and upload my project the log statements never appear and no logs are pushed up to my S3 instance. ( The app is successfully deployed ) . So it seems the scheduled jobs are never executed.... Not seeing any error messages either.
Has anyone else expeirenced this? Is there a particular setting that needs to be set in Tomcat for permissions regarding jobs?
Thanks
P.S I also posted this question in the Amazon forums as perhaps it is a configuration setting in elastic bean stalk for tomcat
To test it out I created one job that logs a message every 5 seconds and another that zips up the log files and pushes them up to S3 every minute. Now when I run on my own machine using the built in Jetty everythign works fine.
However when I go to Elastic Bean stalk and upload my project the log statements never appear and no logs are pushed up to my S3 instance. ( The app is successfully deployed ) . So it seems the scheduled jobs are never executed.... Not seeing any error messages either.
Has anyone else expeirenced this? Is there a particular setting that needs to be set in Tomcat for permissions regarding jobs?
Thanks
P.S I also posted this question in the Amazon forums as perhaps it is a configuration setting in elastic bean stalk for tomcat