[JBoss JIRA] Updated: (WELD-644) WeldDeployer should ignore classes which cause ClassNotFoundException and NoClassDefFoundError
by Pete Muir (JIRA)
[ https://jira.jboss.org/browse/WELD-644?page=com.atlassian.jira.plugin.sys... ]
Pete Muir updated WELD-644:
---------------------------
Assignee: Pete Muir (was: Marius Bogoevici)
Fix Version/s: 1.1.0.BETA1
> WeldDeployer should ignore classes which cause ClassNotFoundException and NoClassDefFoundError
> ----------------------------------------------------------------------------------------------
>
> Key: WELD-644
> URL: https://jira.jboss.org/browse/WELD-644
> Project: Weld
> Issue Type: Feature Request
> Components: Bootstrap and Metamodel API
> Affects Versions: 1.0.1.Final
> Reporter: Heiko Braun
> Assignee: Pete Muir
> Fix For: 1.1.0.BETA1
>
>
> We are working on the GWT/CDI integration. If an application packages GWT client classes that depend on gwt-user.jar and the weld deployer kicks in it chokes in classes that import GWT client API. This happens because the usage of reflection to scan for annotation meta data, loads all classes and forces all dependencies to be present.
> These classes can be excluded from the web application packaging, but it's nothing people usally do,
> because they are required when running the GWT hosted mode.
> So in order to simplify things, I would suggest we simply log and skip classes that cannot be scanned due to CNFE and the like, instead of preventing the deployment at all.
--
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
15 years, 7 months
[JBoss JIRA] Created: (WELD-616) Weld fails on Google AppEngine, javassist.NotFoundException: javax.servlet.http.HttpSession
by Aslak Knutsen (JIRA)
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
15 years, 7 months