[weld-issues] [JBoss JIRA] Created: (WELD-616) Weld fails on Google AppEngine, javassist.NotFoundException: javax.servlet.http.HttpSession
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Mon Aug 16 07:24:11 EDT 2010
Weld fails on Google AppEngine, javassist.NotFoundException: javax.servlet.http.HttpSession
-------------------------------------------------------------------------------------------
Key: WELD-616
URL: https://jira.jboss.org/browse/WELD-616
Project: Weld
Issue Type: Bug
Affects Versions: 1.1.0.BETA1
Environment: Google App Engine 1.3.5
Reporter: Aslak Knutsen
Assignee: David Allen
When using Weld-Servlet in Google App Engine, Weld Core fails on loading classes.
The new Low Level Javassist Proxy layer require access to the Class as a Resource, this is not possible in Google App Engine.
The TCCL, IsolatedAppClassLoader has access to DevAppServerClassLoader which contains the HttpSession class, and IsolatedAppClassLoader delegates to DevAppServerClassLoader on loadClass. but DevAppServerClassLoader is not set as parent, the delegation is 'manual'.
The problem is, javassist tries to lookup the Class as a Resource, using getResource(...). IsolatedAppClassLoader does not delegate to DevAppServerClassLoader for resources. it tries the standard parent, but parent is null.
Full stack trace: http://pastebin.com/M76trE3A
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list