[jboss-user] seam-gen generates non-working project

Ian Darwin ian at darwinsys.com
Fri Aug 24 16:58:50 EDT 2007


Summary: install jboss-4.2.0.GA; install seam-2.0.0.BETA1.
Run seam setup and seam new-project.

Resulting project can't see the "authenticator"; when you try to Login, 
you get "login failed" on the page, and a huge stacktrace that starts 
off like this:

INFO: Added Library from: 
jar:file:/usr/local/jboss-4.2.0.GA/server/default/deploy/seam42.ear/seam42.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
16:10:07,875 ERROR [STDERR] Aug 24, 2007 4:10:07 PM 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/usr/local/jboss-4.2.0.GA/server/default/deploy/seam42.ear/seam42.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
16:10:21,036 ERROR [SeamLoginModule] Error invoking login method
javax.el.PropertyNotFoundException: Target Unreachable, identifier 
'authenticator' resolved to null
         at org.jboss.el.parser.AstValue.getTarget(AstValue.java:38)
         at org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
         at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
         at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
         at 
org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:108)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
....



More information about the jboss-user mailing list