0 Replies Latest reply on Sep 9, 2011 4:07 PM by Luis Rincon

    Target Unreachable, identifier 'authenticator' resolved to null

    Luis Rincon Newbie
      Hi,

      I have a problem in my proyect... when i try loggin me: "Target Unreachable, identifier 'authenticator' resolved to null". I've seen other related forums like http://seamframework.org/Community/ErrorInvokingLoginMethodJavaxelPropertyNotFoundExceptionTargetUnreachableIdentifierAuthenticatorResolvedToNull, but my seam.properties and components.xml are well placed.

      I appreciate a prompt response.

      Error Log

      ...
      14:50:51,136 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      14:50:51,198 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:51,576 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:52,022 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:52,468 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:52,943 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:53,334 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:53,689 WARN  [DTDEntityResolver] unable to locate [http://jboss.com/products/seam/pages-1.2.dtd] on classpath
      14:50:54,243 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
      14:50:54,243 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter
      14:50:54,264 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      14:50:54,266 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
      14:50:54,266 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      14:50:54,283 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      14:50:54,283 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, org.richfaces.SKIN=mySkin, primefaces.skin=none, org.richfaces.CONTROL_SKINNING_CLASSES=disable, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, com.sun.faces.allowTextChildren=true, javax.faces.DEFAULT_SUFFIX=.xhtml}
      14:50:54,283 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      14:50:54,283 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.redirectFilter
      14:50:54,283 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.exceptionFilter
      14:50:54,283 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.multipartFilter
      14:50:54,283 INFO  [SeamFilter] Initializing filter: org.jboss.seam.web.identityFilter
      14:51:15,842 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-excel.jar!/META-INF/seam-excel.taglib.xml
      14:51:15,845 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
      14:51:15,848 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
      14:51:15,850 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-rss.jar!/META-INF/seam-rss.taglib.xml
      14:51:15,865 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
      14:51:15,883 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      14:51:15,888 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      14:51:15,900 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      14:51:15,911 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      14:51:15,916 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      14:51:15,920 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-i.taglib.xml
      14:51:15,939 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/primefaces-1.1.jar!/META-INF/primefaces-p.taglib.xml
      14:51:15,953 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
      14:51:15,957 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/jsp.taglib.xml
      14:51:15,960 ERROR [STDERR] 9/09/2011 02:51:15 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
      14:51:16,008 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
      14:51:16,012 ERROR [STDERR] 9/09/2011 02:51:16 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/E:/Terasoft-Projectos/Servidores/jboss-4.2.3.GA/server/default/deploy/esalud.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
      14:58:06,641 WARN  [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:175)
              at org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:109)
              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:344)
              at org.jboss.seam.security.Identity.authenticate(Identity.java:332)
              at org.jboss.seam.security.Identity.login(Identity.java:259)
              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:335)
              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348)
              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:88)
              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
              at org.primefaces.application.CleanupActionListener.processAction(CleanupActionListener.java:42)
              at javax.faces.component.UICommand.broadcast(UICommand.java:387)
              at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
              at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
              at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
              at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)
              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
              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:45)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
              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:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
              at java.lang.Thread.run(Thread.java:619)

      components.xml


      <components xmlns="http://jboss.com/products/seam/components"
                  xmlns:core="http://jboss.com/products/seam/core"
                  xmlns:persistence="http://jboss.com/products/seam/persistence"
                  xmlns:drools="http://jboss.com/products/seam/drools"
                  xmlns:bpm="http://jboss.com/products/seam/bpm"
                  xmlns:security="http://jboss.com/products/seam/security"
                  xmlns:mail="http://jboss.com/products/seam/mail"
                  xmlns:web="http://jboss.com/products/seam/web"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xmlns:async="http://jboss.com/products/seam/async"
                  xmlns:tx="http://jboss.com/products/seam/transaction"           
                  xsi:schemaLocation=
                      "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd
                       http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd
                       http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd
                       http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd
                       http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd
                       http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd
                       http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd
                       http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd">

         <core:init debug="@debug@" jndi-pattern="@jndiPattern@"/>

         <core:manager concurrent-request-timeout="500"
                       conversation-timeout="120000"
                       conversation-id-parameter="cid"
                       parent-conversation-id-parameter="pid"/>
                      

         <!-- Make sure this URL pattern is the same as that used by the Faces Servlet -->
         <web:hot-deploy-filter url-pattern="*.seam"/>

         <!-- If you are still using JBoss 4, uncomment this to have you PU started -->
      <persistence:entity-manager-factory name="entityManagerFactory"
                            persistence-unit-name="esalud"
                                        installed="@seamBootstrapsPu@"/>

         <persistence:managed-persistence-context name="entityManager" auto-create="true"
                                entity-manager-factory="@seamEmfRef@"
                            persistence-unit-jndi-name="@puJndiName@"/>


         <drools:rule-base name="securityRules">
            <drools:rule-files><value>/security.drl</value></drools:rule-files>
         </drools:rule-base>
             
         <security:rule-based-permission-resolver security-rules="#{securityRules}"/>

         <security:identity authenticate-method="#{authenticator.authenticate}" remember-me="true" />
                                                     
                                                                     
                                                                     
         <event type="org.jboss.seam.security.notLoggedIn">
            <action execute="#{redirect.captureCurrentView}"/>
         </event>
         <event type="org.jboss.seam.security.loginSuccessful">
            <action execute="#{redirect.returnToCapturedView}"/>
         </event>

        <!--   <mail:mail-session host="localhost" port="25"/> -->
              <mail:mail-session host="smtp.gmail.com" port="587" username="esalud.vida@gmail.com" password="esalud.vida123456789"/>

         <!-- For use with jBPM pageflow or process management -->
         <!--
         <bpm:jbpm>
            <bpm:process-definitions></bpm:process-definitions>
            <bpm:pageflow-definitions></bpm:pageflow-definitions>
         </bpm:jbpm>
         -->
         <!-- Install the QuartzDispatcher -->
              <async:quartz-dispatcher/>

      </components>