For a couple of reasons we have a project-commons.jar located in the lib directory of our ear.
project.ear project-web.war project-ejb.jar lib project-commons.jar
The issue seems specific to how the components.xml resolves the security:identity tag. Currently if I annotate a class that is placed in project-commons.jar as the
@Name("authenticator") @Scope(ScopeType.APPLICATION)
SEAM does not locate the authenticator component. The error is
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'authenticator' resolved to null
If I place the @authenticator in project-web.war or project-ejb.jar it finds the authenticator and everything works. To be clear project-commons is being 'found' from a classpath perspective (a lot of code in project-web and project-ejb.jar leverage it. This issue seems specific to how the components.xml resolves the security:identity tag.
Hi,
do you have an - empty - seam.properties file in the project-commons.jar ?
Leo