[JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
by bsmithjj
anonymous wrote : So, I've run into this (in anger) as well now.
|
| 1) Facelets scans the classpath for .taglib.xml files inside of META-INF, and loads them if it finds them (thats what all the load implicit stuff you see is).
|
| 2) The UCL doesn't scan WEB-INF/lib (as this is a special war thing).
|
| So, if you get the UCL instead of the WebAppClassLoader then it don't work. And, I found that even if the classloader inside FaceletsRenderer is the WACL then the UCL may be used to initialise facelets.
|
Yeah - I looked at the facelets source code - by hacking it to show the classloader, that's where I ultimately discovered that two different classloaders are being used (but I still don't know why this occurs - I could understand if the UCL is always being used and thus usage always fails - but not why sometimes the WACL is being used???).
Anyway, now we come to why I suggested maybe putting a hack on facelets to try and force it to use the WACL only by using the ServletContext's classloader .... any thoughts?
Thanks,
Brad Smith
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022418#4022418
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022418
19Â years, 1Â month
[JBoss Seam] - Unable to authenticate in 1.1.7RC1 : is it a regression?
by alex.kozlenkov
Hi,
My previously working code is no longer functional in 1.1.7RC1. A fragment of the stack trace is given belowCaused by: java.lang.NoSuchMethodError: org.jboss.seam.security.Identity.addRole(Ljava/lang/String;)V
| at LoginAction.authenticate(LoginAction.java:70)
| at LoginAction$$FastClassByCGLIB$$92230edf.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
| at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
| at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
I've verified that I am packaging the latest RC1 from the CVS repository. Any ideas about this behaviour?
Cheers--Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022393#4022393
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022393
19Â years, 1Â month