Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Scheduled on AWS EC2 does not work [SPR-14950] #19517

Closed
spring-issuemaster opened this issue Nov 24, 2016 · 3 comments
Closed

@Scheduled on AWS EC2 does not work [SPR-14950] #19517

spring-issuemaster opened this issue Nov 24, 2016 · 3 comments
Assignees
Labels

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Nov 24, 2016

Christian Hoene opened SPR-14950 and commented

I tried to schedule some tasks with @Schedule or with a function call,
using jdk 1.8 or jdk 1.7.

It did not worked on a AWS EC virtual machine.
At either the beginning or the second call, scheduling was stopped.

Moving to real PCs solved the problem.


Affects: 4.3.4

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Nov 25, 2016

Brian Clozel commented

I'm afraid this doesn't really give us something to work with.
Could you create a repro project and describe the actual error? Could you provide logs, stacktraces of the error as well?

Without more specific information that strongly suggest this is a bug, you'd better create a question on StackOverflow (even there, the standard for questions is higher than that).

Thanks

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Nov 28, 2016

Christian Hoene commented

Sorry, next time I will did deeper into this issue...
For now, the Java timer works well.

But then, again, where to find the source code of @Schedule?

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Dec 1, 2016

Brian Clozel commented

Please reopen this issue if you can reproduce it with a sample project.
You can take a look at ScheduledAnnotationBeanPostProcessor to see how those annotations are processed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.