[weld-issues] [JBoss JIRA] Commented: (WELD-616) Weld fails on Google AppEngine, javassist.NotFoundException: javax.servlet.http.HttpSession

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Aug 26 05:32:12 EDT 2010


    [ https://jira.jboss.org/browse/WELD-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12547093#action_12547093 ] 

Aslak Knutsen commented on WELD-616:
------------------------------------

WELD-631 seems to have resolved this issue. I now have a working GAE test running.

> 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
>          Components: Servlet Container Support
>    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