I'm using Jython on Google App Engine, but I can't get 'import urlfetch' to work. Other imports like 'import sys' and 'import zlib' work, but not 'import urlfetch'. I get a 500 Server Error. What am I doing wrong?
The error messages in my dashboard log are:
1) javax.servlet.ServletContext log: debug: Callable object not in cache
2) Error for /java.lang.ExceptionInInitializerError
3) Nested in java.lang.ExceptionInInitializerError:java.security.AccessControlException:access
denied (java.lang.RuntimePermission modifyThreadGroup)
4) Uncaught exception from servlet
java.lang.ExceptionInInitializerError
I also tried switching threadsafe to both false and true, but neither seems to have any effect (I saw somewhere that there might be a problem with jython and threadsafe=TRUE).
Thanks for any help you can give me!