Thursday, April 30, 2009

s:text not working on GAE

Whoa, ran into a tiiiny weeeny limitation on GAE concerning struts. The main i18n tool, the s:text tag does work because of security issues. I couldn't find anything on this on google unfortunately.
What you get is just a:
java.lang.SecurityException: java.lang.IllegalAccessException: Reflection is not allowed on private static final java.util.concurrent.ConcurrentMap

I'll get back to this as soon as I find something, this is pretty important.

Update: This seems like an issue hitting alot of features of struts 2. The sandbox jvm does not allow the application to access the system class loader, which seems to be used to access resources (on classpath), such as property files and scanning for classes.

No comments:

Post a Comment