1 Reply Latest reply on May 13, 2010 1:34 PM by arifolth

    Target Unreachable, identifier 'authenticator' resolved to null : seam does not see components in other maven modules

    arifolth

      Hello all,
      stuck here with a little problem.
      project started from scratch,
      building is performed by maven.
      I have 1 rusulting ear archive which contains war jar and ejb module (as well as jars in lib).


      war is the "main" one containing almost all config files.
      The problem is that seam does not see any components outside of that web module; Btw I have components.xml in each project


      if the Authenticator bean (like the one you are getting from seam gen) located in ejb module I'm getting this error


      WARN  [SeamLoginModule] Error invoking login method
      javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null
      


      in case I put following


      <component auto-create="true" class="ru.front.arifolth.dao.Authenticator" name="authenticator"/>



      into corresponding components.xml instance of this bean  is created but without injected dependencies (entityManager Logger etc).
      If bean is located inside web(war) module, everything is okay...


      WARN  [SeamLoginModule] Error invoking login method
      javax.el.ELException: java.lang.NullPointerException



      any help would be appreciated.




      seam 2.2.0.GA
      as jboss-4.2.3.GA
      jvm 1.5_09





      thanx in advance