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

Unable to use com.google.appengine.api.ThreadManager in dev #61

Open
emezeske opened this issue May 2, 2012 · 2 comments
Open

Unable to use com.google.appengine.api.ThreadManager in dev #61

emezeske opened this issue May 2, 2012 · 2 comments

Comments

@emezeske
Copy link

emezeske commented May 2, 2012

When trying to access the ThreadManager in development (using appengine-magic.core/serve), the import works but this exception is thrown:

clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to find static field: createThreadForCurrentRequest in class com.google.appengine.api.ThreadManager, compiling: x

If run the exact same code via the dev_appserver.sh script, it works just fine. I guess that some part of the threading stuff is not getting initialized by appengine-magic?

@gcv
Copy link
Owner

gcv commented May 2, 2012

It certainly looks that way. The ThreadManager is a 1.6.4 feature, which is not currently supported by appengine-magic. I'll try to find time in the next few days to bring the library up-to-date.

@emezeske
Copy link
Author

emezeske commented May 2, 2012

Oh, I didn't realize it was such a new addition! Thanks for the quick response.

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

No branches or pull requests

2 participants