GAE does not support any and all
Java libraries. Check Google's documentation whether you're running into a GAE-specific problem. As you've found out, there's also a security manager present which further limits what you can do (which there isn't generally if you use
Tomcat to run your own web apps).