I am using seam 2 and sun app server 9. I have two seemingly identical 
configurations. On one version my ear works fine and on the other I get this 
exception whenever any seam @Name object is referenced i.e. even if I remove 
the authentication.

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:597)
  |     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  |     at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  |     at javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
  |     at java.security.AccessController.doPrivileged(Native Method)
  |     at 
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
  |     at javax.security.auth.login.LoginContext.login(LoginContext.java:575)
  |     at org.jboss.seam.security.Identity.authenticate(Identity.java:335)
  |     at org.jboss.seam.security.Identity.authenticate(Identity.java:324)
  |     at org.jboss.seam.security.Identity.quietLogin(Identity.java:265)
  |     at org.jboss.seam.security.Identity.isLoggedIn(Identity.java:182)
  |     at org.jboss.seam.security.Identity.isLoggedIn(Identity.java:172)
  |     at org.jboss.seam.security.Identity.authenticate(Identity.java:322)
  |     at org.jboss.seam.security.Identity.login(Identity.java:237)
  |     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:597)
  |     at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328)
  |     at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
  |     at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  |     at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  |     at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  |     at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  |     at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  |     at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  |     at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  |     at 
org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
  |     at 
org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
  |     at 
org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
  |     at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  |     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  |     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  |     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  |     at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  |     at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  |     at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
  |     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
  |     at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
  |     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
  |     at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  |     at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  |     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
  |     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
  |     at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  |     at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  |     at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
  |     at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
  |     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
  |     at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
  |     at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
  |     at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
  |     at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
  |     at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
  |     at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
  |     at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
  |     at 
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
  |     at 
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
  |     at 
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
  |     at 
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
  |     at 
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361)
  |     at 
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
  |     at 
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
  | |#]

 I am fairly sure seam is initing correctly as as I can see the following in 
the logs.

[#|2007-12-04T13:20:39.625+0000|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=17;_ThreadName=Thread-24;java:comp/env/uk.ac.ukoln.impact.action.AuthenticatorAction/em;|naming.bind|#]
  | 
  | 
[#|2007-12-04T13:20:39.625+0000|INFO|sun-appserver9.1|javax.enterprise.system.core.naming|_ThreadID=17;_ThreadName=Thread-24;java:comp/env/uk.ac.ukoln.impact.action.Objective/em;|naming.bind|#]
  | 
  | 
[#|2007-12-04T13:20:39.640+0000|INFO|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=17;_ThreadName=Thread-24;impact;|LDR5010:
 All ejb(s) of [impact] loaded successfully!|#]
  | 
  | 
[#|2007-12-04T13:20:39.828+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=Thread-24;/impact;|Initializing
 Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context '/impact'|#]
  | 
  | 

I have the web.xml completed correctly and as I said it works on my home setup 
which I beleive to be identical regards the java development environment.

Thanks for any help I have been stuck with this for two days now.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110193#4110193

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110193
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to