-
30. CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 9, 2011 4:34 AM (in response to nickarls)No, in the injected bean no. In other beans FacesContext is used.
-
31. CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 9, 2011 5:26 AM (in response to mpavleski)Switched to Mojarra 2.0.4. AnnotationProcessor CNFE is gone. Now this one:
Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyClassLoader from BaseClassLoader@4de77a3e{vfs:///C:/Programming/JBoss6/server/default/deploy/Project.ear}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.GA]
at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_23]
... 244 more
Seems like neither Mojarra, Weld or JBoss are in final stage...
-
32. CNFE: org.apache.AnnotationProcessor from BaseClassLoader
juergen.zimmermann Feb 9, 2011 10:42 AM (in response to mpavleski)Please look at my comment about GroovyClassLoader at http://community.jboss.org/message/584076#584076
-
33. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 9, 2011 10:57 AM (in response to juergen.zimmermann)Yeah, I read your posts carefully but if that dependency is satisfied then 4) isn't. And it goes on...
Since I don't see the point to use JBoss without the EJB passivisation working I'm considering switching to Glassfish. The current project should deploy on this platform without problems (except the loggers, shame on me for using JBoss Loggers instead of SLF4J). The added bonus of Glassfish would be the latest Metro JaxWS availability which in my opinion is more cutting edge than CXF.
-
34. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
juergen.zimmermann Feb 9, 2011 12:16 PM (in response to mpavleski)You are right: "And then it goes on...". At this point I switched from @Inject to @EJB to get rid of this dependency chain what you can't as you mentioned above. The Weld integration into JBoss definitely needs improvement when it comes to EJBs:
* https://issues.jboss.org/browse/JBAS-8860
-
35. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
nickarls Feb 9, 2011 4:20 PM (in response to juergen.zimmermann)That's why JIRAs are required for issues that are still not being tracked ;-)
Did someone come up with a minimal, reproducible case where passivation fails (due to CDI proxies?)
-
36. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 10, 2011 5:15 AM (in response to nickarls)Here is an application (WAR + Eclipse project) reproducing the Groovy dependency error:
http://community.jboss.org/servlet/JiveServlet/downloadBody/16469-102-1-121200/TestCDI.zip
It looks that something (CDI maybe) is scanning all imports in class files and trying to load the classes at passivate event.
I'll open new issue in JIRA.
-
37. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
nickarls Feb 10, 2011 5:48 AM (in response to mpavleski)Hmm. I don't see anything extra. It appears to be conffed to timeout after 5 secs but I can click and click again efter 10 sec and nothing explodes...
-
38. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 10, 2011 6:09 AM (in response to nickarls)Nicklas, thanks for trying out the sample.
You are saying that nothing explodes 10 seconds after you load the http://localhost:8080/TestCDI/faces/test.xhtml page ?
What version are you using (I just re-tested on freshly unpacked jboss-as-distribution-6.0.0.Final.zip) ?
Could it be a JRE issue , I'm using x64 Sun JDK 1.6.23 on Windows 7 64 bit.
-
39. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
nickarls Feb 10, 2011 6:16 AM (in response to mpavleski)Same AS, same JRE, same OS, same bits.
-
40. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
jaikiran Feb 10, 2011 6:26 AM (in response to nickarls)I see the exception on my system a few seconds after I click "Do Stuff" button. Let me see what's going on.
-
41. CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 10, 2011 6:30 AM (in response to nickarls)Same AS, same JRE, same OS, same bits.
very strange...
Jaikiran, I also tested on the latest snapshot (jboss-6.1.x.zip) and the problem is present there also...
-
42. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
jaikiran Feb 10, 2011 6:44 AM (in response to mpavleski)Looking at the serialization TRACE logs (attached), I think I know what's going on. But just to confirm, can you try reproducing this without a no-interface view? Looking at the logs, it appears to be specific to no-interface views. I could have changed the code and tested it myself, but am in the middle of some other work. In any case, this is a bug and needs to be fixed. Can you point me to the JIRA if you have already created one?
-
org-jboss-serial.log.zip 1.1 MB
-
-
43. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
nickarls Feb 10, 2011 7:00 AM (in response to nickarls)OK, I get it now also
-
44. Re: CNFE: org.apache.AnnotationProcessor from BaseClassLoader
mpavleski Feb 10, 2011 7:23 AM (in response to jaikiran)You were right Jaikiran, it was related to the no-interface view.
When I changed the SFSB to Local interface view, the problem persisted.
When I changed the SLSB to Local interface view the problem did not occur.
However, in the later case i found out that activation does not work (it throws an exception), to test try retrieve the instance by accessin
http://localhost:8080/TestCDI/faces/test.xhtml?cid=1 (apply the right conversation id number)
Here is the code and the WAR with only Local views:
http://community.jboss.org/servlet/JiveServlet/downloadBody/16472-102-1-121207/TestCDIver2.zip
About JIRA issue, I already found similar and commented on it. It was posted for JBoss 6 M4 but I think it's the same problem:https://issues.jboss.org/browse/JBAS-8384
I wonder how didn't anyone notice this simple case and how did something trivial as this got to a `Final` release.