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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to